[SOLVED] 留学生代考 Theoretical Computer Science (M21276)

30 $

File Name: 留学生代考_Theoretical_Computer_Science_(M21276).zip
File Size: 499.26 KB

SKU: 2770785357 Category: Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Or Upload Your Assignment Here:


Theoretical Computer Science (M21276)
Part B/4: More undecidable problems
(Dec 6 – Dec 10, 2021)
Question 1. Clearly state one undecidable problem. What are inputs/outputs of the problem? Give examples of input instances.

Copyright By PowCoder代写加微信 assignmentchef

Question 2. Explain on an example of a polynomial equation with one variable/two variables why Hilbert¡¯s tenth problem is partially decidable.
Question 3. For each of the following instances of the Post correspondence problem, find a solution or state that no solution exists.
a) {(a, abbbbb) , (bb, b)} over the alphabet {a, b}
b) {(10, 100) , (0, 01) , (0, 00)} over the alphabet {0, 1}
c) {(ab, a) , (ba, b) , (a, ba) , (b, ab)} over the alphabet {a, b}
d) {(1, 111), (0111, 0), (10, 0)} over the alphabet {0, 1}
e) {(ab, aba), (ba, abb), (b, ab), (abb, b), (a, bab)} over the alphabet {a, b}
Question 4. Show that for |¦²| = 1, the Post correspondence problem is decidable. That is there is an algorithm that can decide whether or not an input instance over a single- letter alphabet has an solution. Characterise the instances with a negative answer and in other cases describe how we can obtain a solution.
Question 5. Explain the difference between bounded and unbounded tiling problem. Why the bounded tiling problem is decidable? Why we can¡¯t use a solution for the bounded tiling problem to solve the unbounded tiling problem.
Question 6. Show how the solvability of the Halting problem would imply the solution of the conjecture about perfect numbers: n is perfect if it is equal to the sum of its divisors (except itself), e.g. 6 = 1 + 2 + 3, 28, . . . . There is the conjecture there are no odd perfect numbers.
Question 7. The number of all computable functions is countable (give a reason for that!). However, one student didn¡¯t realise that and tried to prove that it is uncountable! Find a problem in his arguments.
Suppose we have the following effective enumeration of all the computable functions that take a single argument:
f0,f1,f2,…,fn,….
For each of the following functions g, explain what is wrong with the following diagonal-
isation argument claiming to show that g is a computable function that isn¡¯t in the list. 1

¡°Since the enumeration is effective, there is an algorithm to transform each n into the function fn. Since each fn is computable, it follows that g is computable. It is easy to see that g is not in the list. Therefore, g is a computable function that isn¡¯t in the list.¡±
a) g(n) = fn(n) + 1.
b) g(n) = if fn(n) = 4 then 3 else 4.
c) g(n) = if fn(n) halts and fn(n) = 4 then 3 else 4.
Question 8. Show that the following problem is decidable: Is there a computable function that, when given a computable function f, m, and k, can tell whether f halts on input m in k units of time?

程序代写 CS代考加微信: assignmentchef QQ: 1823890830 Email: [email protected]

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] 留学生代考 Theoretical Computer Science (M21276)
30 $