Vocabulary (Matching) Questions
The following is a list of terms from the chapter along with descriptive phrases that can be used to produce
questions (depending on the topics covered in your course) in which the students are ask to match phrases
and terms. An example would be a question of the form, “In the blank next to each phrase, write the term
from the following list that is best described by the phrase.”
Term Descriptive Phrase
computable function A relationship between input and output values that can be determined
algorithmically
Turing machine An elementary, yet universal, computing device
Church-Turing thesis The conjecture that the Turing-computable functions are the same as
the computable functions
Turing computable Solvable by a Turing machine
halting problem An example of an unsolvable problem
universal language Allows a solution to any solvable problem to be expressed
unsolvable problem A problem with no algorithmic solution
NP A class of problems whose time complexity is not yet completely
understood
P The problems that have a polynomial time solution
nonpolynomial problems Problems with a high time complexity
nondeterministic algorithm May not perform the same if repeated in the identical environment
merge sort algorithm Has time complexity of (n log2 n)
traveling salesman problem An NP complete problem
private keys The decryption values in a public key encryption system
RSA A public key encryption system
23 (mod 7) The remainder after division
General Format Questions
1. State the Church-Turing thesis.
2. What was Alan Turing’s purpose when developing the concept of the Turing machine?
3. What is a universal programming language?
4. Write a sequence of statements in the Bare Bones language that is equivalent to the statement
if X not 0:
S1
else:
S2
where S1 and S2 are sequences of Bare Bones statements.