1000+ Compiler Design GATE Questions and Answers Pdf - 1
Question: 1
Compiler is a program that
(A) accepts a program written in a high level language and produces an object program
(B) appears to execute a source program as if is were machine language
(C) automates the translation of assembly language into machine language
(D) places programs into memory and prepares them for execution
Ans: A
accepts a program written in a high level language and produces an object program
Question: 2
Cross compiler is a compiler, which
(A) runs on one machine and produces object code for another machine
(B) is written in a language that is different from the source language
(C) is written in a language that is the same as the source language
(D) generates object code for its host machine
Ans: A
runs on one machine and produces object code for another machine
Question: 3
The output of lexical analyser is
(A) strings of characters
(B) set of tokens
(C) syntax tree
(D) a set of regular expression
Ans: B
set of tokens
Question: 4
A top down parser generates
(A) left most derivation in reverse
(B) left most derivation
(C) right most derivation in reverse
(D) right most derivation
Ans: B
left most derivation
Question: 5
A bottom up parser generates
(A) left most derivation in reverse
(B) right most derivation
(C) right most derivation in reverse
(D) left most derivation
Ans: C
right most derivation in reverse
- 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
100+ Taglines of Public/Private Sector Banks in India 202-21 More
SAT Sentence Completion Questions & Answers for Competitive Exams More
Comprehension Passage Worksheet for Grade 5,6,7,8,9,10,11,12 More
Computer Quiz for School Students More
100+ IBPS Clerk Previous Year Question Papers with Answers More