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

Consider an ambiguous grammar G and its disambiguated version D.Let the language recognized by the two grammars be denoted by L(G) and L(D) respectively.Which one of the following is true?

A
L(D) is empty
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
L(D) = L(G)
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
L(D) L(G)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
L(D) L(G)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B L(D) = L(G)
Grammar may change but language remain the same in the grammar and its disambiguated version.
L(D) =L(G)

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Closure Properties of CFL Part - 2
OTHER
Watch in App
Join BYJU'S Learning Program
CrossIcon