GATE Compiler Design Full Mock Test SET-1

Questions 31-35 of 100

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

Question 31

MCQ · Single Correct 1 mark

For an SLR(1) parser, when does the parser perform a REDUCE action A -> alpha in state I under lookahead symbol 'a'?

Answers for question 31

Question 32

MCQ · Single Correct 1 mark

What is the relationship between the number of states in SLR(1), LALR(1), and CLR(1) parsers for a given grammar?

Answers for question 32

Question 33

MCQ · Single Correct 1 mark

Which of the following parser types uses YACC / BISON parser generators?

Answers for question 33

Question 34

MCQ · Single Correct 1 mark

In an Operator Precedence parser, what relation is defined between adjacent terminal symbols a and b?

Answers for question 34

Question 35

MCQ · Single Correct 1 mark

What is a Viable Prefix in LR parsing?

Answers for question 35
Scroll to Top