FORMAL LANGUAGE & AUTOMATA THEORY
100406Module 5: Undecidability
Q1a. Which of the following statements is/are false? A. For every nondeterministic TM, an equivalent deterministic TM exists. B. Turing recognizable languages are closed under union and complementation. C. Turing decidable languages are closed under intersection and complementation. D. Turing recognizable languages are closed under union and intersection. (i) A and D only (ii) A and C only (iii) B only (iv) C only20212m
Module 5: Undecidability
View this question on its own page →Which of the following statements is/are false?
A. For every nondeterministic TM, an equivalent deterministic TM exists.
B. Turing recognizable languages are closed under union and complementation.
C. Turing decidable languages are closed under intersection and complementation.
D. Turing recognizable languages are closed under union and intersection.(i) A and D only
(ii) A and C only
(iii) B only
(iv) C onlyWorked SolutionAnswer
Correct Option: (iii) B only
Explanation
Evaluate each statement:
A. For every nondeterministic TM, an equivalent deterministic TM exists.
True. Turing Machines are deterministic simulatable: a DTM can simulate an NTM via BFS over computation tree with at most exponential slowdown. NTM does not increase power, unlike for PDA. in language power.
B. Turing-recognizable (RE) languages are closed under union and complementation.
False.
- RE is closed under union and intersection: if recognizes and recognizes , a NTM can dovetail to recognize and .
- RE is NOT closed under complement. If is RE but not recursive, is not RE. Example is RE, is not RE. So the conjunction “union and complementation” fails.
C. Turing-decidable (Recursive) languages are closed under intersection and complementation.
True. Recursive languages are decidable by a TM that always halts. Deciders can be complemented by swapping accept/reject, and intersected via product construction. They are closed under all Boolean operations: union, intersection, complement, difference.
D. Turing-recognizable languages are closed under union and intersection.
True. As noted in B, RE retains closure under union and intersection, only complement fails.
Summary
Statement Truth A True B False C True D True Only B is false.
Final Answer
B only is false → Option (iii).
Q1h. A recursively enumerable language L is recursive if: (i) L' is recursively enumerable (ii) every sequence of moves of T halts (iii) Both (i) and (ii) (iv) None of the above20222m
Module 5: Undecidability
View this question on its own page →A recursively enumerable language is recursive if:
(i) is recursively enumerable
(ii) every sequence of moves of halts
(iii) Both (i) and (ii)
(iv) None of the aboveWorked SolutionAnswer
Correct Option: (i) is recursively enumerable (equivalently (iii) Both if is decider)
Explanation
Theorem (Sipser): RE language is recursive (decidable) iff both and are RE.
- If is RE and is RE, then dovetail enumerators for and ; whichever enumerates first decides.
- Formal: recursive ⇔ RE and RE.
Option (ii) “every sequence of moves halts” is characterization of decider (always halts), also true for recursive but not the standard RE condition. Option (i) is the textbook criterion.
If exam lists (iii) Both (i) and (ii), that is also correct for decider TM. Most keys mark (i) or (iii).
Final Answer
recursive iff is RE → Option (i) (and (iii) Both if inclusive).
Q1h. Which of the following problems is undecidable? (i) DFA acceptance (ii) NFA acceptance (iii) The Halting Problem (iv) Regular expression matching20242m
Module 5: Undecidability
View this question on its own page →Which of the following problems is undecidable?
(i) DFA acceptance
(ii) NFA acceptance
(iii) The Halting Problem
(iv) Regular expression matchingWorked SolutionAnswer
Correct Option: (iii) The Halting Problem
Explanation
Decidability:
Problem Decidable? DFA acceptance ? Decidable — simulate DFA NFA acceptance Decidable — subset simulation or convert to DFA Regex matching ? Decidable — convert to DFA/NFA Emptiness ? Decidable Halting Problem halts on ? Undecidable (Turing 1936) Proof sketch: Assume decides halting, diagonalize with loop if halts on else halt. contradicts.
Final Answer
Undecidable is Halting Problem → Option (iii).
Q8a. Show that the function: f(x,y) = x + y is primitive recursive.20217m
Module 5: Undecidability
View this question on its own page →Show that the function:
is primitive recursive.
Q9a. Write a short note on the Post Correspondence Problem.20213.5m
Module 5: Undecidability
View this question on its own page →Write a short note on the Post Correspondence Problem.
Q9a. Prove that the halting problem for Turing machines is recursively undecidable.20227m
Module 5: Undecidability
View this question on its own page →Prove that the halting problem for Turing machines is recursively undecidable.
Q9a. Write short notes on: Post Correspondence Problem.20237m
Module 5: Undecidability
View this question on its own page →Write short notes on: Post Correspondence Problem.
Q9a. Write a short note on Rice's Theorem with an application.20254.66m
Module 5: Undecidability
View this question on its own page →Write a short note on Rice's Theorem with an application.
Q9b. Write short notes on: 1. Post Correspondence Problem (PCP) 2. NP-hard problem20247m
Module 5: Undecidability
View this question on its own page →Write short notes on:
- Post Correspondence Problem (PCP)
- NP-hard problem
Q9c. Write short notes on: NP-hard and NP-complete problems.20237m
Module 5: Undecidability
View this question on its own page →Write short notes on: NP-hard and NP-complete problems.
- Install PocketlyBudget App•POCKETLY
Pocketly on Android
Log daily food, travel, and hostel expenses instantly. Set monthly spending limits and see where your money goes without complex spreadsheets.
Q9c. Write a short note on Universal Turing Machine.20254.66m
Module 5: Undecidability
View this question on its own page →Write a short note on Universal Turing Machine.