Professional KnowledgeHardIBPS SO IT
Regular expression (a+b)*abb corresponds to a DFA over {a,b} with the minimum number of states equal to:
- A. 3
- B. 5
- C. 4
- D. 2
Correct answer: C. 4
Strings ending in abb need 4 states.
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 these is a context-free but not a regular language?
- 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: