

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Questions and answers related to the properties of decidable and recursively enumerable languages, including disjoint languages, encoding of dfas and pdas, language reducibility, and rice's theorem.
Typology: Exams
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Pick the correct alternative from among the choices (A), (B), and (C) provided for each question below.
(A) If L′^ ⊆ L then L′^ is decidable. (B) If L ⊆ L′^ then L′^ is decidable. (C) L ≤m { 0 n 1 n^ | n ≥ 0 } The correct answer is (C).
(A) Only when both A and B are decidable. (B) Only when both A and B are recursively enumerable. (C) Always. The correct answer is (C). Let f be a reduction from A to B. Then f is a computable and x ∈ A iff f (x) ∈ B which is the same as x 6 ∈ A iff f (x) 6 ∈ B which is the same as x ∈ A iff f (x) ∈ B. Thus f is a reduction from A to B.
(A) L is decidable. (B) L is not decidable but is recursively enumerable. (C) L is not recursively enumerable. The correct answer is (C). L is the complement of the language in the previous part. Since that is r.e. but not recursive, it follows that L is not r.e.