Week 9 Flashcards

1
Q

What is the million dollar question?

A

Record some of the most difficult problems with which mathematicians were grappling at the turn of the second millennium
To elevate in the consciousness of the general public the fact that in mathematics, the frontier is still open and abounds in important unsolved problems
To emphasize the importance of working towards a solution of the deepest, most difficult problems, and to recognize achievement in mathematics of historical magnitude.

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

What is problem 3: P vs NP

A

If it is easy to check that a solution to a problem is correct, is it also easy to solve the problem? This is the essence of the P vs NP question.

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

NP-complete vs NP-hard

A

NP: problems that are slow to solve but fast to check.
NP-Complete: problems in NP for which a fast solution to any
one could give a fast solution to any other.
NP-Hard: problems at least as hard as NP problems — all NP
problems can be reduced (in polynomial time) to them.

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

Does P = NP?

A

Nobody knows, the possibilities are P != NP or P == NP.
Can we find algorithms in P for problems in NP?

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

Why wont running code on a parallel computer make it quicker?

A

One must think of a parallel algorithm, and implement that algorithm on a parallel computer.

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

Inherently sequential problems on a parallel machine

A

It is generally believed that there are inherently sequential
problems that do not admit any significant speed up on a
parallel machine, but so far no problem has been proved
inherently sequential.

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

Whats the asymptotic complexity of insertion sort?

A

O(n^2)

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

What is the asymptotic complexity of quick sort?

A

O(nlogn)
P as it is an upper bound of O(n^2)

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

Why does P != NP in parallel

A

Parallel processors take care of a nondeterministic choice, each processor runs a different ‘guess’
This doesnt make P == NP because an arbitrary size would require an arbitrary number of processors.

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

What is the PRAM model?

A

Parallel RAM
Combines the synchronous computation model of the ILLIAC-IV with the hierarchical memory model of the connection machine.

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

What does a PRAM consist of?

A

An unbounded number of processors
An unbounded global memory
A finite program.

Each processor has
A unique processor id
A program counter
An unbounded local memory
A flag indicating whether the processor is active or inactive

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