Compiler Design Quiz


Play this quiz that will help you to excel in Compiler Design certification exams, placements etc. This Compiler Design quiz consist of 10 questions that you need to solve in 10 minutes. We’ve specially designed this quiz so that you can quickly acquaint to the pattern of questions you can be asked in placement drives, certification exams etc. This test enables you to assess your knowledge of Compiler Design.

Take the Free Practice Test



Compiler Design MCQs

Practice Compiler Design MCQ Questions, which will help you to understand compiler related concepts and also helps you to prepare for placements, technical rounds, interviews, competitive exams etc.

Compiler Design Quiz

Try Free Compiler Design Quiz, to start a quiz you need to login first, after login you will get start quiz button and then by clicking on that you can start quiz. You will get 10 Minutes to answer all questions.

Compiler Design Quiz

1. Whenever a procedure is executed, its activation record is stored on the stack, also known as?

Access Stack
Control stack
Formal Stack
Return Stack

2. Which of the following is a graphical depiction of a derivation?

Derivation Tree
Analyzers Tree
Parse Tree
Ambiguity Tree

3. A set of tokens, known as?

non-terminals
terminal symbols
productions 
start symbol

4. Which of the following error is expected to recognize by semantic analyzer?

Type mismatch
Undeclared variable
Reserved identifier misuse.
All of the above

5. When the parser starts constructing the parse tree from the start symbol and then tries to transform the start symbol to the input, it is called?

bottom-up parsing
top-down parsing
Both A and B
None of the above

6. In finite automata, Q stands for?

Finite set of input symbols
Transition function
Finite set of states
One Start state

7. _________ of FA are represented by circles

States
Start state
Intermediate states
Transition

8. Which of the following tasks should be performed in semantic analysis?

Scope resolution
Type checking
Array-bound checking
All of the above

9. Which attributes get values from the attribute values of their child nodes?

Synthesized attributes
Inherited attributes
S-attributed SDT
L-attributed SDT

10. What is meant by compositional semantics?

Determining the meaning
Logical connectives
Semantics
All of the above

Results