1,750 views
0 0 votes
S --> 0S1

S -->0S

S-->S1

S-->0

THE LANGUAGE GENERATED BY THIS GRAMMAR IS_____?

A. regular language

B. Context free language

C. Context sensitive language

D. Recursively enumerable language

1 Answer

0 0 votes
The grammar generates ..

(0^+ ) + (0^+ 1^+ ) ..

Which is regular ..so language generated by given grammar is all of the given options...

But strongly speaking it is regular...
Position:
Show:

Related questions

3 3 votes
0 0 answers
713
713 views
sh!va asked Aug 9, 2016
713 views
Hindi words changes according to nearby words.eg: कौआ changes to कौए, in the context of को.What is the level of grammar which can successfully represent Hindi?a) Conte...
6 6 votes
4 answers 4 answers
5.1k
5.1k views
pC asked Nov 20, 2015
5,067 views
The Grammar E$\rightarrow$ EE | a isLR(1)SLR(1)LR(0)None
2 2 votes
1 1 answer
1.7k
1.7k views
ram121 asked Feb 2, 2015
1,712 views
$S \rightarrow C C \\ C \rightarrow c C | d$
1 1 vote
1 answers 1 answer
1.3k
1.3k views
Sahil1994 asked Dec 7, 2017
1,321 views
Hi mates,Please Identify Class of grammr with suitable Explanation,1) L={WXW,/ W,X{a,b}*}2) L={WXW,/ W,X{a,b}+}3) L={WXWY,/ W,X,Y{a,b}+}4)L={WXYW,/ W,X,Y{a,b}+}Thanks,