System Architecture Flashcards

(26 cards)

1
Q

What is the purpose of the CPU?

A

The CPU (Central Processing Unit) fetches, decodes, and executes instructions stored in memory. It is the “brain” of the computer.

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

What does CPU stand for?

A

Central Processing Unit

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

Name the three stages of the instruction cycle (in OCR spec)

A

Fetch → Decode → Execute

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

What happens during the fetch stage?

A

The address of the next instruction is placed in the MAR; that address is used to fetch the instruction from memory into the MDR; the Program Counter is incremented.

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

What happens during the decode stage?

A

The Control Unit decodes the instruction, understanding what action it must perform, and prepares the necessary control signals.

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

What happens during the execute stage?

A

The instruction is carried out: data may be fetched, calculations done by the ALU, results stored, etc.

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

What is the ALU and what does it do?

A

The ALU is the Arithmetic Logic Unit. It performs arithmetic operations (e.g. addition, subtraction) and logic operations (e.g. comparisons).

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

What is the Control Unit (CU) and what is its role?

A

The Control Unit manages and coordinates the CPU’s operations, issues control signals, decodes instructions, and orchestrates the fetch-decode-execute cycle.

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

What is cache in a CPU?

A

Cache is a small, very fast memory inside the CPU used to store frequently accessed instructions or data so the CPU can access them quickly.

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

What are registers?

A

Registers are very small storage locations inside the CPU used to hold data, instructions, addresses temporarily during processing.

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

Name the four registers in Von Neumann architecture required by OCR

A

MAR, MDR, Program Counter (PC), Accumulator (ACC)

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

What is the MAR (Memory Address Register)?

A

MAR holds the memory address of the location to fetch data from or to write data to.

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

What is the MDR (Memory Data Register)?

A

MDR holds the data or instruction that has been fetched from memory, or is about to be written to memory.

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

What is the Program Counter (PC)?

A

The PC holds the address of the next instruction to be fetched. After fetching, it is typically incremented to point to the next instruction.

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

What is the Accumulator (ACC)?

A

The Accumulator holds intermediate results of calculations by the ALU.

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

What is “Von Neumann architecture”?

A

A design in which data and program instructions share the same memory and buses. The CPU follows the fetch-decode-execute cycle using shared memory.

17
Q

Why is the distinction between instructions and data important in Von Neumann architecture?

A

Because instructions tell the CPU what to do (opcode) and data is what is acted on (operand). They are stored in the same memory, so the architecture must distinguish them at run time.

18
Q

Name three characteristics of a CPU that affect its performance

A

Clock speed, cache size, number of cores

19
Q

How does clock speed affect performance?

A

Higher clock speed means more fetch-decode-execute cycles per second, so instructions are processed faster. However, too high a speed may cause overheating or instability.

20
Q

How does increasing cache size impact performance?

A

More cache allows more data/instructions to be stored nearer the CPU, reducing the time to fetch from RAM, thus speeding up processing.

21
Q

How does having more cores influence performance?

A

Multiple cores enable parallel processing: more than one instruction stream can run simultaneously if software is designed to use them.

22
Q

What is an embedded system?

A

A computer system built into a larger device for a dedicated function (not a general-purpose computer).

23
Q

Give three characteristics of embedded systems

A

Often small, dedicated, efficient, built for reliability, low cost, specific task, not easily reprogrammed.

24
Q

Give examples of embedded systems

A

Washing machines, microwaves, digital cameras, car engine control units, thermostats etc.

25
Why are embedded systems used instead of general-purpose computers?
Because for specific tasks they can be more efficient, cheaper, smaller, more reliable, and simpler.
26
What limitations must you remember when using core number to speed up performance?
Software must support multi-threading; not all tasks can be parallelised. Just adding cores doesn’t always give linear speed increase.