Q2. Find a production of the form "A → , such that S → 0A, A → "produces (00) Q3. Let G be the phrase-structure grammar with vocabulary V (A,B, a, b, S], terminal element set T-(a, b), start...
Q2. Find a production of the form "A → , such that S → 0A, A → "produces (00) Q3. Let G be the phrase-structure grammar with vocabulary V (A,B, a, b, S], terminal element set T-(a, b), start symbol S, and production set P-(S → ABa, S → Ba, A → aB, AB → b, B → ab). Which of these are derivable from ABa? (1) ba, (2) abb, (3) aba, (4) b, (5) aababa
Q2. Find a production of the form "A → , such that S → 0A, A → "produces (00) Q3. Let G be the phrase-structure grammar with vocabulary V (A,B, a, b, S], terminal element set T-(a, b), start symbol S, and production set P-(S → ABa, S → Ba, A → aB, AB → b, B → ab). Which of these are derivable from ABa? (1) ba, (2) abb, (3) aba, (4) b, (5) aababa