NUIMCrest CS403 - Computational Complexity Theory
Class test 2 (repeat)
Tuesday 23 January 2001, 16:00, Lab 2

T Naughton, CS NUIM, Back to CS403 home


Remove everything from your desk except pens/pencils. Paper will be provided. Answer all questions. You have 50 minutes in total.

Use the MCQ answer sheet for Section B. Write both your name and student id. number on the MCQ sheet (remember to precede your number with a zero). Each MCQ question has only one fully correct option. Negative marking will be enforced: +1 for a correct answer, -0.25 for an incorrect answer, 0 for a non attempt. This means that randomly guessing answers will average a mark of zero.

Student's name..............................................................Student's number..............................................................

HAND UP THIS QUESTION SHEET WHEN FINISHED.


Section A – Turing machine programming

Q1 Write a two-tape Turing machine that counts the number of occurances of the substring "10" in its input. Initially, the TM head will be at the beginning of the input. At halt, the TM head must be at the beginning of the output. For simplicity, the output can be expressed in unary. For example, input "110011" would result in output "1", input "10010" would result in output "11", and input "0011" would result in output "  ". Explain the purpose of each TM state in your comments.


Section B – Computability and complexity

Q1 What did Gödel prove?

Q2 As a direct result of one of Gödel's theorems, we can say that in order to build a pocket calculator that...
Q3 Which of the following models of computation is more powerful (in terms of computability) than the others? Q4 The set of accepting Turing machines coincides with which of the following sets? Q5 The set of recognising Turing machines does not coincide with proper subsets of which of the following sets? Q6 The computational complexity class PTIME, often referred to as P, ... Q7 Does the class LOGTIME exist? Q8 Given the diagram below, depicting sets XÍYÍZ and elements aÎX, bÎY, cÎZ, which of the following statements is false?