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. How many components context-free grammar has?

2
3
4
5

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

Access Stack
Control stack
Formal Stack
Return Stack

3. Final state is represented by?

Square
Circle
Double Circlue
Rhombus

4. In Directed Acyclic Graph, Leaf nodes represent?

identifiers
names 
constants
All of the above

5. If an error occurs, what compiler do?

terminate program
stops execution
reads the whole program even if it encounters errors
give warning

6. The output of an assembler is called?

data file
task file
object file
program file

7. In how many types parsing is divided?

2
3
4
5

8. If an error occurs, what interpreter do?

terminate program
stops execution
reads the whole program even if it encounters errors
give warning

9. Which tool/computer program for generating lexical analyzers (scanners or lexers) written by Vern Paxson in C around 1987?

FLEX 
GLEX
CLEX
SLEX

10. In which mechanism, the calling procedure passes the r-value of actual parameters and the compiler puts that into the called procedure’s activation record?

Pass by Reference
Pass by Name
Pass by Copy-restore
Pass by Value

Results