CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Which of the following decision problems are undescidable?

I. Given NFAs N1 and N2, is L(N1)L(N2)=ϕ

II. Given a CFG G = (N, , P, S) and a string xϵ, does xϵL(G)?

III. Given CFGs G1andG2, is L(G1)=L(G2) ?

IV. Given a TM M, is L(M)=ϕ ?


A
I and IV only
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
II and III only
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
III and IV only
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
II and IV only
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C III and IV only
I. Disjointedness problem of regular = Decidable

II. Membership of CFL's = Decidable

III. Equivalence of CFL's = Undecidable

IV. Emptiness of RE language's = undecidable

So, III and IV only is correct answer.

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