Which one from the following is false?
2015
Which one from the following is false?
Answer: B. A parsing algorithm which performs a left to right scanning and a rightmost derivation is RL(1) — LR(1) denotes bottom-up parsing with left-to-right input and rightmost derivation. RL(1) is not standard terminology; the correct acronym is LR(1). Options A,…
- A.
LALR parser is Bottom-Up parser
- B.
A parsing algorithm which performs a left to right scanning and a rightmost derivation is RL(1)
- C.
LR parser is Bottom-Up parser
- D.
In LL(1), the 1 indicates that there is a one-symbol look-ahead
Attempted by 164 students.
Show answer & explanation
Correct answer: B
LR(1) denotes bottom-up parsing with left-to-right input and rightmost derivation. RL(1) is not standard terminology; the correct acronym is LR(1). Options A, C, and D accurately describe parser types. Thus, Option B is the false statement regarding parsing methods.
A video solution is available for this question — log in and enroll to watch it.
Explore the full course: Mppsc Assistant Professor Computer Science Paper 2