GATE Computer ScienceVery hardGATE CS (PYQ pattern)
Which of the following statements about the Post Correspondence Problem (PCP) are correct? I. PCP restricted to a one-letter alphabet is decidable. II. The set of PCP instances that have a solution is recursively enumerable. III. The set of PCP instances that have NO solution is recursively enumerable. IV. The modified PCP (the solution must start with the first domino) is undecidable.
- A. I, II and IV only
- B. II and IV only
- C. I, II, III and IV
- D. I and II only
Correct answer: A. I, II and IV only
Over one letter only lengths matter: a solution exists iff some domino has equal lengths or two dominoes have length differences of opposite signs — decidable. II: enumerate index sequences and check. III fails: if both the solvable set and its complement were RE, PCP would be decidable. IV: MPCP is the intermediate step in the TM-to-PCP reduction and is undecidable.
More Theory of Computation questions
- To prove by the pumping lemma for context-free languages that L = { w w : w ∈ {a, b} } is not context-free, which string (p is the pumping…
- Which of the following statements are correct? I. Every regular language has an unambiguous context-free grammar. II. Every context-free…
- Rice's theorem cannot be applied directly to which of the following properties of a Turing machine M (although some of them are…
- If a language L and its complement are both recursively enumerable, then L is
- Which of the following classes of languages is closed under complement but NOT under union?
- Consider L = { aⁿbⁿ : n ≥ 0 } ∪ { aⁿb²ⁿ : n ≥ 0 }. Which classification is correct?