Computer Science EngineeringHard

In Greibach normal form every production has the form A -> a alpha, where alpha is

  1. A. a string of terminals
  2. B. any string of symbols
  3. C. a string of non-terminals (possibly empty)
  4. D. a single terminal

Correct answer: C. a string of non-terminals (possibly empty)

Each right-hand side starts with exactly one terminal followed only by non-terminals.

More Theory of Computation, Compilers & Digital Logic (ISRO CS) questions

Exams that ask this topic