Consider the grammar S → AbBaCc | ε A → aAb | ba B → BBC | cb C → cCa | ac…

PYQ Coal India Management Trainee CBT 2019

Consider the grammar

S → AbBaCc | ε
A → aAb | ba
B → BBC | cb
C → cCa | ac

Find the First () of S.

  1. A.

    {a, b, ε}

  2. B.

    {ε}

  3. C.

    {a, ε}

  4. D.

    {a, b, c, ε}

Attempted by 559 students.

Sign up free to check your answer

Sign up free

Explore the full course: Coal India Management Trainee

Loading lesson…