Week 1 Flashcards
What makes a problem Decidable ?
An algorithm exists which solves every instance of that problem
What is an Effective procedure
Is an algorithm which solves. Decision problem in a finite number of steps, correctly giving the answer yes or no for every input over which the problem is defined
Describe the speed ai u which an effective procedure is completed
Makes no claim as to how quickly it will finish the procedure might take billions of years but as long as it is guards tered to return the correct answer after a finite number of steps it is classed as effective
Describe the halting problem
Given a computer program and an input to that program does the program halt (that is not enter an infinite loop) for that input
Define a Decision problem
A decision problem is a problem for which the answer is either yes or no
we say that teh halting problem is (2 words)
undecidable or uncomputable
what makes a problem computable?
am algorithm existing for its solution, even if the complexity might make it impossible to actually carry out the algorithim in practice.
names of the four NY algorithms
twilight, the knife, the carnival amd teh boston shuffler
describe the way a list is indexed
the first item in a list in index 0 the second is index 1