GATE Compiler Design Full Mock Test SET-1

Questions 26-30 of 100

0% completed (0/100 answered)
Your score 0/100 0 answered
Correct 0 Incorrect 0 Unanswered 100 Accuracy 0%

Question 26

MCQ · Single Correct 1 mark

Which of the following LR parsers is the most powerful (handles the largest class of context-free grammars)?

Answers for question 26

Question 27

MCQ · Single Correct 1 mark

LALR(1) parsing tables are constructed by merging states of a CLR(1) parser that have:

Answers for question 27

Question 28

MCQ · Single Correct 1 mark

Merging states with identical LR(0) cores in a CLR(1) parser to create an LALR(1) parser can NEVER introduce which type of conflict?

Answers for question 28

Question 29

MCQ · Single Correct 1 mark

In bottom-up shift-reduce parsing, a 'Handle' is defined as:

Answers for question 29

Question 30

MCQ · Single Correct 1 mark

Which grammar rule transformation eliminates common prefixes to enable predictive top-down parsing?

Answers for question 30
Scroll to Top