Intro Flashcards

1
Q

Define sequential computing.

A
  • Executes a program that contains a discrete series of instructions.
  • Instructions are executed one after the other. (one instruction is execute at a time)
  • All instructions are executed on a single core/processor.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Define parallel computing.

A
  • A problem is broken into discrete parts that can be solved simultaneously.
  • One part contains a set of instructions that are executed on a specific core/processor.
  • Different parts are executed on different cores.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. What are situations where parallel processing will outperform serial computing?
  2. Vice-versa?
A
  1. Applying filters in image processing, matrix multiplication
  2. serial I/O - file reading, recursive algorithms with strong dependencies.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the requirements a program should meet to be prallelized?

A
  1. Be able to be partitioned into discrete partitions that can be solved simultaneously.
  2. Execute multiple instructions at the same time.
  3. Spend less time using multiple computing resources than on a single resource.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define speedup

A

The ratio of time taken to solve a problem on a single processor, to the time taken on a parallel system.

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

Define efficiency

A

The ratio of speedup to the number of processors. (how effectively the processors are utilized)

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

Why are GPUs so good at graphics processing?

A

They have thousands of cores optimized for parallel processing. Graphics operations include manipulating pixels where the same operation is performed on a large number of pixels. These operations can be done simultaneously. GPUs make this process efficient by parallelizing this processes.

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