wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

The context free grammar given by
SXYX
XaX|bX|λ
Ybbb
Generates the language which is defined by regular expression:

Open in App
Solution

Option (c)

SXYX
XaX|bX|λ
i.e. (a+b)
Ybbb
S(a+b)(bbb)(a+b)

So, option (c) is correct.

flag
Suggest Corrections
thumbs-up
0
similar_icon
Similar questions
View More
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Construction of CFG Part - 1
OTHER
Watch in App
Join BYJU'S Learning Program
CrossIcon