Docsity

Midterm Questions | Complexity Theory | CMSC 652, Exams of Computer Science

Toggle sidebar
bg1
652 MIDTERM
1. (0 points) What is your NAME?
2. (20 points) For each of the following fill in the blank. NO JUSTIFI-
CATION NEEDED but you need to give a reasonable result (e.g., you
cannot say “If SAT17 ∈Pthen SAT17 ∈P SP AC E” for problem a.
ALSO- it can’t be, for problem b, “If SAT ∈P/poly then SAT ≤p
TS
where Sis sparse” which is true but trivial.) It may be the case that
the premise has no consequences and is just TRUE. In that case just
say THERE ARE NO CONSEQUENCES.
(a) If SAT17 ∈Pthen XXX
(b) If SAT ∈P/poly then XXX.
(c) If SAT ∈NP/poly then XXX.
(d) If SAT ∈Πp
1/poly then XXX.
(e) If SAT ≤p
mSwhere Sis a sparse set then XXX.
3. (20 points) For each of the following write TRUE or FALSE or UN-
KNOWN. You DO NOT NEED TO JUSTIFY.
(a) If A∈Σp
18 and B∈Σp
18 then A∩B∈Σp
18.
(b) If A∈Σp
18 then A∈Σp
18.
(c) If A∈Σp
18 then A∈Πp
18.
(d) If A∈Σp
18 then A∈Σp
19.
(e) There exists a computable set Asuch that A /∈S∞
i=1 Σp
i
TURN OVER
1
pf2

Partial preview of the text

Download Midterm Questions | Complexity Theory | CMSC 652 and more Exams Computer Science in PDF only on Docsity!

652 MIDTERM

  1. (0 points) What is your NAME?
  2. (20 points) For each of the following fill in the blank. NO JUSTIFI- CATION NEEDED but you need to give a reasonable result (e.g., you cannot say “If SAT 17 ∈ P then SAT 17 ∈ P SP ACE” for problem a. ALSO- it can’t be, for problem b, “If SAT ∈ P/poly then SAT ≤pT S where S is sparse” which is true but trivial.) It may be the case that the premise has no consequences and is just TRUE. In that case just say THERE ARE NO CONSEQUENCES.

(a) If SAT 17 ∈ P then XXX (b) If SAT ∈ P/poly then XXX. (c) If SAT ∈ NP/poly then XXX. (d) If SAT ∈ Πp 1 /poly then XXX. (e) If SAT ≤pm S where S is a sparse set then XXX.

  1. (20 points) For each of the following write TRUE or FALSE or UN- KNOWN. You DO NOT NEED TO JUSTIFY.

(a) If A ∈ Σp 18 and B ∈ Σp 18 then A ∩ B ∈ Σp 18. (b) If A ∈ Σp 18 then A ∈ Σp 18. (c) If A ∈ Σp 18 then A ∈ Πp 18. (d) If A ∈ Σp 18 then A ∈ Σp 19. (e) There exists a computable set A such that A /∈

⋃∞ i=1 Σ

p i TURN OVER

  1. (20 points) Consider the following problem. You are given as input a formula φ such that one of the following holds: - φ has exactly n satisfying assignments, OR - φ has exactly n^5 satisfying assignments, OR - φ has exactly n^17 satisfying assignments, OR - φ has exactly n^34 satisfying assignments.

You want to determine which one holds. You are allowed to flip coins and ask (many) questions to SAT, you can only take poly time, but you are allowed a small probability of error. Give an algorithm but you DO NOT need to give a formal analysis, but give some indication as to why it works. (HINT: you may use the lemma on random matrices that I proved in class, but you need to state it carefully.)

  1. (20 points) A set S is katzian if there exists a constant c such that, for all n, |S ∩ { 0 , 1 }≤n| ≤ nc^ log^ n. State and prove a nontrivial theorem of the following form: If there exists a katzian set S such that SAT 17 ≤pm S then SAT 17 ∈ XXX (The XXX may use O-notation in it. Has to be a real theorem- CAN- NOT SAY something like SAT 17 ∈ DT IM E(2n O(1) ), which is true but trivial.) (HINT AND SHORTCUT: the chain lemma- that says that you can always extend a chain, is true for any set S. You can use it without proving it. You must state it properly.)
  2. (20 points) Let F GI be the following function: On input (G, H), two graphs, - If G and H are Not isomorphic output NO. - If G and H are isomorphic, output an isomorphism.

Show that if GI ∈ P then F GI can be computed in polynomial time. (NOTES: (1)GI is not known to be in P or NPC, (2) This problem has nothing to do with the GI in IP stuff I did in class.)