Skip to content
Related Articles
Get the best out of our app
Open App

Related Articles

ISRO | ISRO CS 2020 | Question 50

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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

My Personal Notes arrow_drop_up
Last Updated : 04 Sep, 2020
Like Article
Save Article
Similar Reads