1 votes 1 votes A grammar is defined as $A \rightarrow BC$ $B \rightarrow x \mid Bx$ $C \rightarrow B \mid D$ $D \rightarrow y \mid Ey$ $E \rightarrow z$ The non terminal alphabet of the grammar is $\{A,B,C,D,E\}$ $\{B,C,D,E\}$ $\{A,B,C,D,E,x,y,z\}$ $\{x,y,z\}$ Compiler Design isro-2020 compiler-design grammar parsing easy + – Satbir asked Jan 13, 2020 edited Jan 24 by makhdoom ghaya Satbir 2.3k views answer comment Share Follow See 1 comment See all 1 1 comment reply HiteshVaish commented Jul 7, 2020 reply Follow Share Option A is correct 0 votes 0 votes Please log in or register to add a comment.
6 votes 6 votes Set of all non terminal symbols are those from which all the strings in the language can be derived by applying production rules. Here all non terminals present on left hand side of production. Option A) is correct Ashwani Kumar 2 answered Jan 13, 2020 Ashwani Kumar 2 comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes $\underline{\textbf{Answer:}\Rightarrow}\;\mathbf{a.}$ $\underline{\textbf{Explanation:}\Rightarrow}$ All the capital letters will be the non-terminals. `JEET answered Jan 13, 2020 `JEET comment Share Follow See 1 comment See all 1 1 comment reply JashanArora commented Feb 22, 2020 reply Follow Share I think it's a convention, and not a rule. Non-termianls, or variables are the set of LHSs of the productions of a grammar. (Even if the LHSs are represented by small letters, which is uncommon, but certainly possible.) 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes option A) is correct {A,B,C,D,E} are non-terminals and {x,y,z} are terminals. Sanandan answered Sep 14, 2020 Sanandan comment Share Follow See all 0 reply Please log in or register to add a comment.