Questions: Undecidable Problems: Beyond the Halting Problem

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

The Post Correspondence Problem (PCP) is about matching string sequences from two lists. Why is its undecidability particularly significant?

AIt shows that even problems about Turing machines are unsolvable in general
BIt demonstrates undecidability in a purely string-matching puzzle with no programs or machines in its statement
CIt proves that no practical string algorithms can exist for modern compilers
DIt is a harder version of the Halting Problem that applies only to infinite alphabets
Question 2 Multiple Choice

A compiler engineer proposes building a tool that checks every context-free grammar in their language suite for ambiguity before release. This proposal is:

AFeasible — grammar ambiguity can be checked by parsing all strings up to some length
BInfeasible in general — grammar ambiguity is undecidable, so no algorithm can solve this for all grammars
CFeasible only for grammars with fewer than 100 production rules
DInfeasible because context-free grammars are not Turing-complete
Question 3 True / False

Undecidability primarily arises in problems that are explicitly about programs and Turing machines. Natural mathematical problems — like solving polynomial equations — are generally decidable.

TTrue
FFalse
Question 4 True / False

The membership problem for context-free grammars (given grammar G and string w, is w in L(G)?) is decidable, even though grammar ambiguity is not.

TTrue
FFalse
Question 5 Short Answer

How is the undecidability of a new problem typically established, and why does this method work even for problems that seem to have nothing to do with computation?

Think about your answer, then reveal below.