2,233 views
0 votes
0 votes
A grammar will be meaningless of the
(a) terminal set and non-terminal set are not disjoint
(b) left hand side of a productions is a single terminal
(c) left hand side of a production has no non-terminal
(d) all of the above

1 Answer

0 votes
0 votes

A meaningful grammar should satisfies following properties :- 

    1) Terminal set and Non-Terminal sets are disjoints

    2) LHS of the production should have atleast one non-terminal but no restriction on RHS of production

 

therefore OPTION : D is right answer for your question

Related questions

0 votes
0 votes
0 answers
2
Shivshankar asked Dec 8, 2018
523 views
Which of the following problem is undecidable?A) membership problem for CFLB) membership problem for regular languageC)membership problem for cslD)membership problem for ...
1 votes
1 votes
1 answer
3
Na462 asked Sep 2, 2018
664 views
0 votes
0 votes
1 answer
4
mrinmoyh asked Feb 1, 2018
615 views
Can I give any grammer for the language L = { anbncn / n>=1} Like this