BPSC TRE – Compiler Design: Syntax Analysis & Parsing | Test 1

Questions 31-35 of 50

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

Question 31

MCQ · Single Correct 1 mark

An 'Operator Grammar' in compiler design is a Context-Free Grammar with which restriction?

Answers for question 31

Question 32

MCQ · Single Correct 1 mark

In an Operator Precedence parser, which precedence relations can exist between two terminal symbols a and b?

Answers for question 32

Question 33

MCQ · Single Correct 1 mark

In bottom-up parsing, what is a 'Handle'?

Answers for question 33

Question 34

MCQ · Single Correct 1 mark

The systematic process of discovering a handle in a sentential form and replacing it with its corresponding non-terminal head is called:

Answers for question 34

Question 35

MCQ · Single Correct 1 mark

How do SLR(1) and LALR(1) parser tables compare with respect to the total number of states generated for a grammar G?

Answers for question 35
Scroll to Top