Which of the following statements are true about parsing in Compiler design?…
2025
Which of the following statements are true about parsing in Compiler design?
i. A parser converts tokens generated by the lexical analyser into a parse tree.
ii. A top-down parser can handle left-recursive grammars without any modifications.
iii. A shift-reduce parser can make decisions based on the current input symbol and the top of the stack.
iv. LL(1) parsing is a type of bottom-up parsing technique.
Choose the correct answer from the option given below.
Answer: B. Only i, iii
- A.
Only i, ii
- B.
Only i, iii
- C.
Only ii, iv
- D.
Only i, iii, iv
Attempted by 164 students.
Show answer & explanation
Correct answer: B
Explore the full course: Mppsc Assistant Professor Computer Science Paper 2
Loading lesson…