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

Consider the following problems on decidability:1 . Given a CFG G and a string ω *. does ω belongs to L(G)?2. Given a Tuning Machine T, a string ω * and an integer K, does T accept ω within k steps ?3. Given a Tuning Machine T, a string ω * and a state q Q (set of state of the Tuning Machine). does the computation of T on ω visit the state q? The total number of deidable problems are ______.

Open in App
Solution

1 is the membership problem for CFLs, for which we have the CYK algorithm, Thereforedecidable.2 is decidable because we can simulate the Tuning Machine T on ω for k steps and check whether T comes to a halt or not. Therefore 2 is decidable.3 is the well known state entry problem, which is undecidable.

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