Computer Science · Theory of Computation
Arrange the following parsers in increasing order of their power to handle grammars (i.e., from the least powerful parser to the most powerful parser): A. LR(0) B. LR(1) C. LALR(1) D. LL(1) E. SLR(1) Choose the correct answer from the options given below:
- 1LR(0) → LL(1) → SLR(1) → LR(1) → LALR(1)
- 2LR(0) → LL(1) → SLR(1) → LALR(1) → LR(1)✓
- 3SLR(1) → LR(0) → LL(1) → LR(1) → LALR(1)
- 4LL(1) → LR(0) → SLR(1) → LR(1) → LALR(1)
Correct answer
LR(0) → LL(1) → SLR(1) → LALR(1) → LR(1)
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length Computer Science mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Theory of Computation?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Theory of Computation