

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Main points of this past exam are: Recursively Enumerable, Dimensional Matching, Matching Problem, Restrict Attention, Undirected Graph, Existing Links, Additional Sites, Binary Turing, Steiner Tree, Tree Problem
Typology: Exams
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Instructions: Please write your name at the top of this sheet. There are two questions on this quiz. Please answer each question on its own sheet of paper, using the back of the sheet to continue your answer. You may assume without proof any result that was proven in class or on a homework, provided you state it clearly.
Please write clear, concise answers. If you are having problems with a part of a question, leave it and try the next one. The two questions carry approximately equal credit.
The above problem can be formulated as the problem of recognizing the language L>=10 = {
(Hear
(a) Show that the language L>=10 is recursively enumerable (r.e.).
(b) Recall that the language Lhalt , defined by Lhalt = {
is not recursive. By giveng a reduction from Lhaltto L>=10, prove that is L>=10 not recursive. NOTE: You need not show in detail that your reduction can be performed by a TM, but you should show clearly that is maps 'yes'-instances to 'yes'-instances and 'no'-instances to 'no'-instances.
(c) Is the language L (^) <10 = {
r.e.? Justify your answer carefully.
(This problem arises, for example, when it is required to construct a network linking some collection R of sites, using some small number k of existing links (from the set E) and perhaps some additional sites from V.)
(a) Consider the following graph G:
CS172Fall95Quiz2.html
with R = { 1, 2, 3, 4, 5, 6, 10 } and k = 8. Show that this is a 'yes' instance o ST.
(b) Explain briefly why ST belongs to NP.
(c) Prove that ST is MP - complete.
HINT: Try a reduction from the 3-Dimensional Matching Problem, 3DM. The above example should help you.
(d). Does ST remain NP-complete if we restrict attention to instances in which R = V ( i.e., all sites are to be connected)? Justify your answer carefully.
CS172Fall95Quiz2.html