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

Let L(R) be the language represented by regular expression R. Let L(G) be the language generated by a context free grammar G. Let L(M) be the language accepted by a Turing machine M.
Which of the following decision problems are undecidable?
I. Given a regular expression R and a string w,is ωεL(R)?
II. Given a context-free grammar G, is L(G)=ϕ
III. Given a context-free grammar G, is L(G) = for some alphabet ?
IV. Given a Turing machine M and a string ω, is ω εL(M)?

Open in App
Solution

I. Membership of regular language (Decidable)
II. Emptiness of CFL (Decidable)
III. L= problem of CFL (Undecidable)
IV. Membership of RE language (Undecidable)
So, only III and IV are undecidable.
So, correct answer is (d).

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