...
Question 7682 – UGC-NET DEC-2019 Part-2
November 27, 2023
Question 7687 – UGC-NET DEC-2019 Part-2
November 27, 2023
Question 7682 – UGC-NET DEC-2019 Part-2
November 27, 2023
Question 7687 – UGC-NET DEC-2019 Part-2
November 27, 2023

Question 7684 – UGC-NET DEC-2019 Part-2

Consider the following grammar :
S→0A|0BB
A→00A| λ
B→1B|11C
C→B

Which language does this grammar generate?

Correct Answer: C

Question 21 Explanation: 
Option 1 is incorrect because every string generated by given grammar will contain only 0’s and given option is generating string containing 1’s also.
Option 2 is incorrect because it can’t generate “000”.
Option 3 is correct because it generates string same as given grammar do.
Option 4 is incorrect because every string generated by given grammar will contain only 0’s and given option is generating string containing 1’s also.
A
L(00) * 0+(11)*1)
B
L(0(11)* + 1(00)*)
C
L((00)*0)
D
L(0(11) *1)
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!