Lecture 11 Flashcards

1
Q

What is a serial algorithm?

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

What are the two different types of programming languages?

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

Where are the machine language instructions stored on a computer?

A

RAM (Random Access Memory)

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

What is the fetch-and-execute cycle?

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

What is a process?

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

Do different processes share memory? What does this mean for communication between different processes?

A

No

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

What is a thread?

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

Do different threads share memory? What does this mean for communication between different processes?

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

Who takes care of the different threads on the CPU?

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

What is concurrency and parallelism?

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

What is nested parallelism? What is a parallel for-loop?

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

How do we assume memory behaves in the ideal parallel computer?

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

What are the new parallel keywords?

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

What is the work and span runtime?

A

Work: serial algorithm
Span: If unlimited processors were available

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

What are the work and span laws?

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

What is speedup and parallelism?

A
17
Q

What is the Global Interpreter Lock?

A

Prevents multiple threads from accessing objects at the same time.

18
Q

What is a determinacy race?

A

Two or more logically parallel instructions access the same memory location and at least one of the instructions performs a write.