Consider the following grammar S → aAb | aBc | bAd | bBe A→ n B→ n Assume K…

Consider the following grammar 

S → aAb | aBc | bAd | bBe
A→ n
B→ n

Assume K represents the number of rows in LL(1) table in L in SLR(1) and M in LR(1) respectively. Which of the following is correct relation for the above grammar

  1. A.

    K = L = M

  2. B.

    K < L  < M

  3. C.

    K < L = M

  4. D.

    K = L < M 

Attempted by 113 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…