1.

A symbol X is ________ if there exists : S->* aXb(a) reachable(b) generating(c) context free(d) none of the mentionedThis question was posed to me during an internship interview.My doubt is from Inferences to Trees, Trees to Derivations topic in division Context Free Grammars and Languages of Automata Theory

Answer»

The CORRECT CHOICE is (a) reachable

To elaborate: A symbol X is generating if there exists : X->*W for some w that belongs to T*.

Also, a symbol can never be CONTEXT free.



Discussion

No Comment Found

Related InterviewSolutions