ISRO | ISRO CS 2020 | Question 50

A grammar is defined as

A → BC
B → x⏐Bx
C → B⏐D
D → y⏐Ey
E → z 

The non-terminal alphabet of the grammar is
(A) {A, B, C, D, E}
(B) {B, C D, E}
(C) {A, B, C, D, E, x, y, z}
(D) {x, y, z}


Answer: (A)

Explanation:

Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.