Week 1 Flashcards

1
Q

What makes a problem Decidable ?

A

An algorithm exists which solves every instance of that problem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is an Effective procedure

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe the speed ai u which an effective procedure is completed

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe the halting problem

A

Given a computer program and an input to that program does the program halt (that is not enter an infinite loop) for that input

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define a Decision problem

A

A decision problem is a problem for which the answer is either yes or no

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

we say that teh halting problem is (2 words)

A

undecidable or uncomputable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what makes a problem computable?

A

am algorithm existing for its solution, even if the complexity might make it impossible to actually carry out the algorithim in practice.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

names of the four NY algorithms

A

twilight, the knife, the carnival amd teh boston shuffler

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

describe the way a list is indexed

A

the first item in a list in index 0 the second is index 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly