Explore topic-wise MCQs in Compilers.

This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your Compilers knowledge and support exam preparation. Choose a topic below to get started.

1.

A Compiler has __________ phases.

A. 7
B. 6
C. 8
D. None of the mentioned
Answer» D. None of the mentioned
2.

A Lex compiler generates ___________

A. Lex object code
B. Transition tables
C. Tokens
D. None of the mentioned
Answer» C. Tokens
3.

Yacc semantic action is a sequence of ___________

A. Tokens
B. Expression
C. Statement
D. Rules
Answer» D. Rules
4.

What is the input of Lex?

A. Set to regular expression
B. Statement
C. Numeric data
D. ASCII data
Answer» B. Statement
5.

Daisy chain is a device for ___________

A. None of the mentioned
B. Connecting devices to a controller
C. Connecting controller to devices
D. All of the mentioned
Answer» C. Connecting controller to devices
6.

Non modifiable procedures are called ___________

A. Concurrent procedures
B. Serially usable procedures
C. Re-entrant procedures
D. Top down procedures
Answer» C. Re-entrant procedures