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.

WHICH_OF_THE_FOLLOWING_IS_NOT_REGULAR??$

A. String whose length is perfect square and consists of 0s
B. Palindromes consisting of 0’s and 1’s
C. All of the mentioned
D. None of the mentioned
Answer» D. None of the mentioned
2.

Which_of_the_following_pairs_of_regular_expression_are_equivalent?$

A. 1(01)* and (10)*1
B. X(xx)* and (xx)*x
C. All of the mentioned
D. None of the mentioned
Answer» D. None of the mentioned
3.

The reorganizing capability of NDFA and DF?

A. May be different
B. Must be different
C. Must be same
D. None of the mentioned
Answer» D. None of the mentioned
4.

How many minimum states are required to find whether a string has odd number of 0’s or not$

A. 1
B. 2
C. 3
D. 4
Answer» C. 3