A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. Consider the following statements related to compiler construction:

I. Lexical Analysis is specified by context-free grammars and implemented by pushdown automata.
II. Syntax Analysis is specified by regular expressions and implemented by finite-state machine.

Which of the above statement(s) is/are correct?
a. Only l
b. Only ll
c. Both I and II
d. Neither I nor II
Answer:Neither I nor II
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here