Question 66
Which language is generated by S -> aSb | $\epsilon$?
Each recursive step adds one a and one b; $\epsilon gives$$n=0$.
Which language is generated by S -> aSb | $\epsilon$?
Each recursive step adds one a and one b; $\epsilon gives$$n=0$.
In Greibach Normal Form, a production has which general form?
GNF productions begin with exactly one terminal followed by zero or more nonterminals.
Which normal form requires productions of the form A -> BC or A -> a, with the usual special exception S -> $\epsilon$ when $\epsilon$ is in the language?
CNF uses A -> BC and A -> a, with a possible start-symbol $\epsilon rule under$ the standard convention.
Which statement about the CFL pumping lemma is false?
The lemma asserts existence of a suitable decomposition, not that every decomposition works.
Which language is not context-free?
Equal counts of three separated symbols cannot be enforced by a single stack; this language is not CFL.