Back to the 2020 paper

Module 1: Introduction, Regular languages and finite automata

20202m

The lexical analysis for a modern language such as Java needs the power of which one of the following machine models in a necessary and sufficient sense?

(i) Finite state automata
(ii) Deterministic pushdown automata
(iii) Non-deterministic pushdown automata
(iv) Turing machine

Similar questions