...
ISRO CS-2023
August 29, 2024
ISRO CS-2023
August 29, 2024
ISRO CS-2023
August 29, 2024
ISRO CS-2023
August 29, 2024

ISRO CS-2023

Question 77
Consider the context-free grammar G below. Here S is the starting non-terminal symbol, while a and b are terminal symbols.
S —>aaSb|T
T->Tb|a
Which of the following statements is true about the language L(G) generated by G?
A
aabbaabb belongs to L(G) but aabb does not

B
aaaaabbb belongs to L(G) but aaaabb does not
C
aaaabb belongs to L(G) but aabbaabb does not
D
aaabb belongs to L G) but aaaaabbb not
Correct Answer: B
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!!