Top 150+ Compiler Design MCQ Questions and Answers - 3
Question: 11
Synthesized attribute can be easily simulated by a
(A) LR grammar
(B) LL grammar
(C) Ambiguous grammar
(D) None of these
Ans: A
LR grammar
Question: 12
The top-down parsing method is also called
(A) Operator precedence parsing
(B) Recursive descent parsing
(C) Shift reduce parsing
(D) None of these
Ans: B
Recursive descent parsing
Question: 13
Which of the following techniques is used to replace run-time computations by compile time computations?
(A) Constant folding
(B) Code hoisting
(C) Pee phole optimization
(D) Invariant computation
Ans: A
Constant folding
Question: 14
The most general phase structured grammar
(A) Context sensitive
(B) Context free
(C) Regular
(D) None of these
Ans: A
Context sensitive
Question: 15
Which of the following class of statement usually produces no executable code when compiled?
(A) Assignment statement
(B) Structural statements
(C) Input and output statements
(D) Declaration
Ans: B
Structural statements
- Top 150+ Compiler Design MCQ Questions and Answers
- Compiler Design Multiple Choice Questions and Answers
- Compiler Design Objective Questions and Answers
- Compiler Design Quiz Questions and Answers
- Compiler Design Questions and Answers for Gate 2020-2021
- Compiler Design Online Test Question Bank with Answers
- Compiler Design Lab Exam Practical Viva Questions and Answers Pdf
- 1000+ Compiler Construction MCQS with Answers Pdf
- 1000+ Compiler Design GATE Questions and Answers Pdf
- 1000+ Compiler Construction Exam Questions and Answers
- 1000+ Compiler Design Interview Questions and Answers Pdf
DC Generator Questions and Answers Pdf More
Electromagnetic Induction Quiz Questions and Answers More
Basic Electronics Quiz Questions with Answers Pdf More
Wireless Communication MCQ Questions with Answers More
Digital Communication Quiz Questions and Answers Pdf More
100+ Cloze Test Practice Questions for Bank Exams More
Letter Series Questions with Answers for Bank Exams More
Top 1,000+ UPSC Gk Questions and Answers More
Top 1000+ Puzzles Aptitude Questions and Answers More
Important Congress Session Quiz for UPSC, SSC, Railway, Banking More