Compiler Design Questions and Answers for Gate 2020-2021 - 2
Question: 6
What is a compiler?
(A) A compiler is calculating device which is providing very efficient execution
(B) A compiler is a general purpose language providing very efficient execution
(C) A compiler converts the whole of a higher level program code into machine code in one step
(D) A compiler does a conversion line by line as the program is run
Ans: C
A compiler converts the whole of a higher level program code into machine code in one step
Question: 7
Only OS independent compiler is
(A) Java compiler
(B) Visual basic compiler
(C) Pascal compiler
(D) Turbo C compiler
Ans: A
Java compiler
Question: 8
The phase ‘Semantic Analysis’ is responsible for ____ in Compiler.
(A) Check semantics
(B) Static checking
(C) Type checking
(D) All of these
Ans: D
All of these
Question: 9
The errors that can be pointed out by the compiler are known as
(A) Internal errors
(B) Logical errors
(C) Semantic errors
(D) Syntax errors
Ans: D
Syntax errors
Question: 10
What do you call the translator which takes assembly language program as input & produce machine language code as output?
(A) Assembler
(B) Compiler
(C) Debugger
(D) Interpreter
Ans: A
Assembler
- 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
Engineering Materials Science MCQ Questions & Answers More
Material Science MCQ Questions Pdf Download More
Dairy Technology MCQ Questions and Answers More
Agricultural Engineering MCQ Questions & Answers Pdf More
Surveying and Levelling Agricultural Engineering MCQ Questions More
1000+ Alternator MCQ Questions and Answers Pdf More
C++ Programs Asked in Interview for Freshers More
7000+ Induction Machine MCQ Questions and Answers Pdf More
100+ Situation Reaction Test Verbal Reasoning Questions Answers More
Important Days and Years 2022 More