Serial vs parallel computing Flashcards

1
Q

What is a serial computation?

A
  • A problem is broken into a secrete series of instructions
  • Instructions are executed sequentially one after another
  • Executed on a single processor
  • Only one instruction may execute at any moment in time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is parallel computing?

A

In the simplest sense, parallel computing is the simultaneous use of multiple computer resources to solve a computational problem.

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

Step-by-step parallel computing is:

A
  1. The problem is broken down into discrete parts that can be solved simultaneously.
  2. Each part will need to have a series of instructions to execute the sub problem.
  3. These instructions are executed simultaneously on the different processors
  4. Need overall control mechanism
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What should the computational problem be able to do?

A
  • Be broken apart into discrete pieces of work that can be soled simultaneously;
  • Execute multiple program instructions at any moment in time;
  • Be solved in less time with multiple compute resources than with a single computer resource
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The computer resources are typically:

A
  • A single computer with multiple processors/ cores
    OR
  • An arbitrary number of such computer connected by a network
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Parallel computing has been considered to be “the high end of computing”, and has been used to model difficult problems in many areas of science and engineering.

Describe an example where parallel computing is used

A

MRI scan - data from body is split into discrete parts or sub problems. Each part is processed to generate images for each section with its own instructions by multiple processors.
The results of the images from each section are put together to render a full body image.

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

Two unrelated terms used in computing are
- parallel transmission of data
- parallel processing
Explain what each means and give an example of where parallel processing might be useful

A
  • Parallel transmission of data: can send multiple bits simultaneously over multiple lines/ wires.
  • Parallel processing: simultaneous use of multiple cores to perform one task. Example: producing image of MRI scan.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Just because it is a parallel processor doesn’t mean it is working in parallel. Explain comparing multi core and a single core processor:

A
  • Multi core processor: multiple cores running in parallel on a single device.
  • Single core processor:
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Just because the processing of the jobs happens in parallel doesn’t mean it is faster. Explain:

A

-

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

Describe the purpose of a register in the CPU

A

is temporary storage for data or instructions that is located on the processor.

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

Describe the purpose of Control Unit

A

Manages execution of instruction and synchronises instruction.

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

Describe the purpose of the ALU

A

Forms functions of input values and produces a single output result.

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

Name three registers that are essential to the fetch-execute cycle

A
  • Memory address register
  • Memory data register (instruction that needs to be executed from memory)
  • Current instruction register
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Briefly describe the fetch-decode-execute cycle

A

FETCH- Program counter: stores address of the next instruction to be executed
FETCH - MAR: address of next instruction copied to MAR increment PC to address of next instruction
FETCH- Address bus: carries address to memory instruction at address is copied to MBR via data bus instruction in MBR is copied to CIR.

op-code is going to decode and the operand goes to ALU which carries out calculation to the ACC.

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

Describe using example what the difference between a general purpose register and a dedicated register.

A

Dedicated register - specific purpose and cannot be changed by programmer.
General purpose register - can be changed by programmer/ can store data.

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