Consider the grammar with productions S → aSb | SS | ϵThis grammar is

ISRO Scientist/Engineer SC · December 2017 · Computer ScienceModified — slightly modified from the official paper; see the solution

Consider the grammar with productions

S → aSb | SS | ϵ

This grammar is

  1. A.

    not context-free, not linear

  2. B.

    not context-free, linear

  3. C.

    context-free, not linear

  4. D.

    context free, linear

Attempted by 245 students.

Sign up free to check your answer

Sign up free

Explore the full course: Theory Of Computation

Loading lesson…