Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 CSCI 3 1 1 0 : Assignment 1 ( 6 % of final mark ) posted: May 1 3 th , 2 0 2
CSCI : Assignment of final mark posted: May th
Instructor: Travis Gagie due: : May th
You are allowed to work in groups of up to One person in the group is to submit your answers and
a list of all the group members, and each other person in the group is also to submit a list of all the
group members. You can talk with other groups about the normal assignments but, for everything
you write, someone in your group must be able to explain it If we ask you to explain what youve
written and no one in your group understands it then its an academicintegrity offence.
This assignment is due Sunday night at : Halifax time. There are no SDAs for this course.
Late submissions will not be accepted unless you have an accommodation through the Accessibility
Center that allows you to submit work up to days late, in which case we will accept your
assignment until : on Wednesday.
Give a diagonalization showing that it is impossible to approximate the Kolmogorov Com
plexity to within a factor of Hint: Modify the diagonalization in the lecture notes.
Write a propositionallogic formula F on the variables Vr Vg Vy Ir Ig Iy Rr Rg Ry Cr Cg Cy
such that there is a bijection between the satisfying truth assignments for F and the valid
colourings with the colours red, green and yellow of the counties of Cape Breton Island.
Sketch that bijection.
Show that Binary Integer Linear Programming BILP is NPcomplete by
showing that you can check an alleged solution in polynomial time,
giving a polynomialtime reduction from Independent Set to BILP.
Given a graph G your reduction should return a BILP instance whose objective function has
value at least k if and only if G has an independent set of size at least k
Apply your reduction to the graph in Figure in the lecture notes. If you just write any
old BILP instance whose objective function has value at least because you can see there is
an independent set of vertices, then you wont have applied a reduction and youll get
Suppose you want to prove to your friend have a solution to an instance of an NPcomplete
problem X but you dont want to tell them the solution. How can you use the zeroknowledge
proof of knowledge for Col to do this? Hint: Use the fact that Col is NPcomplete.
Give an algorithm that, given a connected graph G on n vertices with n edges for some
constant c finds a minimumsize vertex cover for G in On time. Hint: Use BFS or DFS to
select a subgraph of G thats a tree on n vertices and consider the leftover edges that arent
in that tree; consider how you could cover those edges for each, take one end, take other
or take both and think about what to do for each of the at most possibilities.
Bonus: To show a problem X is NPcomplete, we show X can be solved on an NP Turing machine
and we reduce a know NPcomplete problem to X thus showing we can program an
NP Turing machine in X When we show a programming language Y is Turingcomplete,
however, we just show we can program a Turing machine in Y ; why dont we show that Y
can be interpreted on a Turing machine?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started