Computer Science EngineeringEasy
Which computational model recognizes exactly the class of regular languages?
- A. Finite automaton
- B. Pushdown automaton
- C. Turing machine
- D. Linear bounded automaton
Correct answer: A. Finite automaton
Deterministic and nondeterministic finite automata accept exactly the regular languages.
Practise more Theory of Computation, Compilers & Digital Logic (ISRO CS) questionsTheory of Computation, Compilers & Digital Logic (ISRO CS): notes and key points
More Theory of Computation, Compilers & Digital Logic (ISRO CS) questions
- Which compiler phase reads the character stream and groups it into tokens?
- How many states are in the minimal DFA over {a, b} that accepts exactly the strings ending in 'ab'?
- The regular expression (a+b) over the alphabet {a, b} denotes
- Context-free grammars correspond to which type in the Chomsky hierarchy?
- Which of the following languages over {a, b} is NOT regular?
- An NFA has 5 states. By subset construction, the equivalent DFA needs at most how many states?