GATE CSE 2017 Session 1 Q49: f computable iff L_f = {x#f(x)} is recursive
- Theory of Computation
- 2 marks
- MCQ
- −2/3 if wrong
Syllabus topic: Turing machines and undecidability
Question
Let and be finite alphabets and let be a symbol outside both and . Let be a total function from to . We say is computable if there exists a Turing machine which given an input in , always halts with on its tape. Let denote the language . Which of the following statements is true:
Try it: multiple choice: exactly one correct option
Show answer and explanation
Answer: A (official GATE 2017 final answer key)
Concept used: For a total function, deciding the graph and computing are equivalent: compute f(x) and compare, or enumerate candidate outputs y and test x#y with the decider.
First step: Show both directions: from a Turing machine for build a decider for ; from a decider for (and since is total) search through all until is accepted. This also rules out C and D.
Full step-by-step solution
Loading…
Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.
More questions on Turing machines and undecidability
Every PYQ on this topic →Share this question
Source: official GATE 2017 Session 1 CS question paper and final answer key, organised by IIT Roorkee. Question paper · Answer key
More Theory of Computation PYQs
- 2026 Session 1 · Q25Ambiguity of S → aSbS | bS | ε
- 2026 Session 1 · Q26Impossible minimal DFA sizes for a 6-state NFA
- 2026 Session 1 · Q51What follows from L1 ∩ L2 and L2 being regular
- 2026 Session 1 · Q52Counts of a's and b's in strings of a given CFG
- 2026 Session 2 · Q13Meaning of a Turing machine deciding a language
- 2026 Session 2 · Q29Which of four grammars are ambiguous