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
Latest Computer Questions for Competitive Exams 2027-2028 More
CUET Online Mock Test 2027-2028 More
Computer Quiz Online 2026-2027 More
CBT Exam Sample Questions with Answers Pdf More
Computer GK Questions 2027-2028 Pdf More
SBI Clerk Mains Puzzle 2025-2026 Pdf with Answers More
100+ Data Interpretation Bar Graph Questions and Answers More
1000+ Maths Riddles with Answers Pdf More
1000+ Automobile Engineering MCQ Questions and Answers More
Multimedia Interview Questions and Answers More