Find the LR(1) table size for the following grammar. S → A | ab A → cAb | B B…

Find the LR(1) table size for the following grammar.
S → A | ab A → cAb | B B → a
Assume m x n is table size where m represent number of sets or states of DFA and n represents number of columns of the table.

  1. A.

    10 x 7

  2. B.

    14 x 7

  3. C.

    12 x 7

  4. D.

    13 x 7

Attempted by 38 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…