1000+ Compiler Construction MCQS with Answers Pdf - 1
Question: 1
Type checking is normally done during
(A) Code optimization
(B) Syntax directed translation
(C) Syntax analysis
(D) Lexical analysis
Ans: B
Syntax directed translation
Question: 2
A grammar is said to be ambiguous if
(A) Two or more productions have the same non terminal on the left hand side
(B) Brackets are not present in the grammar
(C) A derivation tree has more than one associated sentence
(D) There is a sentence with more than one derivation tree corresponding to it
Ans: D
There is a sentence with more than one derivation tree corresponding to it
Question: 3
Pee hole optimization is a form of
(A) Data flow analysis
(B) Constant folding
(C) Local optimization
(D) Loop optimization
Ans: B
Constant folding
Question: 4
In a resident – OS computer, which of the following systems must reside in the main memory under all situations?
(A) Assembler
(B) Linker
(C) Compiler
(D) Loader
Ans: D
Loader
Question: 5
Which of the following is used for grouping of characters into tokens?
(A) Scanner
(B) Code generator
(C) Code optimization
(D) Parser
Ans: A
Scanner
- 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
Electromagnetic Induction Questions & Answers Pdf More
A.C. Basics and Networks Quiz Questions & Answers Pdf More
Signals and Systems Quiz Questions and Answers Pdf More
Signals and Systems MCQ Questions and Answers Pdf More
Electrical Power Sources Quiz Questions & Answers Pdf More
IT Quiz Questions and Answers 2020-2021 More
Top 1000+ Puzzle Quiz Questions with Answers More
Critical Reasoning Questions and Answers for Bank Exam Pdf More
TNPSC Group 1, 2, 2a, 4, VAO Important Questions & Answers 2020-21 More
100+ Most Popular Cities in the World More