1.

In lexical analysis of a compiler______ is used.(a) DFA(b) NDFA(c) NFA(d) Turing machineThe question was asked in an interview.I need to ask this question from Modeling Computations topic in chapter Boolean Algebra and Modeling Computations of Discrete Mathematics

Answer»

Correct ANSWER is (a) DFA

Easiest explanation: A Deterministic Finite automaton SYSTEM is USED in the lexical ANALYSIS of the compiler.



Discussion

No Comment Found

Related InterviewSolutions