BPSC TRE – Compiler Design | Full-Length Test-1

Questions 41-45 of 100

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

Question 41

MCQ · Single Correct 1 mark

What is 'Left Factoring' used for in syntax analyzer design?

Answers for question 41

Question 42

MCQ · Single Correct 1 mark

What is the computational complexity of parsing arbitrary context-free grammars using general algorithms like Earley's algorithm or CYK algorithm?

Answers for question 42

Question 43

MCQ · Single Correct 1 mark

In SLR(1) parsing table construction, when is a Reduce action A -> alpha placed in the ACTION table for state $I_{i}$?

Answers for question 43

Question 44

MCQ · Single Correct 1 mark

Which statement correctly describes the relationship between grammar hierarchy parser inclusion sets?

Answers for question 44

Question 45

MCQ · Single Correct 1 mark

Which of the following grammar transformations changes the language defined by the Context-Free Grammar?

Answers for question 45
Scroll to Top