Open In App

ISRO | ISRO CS 2020 | Question 50

Like Article
Like
Save
Share
Report

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


Last Updated : 04 Sep, 2020
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads