Compiler Design Objective Questions and Answers - 1
Question: 1
Loader is a program that
(A) Places programs into memory and prepares them for execution
(B) Automates the translation of assembly language into machine language
(C) Accepts a program written in a high level language and produces an object program
(D) Appears to execute a source program as if it were machine language
Ans: A
Places programs into memory and prepares them for execution
Question: 2
Interpreter is preferred over a compiler is
(A) During program development phase
(B) When storage space is to be minimized
(C) When efficient use of computer resources is the consideration
(D) All of these
Ans: A
During program development phase
Question: 3
Which of the following is used for grouping of characters into tokens?
(A) Scanner
(B) Code generator
(C) Code optimizer
(D) Parser
Ans: A
Scanner
Question: 4
Type checking is normally done during
(A) Code optimization
(B) Syntax directed translation
(C) Lexical analysis
(D) Syntax analysis
Ans: B
Syntax directed translation
Question: 5
Back- patching is useful for handling
(A) Forward references
(B) Backward references
(C) Conditional jumps
(D) Unconditional jumps
Ans: A
Forward references
- 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
Angular Developer Interview Questions and Answers More
Kubernetes MCQ Questions and Answers Pdf More
Advanced HTML MCQ Quiz Questions Pdf More
Docker MCQ Questions and Answers Pdf More
OneStream MCQ Questions and Answers Pdf More
MS Windows MCQ Questions and Answers More
1000+ Electrical Materials MCQ Questions and Answers Pdf More
Top 500+ PG TRB History Model Question Paper More
7000+ Latest General knowledge Questions and Answers 2024 in English More
History Online Test More