Open In App

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: Nonterminal symbols are those symbols which can be replaced. They may also be called simply syntactic variables. A formal grammar includes a start symbol.

So, option (A) is correct.
Quiz of this Question

Article Tags :