Professional KnowledgeHardIBPS SO IT
Which of these is a context-free but not a regular language?
- A. Strings with an even number of 0s
- B. Balanced parentheses
- C. a*b*
- D. All binary strings
Correct answer: B. Balanced parentheses
Balanced parentheses need unbounded memory.
Practise more IT Officer Professional Knowledge (IBPS SO) questionsIT Officer Professional Knowledge (IBPS SO): notes and key points
More IT Officer Professional Knowledge (IBPS SO) questions
- Which of the following about C++ virtual functions is correct?
- In the V-model, unit testing corresponds to which development phase?
- Cyclomatic complexity of a function with 4 decision points (if/while) is:
- Which coupling is the most desirable between modules?
- For a program, 100% branch coverage guarantees:
- The Agile principle that best matches Scrum's sprint review is: