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. Semantic analyzer attaches attribute information with AST, which are called?

Analyzer attribute
Attributed AST
Analyzer AST
AST

2. How many types of parsing are there?

2
3
4
5

3. Code generator uses ______ function to determine the status of available registers and the location of name values.

setReg
cinReg
pfReg
getReg

4. What is meant by compositional semantics?

Determining the meaning
Logical connectives
Semantics
All of the above

5. In which mechanism, the name of the procedure being called is replaced by its actual body?

Pass by Reference
Pass by Name
Pass by Copy-restore
Pass by Object

6. In Algebraic expression simplification, a = a + 1 can simply be replaced by?

a
INC a
DEC a
MUL a

7. we write programs in?

Low-Level Language
Middle-Level Language
High-Level Language
Decimal-Format

8. Compute E.value for the root of the parse tree for the expression:2 # 3 & 5 # 6 &4.

40
80
120
160

9. The grammar defined by regular expressions is known as?

regular language
regular grammar
regular notations
regular operation

10. _________ of FA are represented by circles

States
Start state
Intermediate states
Transition

Results