Multiple choice

In which grammars, productions permit arbitrary substitution of string during derivation or reduction, hence they are not relevant to specification of programming languages?

  1. Type-1 grammars

  2. Type-0 grammars

  3. Type-2 grammars

  4. Left regular grammars

  5. Right regular grammars

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Their productions permit arbitrary substitution of string during derivation or reduction, hence they are not relevant to specification of programming languages.