Explore topic-wise MCQs in Compilers.

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

1.

An NFA s transition function returns ________

A. A Boolean value
B. A state
C. A set of states
D. An edge
Answer» D. An edge
2.

NFAs are ________ DFAs.

A. Larger than
B. More expressive than
C. Less expressive than
D. Equally expressive as
Answer» B. More expressive than
3.

The Tuples for NDFA is ___________

A. , Q, q0, F,
B. Q, q0, F,
C. , Q, q0, F,
D. F, Q, , q0,
Answer» B. Q, q0, F,
4.

The regular languages are not closed under ___________

A. Concatenation
B. Union
C. Kleene star
D. Complement
Answer» E.