CSCI 4602
Fall 2016
Practice Questions for Quiz 5

A, B, C and D are languages. p and q are programs in a universal language, such as Turing machine programs.

  1. What is the definition of a mapping reduction from A to B?

    Answer

  2. What is the definition of notation Am B?

    Answer

  3. What is the definition of a computable set?

    Answer

  4. What is the definition of a partially computable set?

    Answer

  5. Let A = {p | p(0)↓} and let B = {p | p(1)↓}. Show that there is a mapping reduction from A to B.

    Answer

  6. Let C = {(p, q) | either p(0)↓ and q(0)↑ or p(0)↑ and q(0)↓}. Show that C is uncomputable.

    Answer

  7. L(p) is defined to be the set {x | p(x) stops and answers yes}.

    Let D = {(p, q) | L(p) ≤m L(q)} Show that D is uncomputable.

    Answer