aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Computer Science (GATE Exam) 2010 - Previous Question Paper Solution
  • The grammar S $\rightarrow$ aSa|bS|c is
Multiple choice

The grammar S $\rightarrow$ aSa|bS|c is

  1. LL(1) but not LR(1)

  2. LR(1) but not LR(1)

  3. Both LL(1) and LR(1)

  4. Neither LL(1) nor LR(1)

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Keep practicing — related questions

  • The grammar $S \rightarrow SA|A$ $A \rightarrow a$
  • Consider the grammar shown below. S $\rightarrow$ C C C $\rightarrow$ c C | d This grammar is
  • Consider the grammar shown below. S $\rightarrow$ C C C $\rightarrow$ c C | d This grammar is
  • Consider the grammar shown below. S $\rightarrow$ C C C $\rightarrow$ c C | d This grammar is
  • Consider the grammar with non-terminals N = { S, C, S1), terminals T = {a, b, i, t, e}, with S as the start...
  • Consider the grammar with non-terminals N = { S, C, S1), terminals T = {a, b, i, t, e}, with S as the start...
  • Consider the following grammar: S$\rightarrow$SS S$\rightarrow$0 S$\rightarrow$$\epsilon$ Which of the foll...
  • The grammar E $\rightarrow$E + E |E*E|(E)| id is
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy