Compilers Design Mcqs
Our collections of Multiple choice questions and answers focuses on all areas of Compilers Design. These topics are chosen from a collection of most authoritative and best reference books on Compilers Design to prepare an individual for competitive exams like NTS, GAT, ECAT, University and College entrance exams and various tests and interviews. One should practice to assimilate Compilers Design Topic comprehensively.
Computer MCQS
Sciences MCQS
2.
Input of Lex is ?
Set to regular expression
Statement
Numeric data
ASCII data
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
3.
Yacc semantic action is a sequence of ?
Tokens
Expression
C statement
Rules
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
4.
Which of the following software tool is parser generator ?
Lex
Yacc
Both a and b
None of these
5.
A Lex compiler generates ?
Lex object code
Transition tables
C Tokens
None of above
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
6.
Analysis which determines the meaning of a statement once its grammatical structure becomes known is termed as
Semantic analysis
Syntax analysis
Regular analysis
General analysis
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
7.
Symbolic names can be associated with
Information
Data or instruction
Operand
Mnemonic operation
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
8.
Storage mapping is done by ?
Loader
Linker
Operating system
Compiler
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
9.
A compiler bridges the semantic gap between …………
PL domain and storage domain
Execution domain and syntax domain
PL domain and execution domain
None of the above
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
10.
The operations perform by compiler to determine the data item designated by the use of name in the source program are
Structural analysis
Scope analysis and name resolution
Syntax analysis
Semantic analysis
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
11.
A compiler is a program that
Places programs into memory and prepares then for execution
Automates the translation of assemble language into machine language
Accepts a program written in a high level language and produces an object program
Appears to execute a resource as if it were machine language
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
12.
Recursive descent parsing is an example of
Top down parsers
Botton up parsers
Predictive parsing
None of these
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
13.
LR stands for
Left to right
Left to right redirection
Right to left
Left to right and rightmost derivation in reverse
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
14.
A compiler that runs on one machine and produces code for a different machine is called
Cross compilation
One pass compilation
Two pass compilation
None of these
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
15.
YACC stands for
Yet accept compiler constructs
Yet accept compiler compiler
Yet another compiler constructs
Yet another compiler compiler
Answer & Solution
No Solution for this Answer..! Report or Discus this Question