GATE Computer ScienceHardGATE CSE · UGC NET
Let A ≤ₘ B denote a many-one (mapping) reduction from A to B. How many of the following hold for all A, B? (i) B decidable ⇒ A decidable. (ii) A undecidable ⇒ B undecidable. (iii) B recursively enumerable ⇒ A recursively enumerable. (iv) A recursively enumerable ⇒ B recursively enumerable. (v) B regular ⇒ A regular. (vi) A ≤ₘ B ⇒ complement(A) ≤ₘ complement(B).
- A. 4
- B. 3
- C. 5
- D. 2
Correct answer: A. 4
(i), (ii), (iii) and (vi) hold (the same computable map works for complements); (iv) and (v) fail since the reduction can map a simple A into a very complex B.
More Theory of Computation questions
- Consider the grammar S → aSa | bSb | a | b | ε. How many strings of length exactly 7 does it generate?
- Let L = { w ∈ {a, b} : the number of a's is divisible by 4 and w contains bb as a substring }. How many states does the minimal complete…
- A DFA reads 12-bit strings (MSB first) and accepts exactly those whose binary value is divisible by 7 (the all-zeros string included). How…
- Which one of the following languages over {0, 1} is regular?
- Let L = { w ∈ {a, b} : (na(w) − 2·nb(w)) mod 6 ∈ {0, 3} }, where na and nb count the a's and b's. How many states does the minimal…
- Let L = { w ∈ {a, b} : (2·na(w) + 4·nb(w)) mod 6 = 2 }. How many strings of length exactly 7 belong to L?