Compiler Construction MCQ :Syntax Analysis(Parser)-LR parser, YACC : Link7

Compiler Construction MCQ :Syntax Analysis(Parser)-LR parser, YACC : Link7

Compiler Construction MCQ & Answers

       Are you worried about the answers to Compiler Construction questions :Syntax Analysis(Parser)-LR parser, YACC? We have arranged the Show Answer button under the each question. Candidates can click on it to know the right option among the given alternatives. Furthermore, the applicants can check our web portal @ www.totalmcq.com to take part in more MCQ on various subject. Wish, the given information about the Compiler Construction MCQ will helpful to the advance and can learn the various types of questions and answers.


Q.1. YACC stand for-----------

A. es Another Compiler Compiler
B. Yet Another Compile Compiler
C. Yet Another Compiler Compiler
D. Yes Another Compile Compiler

Q.2. The YACC takes C code as input and outputs----------

A. Top down parsers
B. Bottom up parsers
C. Machine code
D. None of the above.

Q.3. Which of the following software tool is parser generator ?

A. Lex                                                         B. Yacc
C. Both A and B                                        D. None of the above

Q.4. The output of YACC---------

A. y.tab.c                                                   B. lex.yy.c
C. yacc.c                                                   D. None of the above.

Q.5.The output of LEX-----

A. y.tab.c                                                   B. lex.yy.c
C. lex.c                                                      D. None of the above.

Q.6. Findout the incorrect statement from the following statements.

A. YACC is parser generator.
B. Every SLR(1) grammar is unambiguous.
C. LL(1) language cannot have left-recursive production
D. Number of states of SLR parsing are more than that of LR parsing.