GATE Compiler Design Full Mock Test SET-1

Questions 21-25 of 100

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

Question 21

MCQ · Single Correct 1 mark

An LL(1) parser is a:

Answers for question 21

Question 22

MCQ · Single Correct 1 mark

A Context-Free Grammar G is LL(1) if, for each pair of distinct alternatives A -> $\alpha$ and A -> $\beta$, which condition is required?

Answers for question 22

Question 23

MCQ · Single Correct 1 mark

Which class of context-free grammars cannot be parsed by ANY top-down predictive parser (including LL(1))?

Answers for question 23

Question 24

MCQ · Single Correct 1 mark

What parsing conflict occurs in an LR(0) item set containing both A -> alpha . a beta and B -> gamma .?

Answers for question 24

Question 25

MCQ · Single Correct 1 mark

What parsing conflict occurs in an LR(0) item set containing both A -> alpha . and B -> beta .?

Answers for question 25
Scroll to Top