System Architecture Flashcards

(50 cards)

1
Q

the purpose of the CPU

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

What is the purpose of the CPU?

A

The purpose of the Central Processing Unit (CPU) is to fetch, decode and execute instructions.

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

What role does the CPU play in a computer?

A

The CPU is the brain of the computer; it takes an input, processes data, and produces an output.

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

What is the Fetch-Execute Cycle?

A

The Fetch-Execute Cycle is the cycle that the CPU runs through billions of times per second to make a computer work.

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

What are the stages of the Fetch-Execute cycle?

A
  • Fetch stage
  • Decode stage
  • Execute stage
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What happens during the fetch stage of the Fetch-Execute cycle?

A

The next instruction or data must be fetched from the computer’s memory (RAM) and brought back to the CPU.

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

What occurs during the decode stage of the Fetch-Execute cycle?

A

The CPU needs to work out what is required from the instruction, which could involve a range of tasks.

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

What is executed during the execute stage of the Fetch-Execute cycle?

A

The CPU carries out the instruction that was fetched, which may include:
* Performing a calculation
* Storing a result or data back in main memory (RAM)
* Going to main memory to fetch data from a different location

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

True or False: The Fetch-Execute Cycle repeats billions of times per second.

A

True

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

Fill in the blank: The CPU fetches an instruction or data from _______.

A

[memory]

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

What is the output of the CPU after processing an input?

A

The output is delivered to the user.

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

What is an example of input in the Fetch-Execute cycle?

A

Clicking a button on the gamepad.

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

What is an example of output in the Fetch-Execute cycle?

A

The player moving on screen.

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

CPU components

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

What are the components of the CPU?

A

The CPU is made up of 4 key components:
* Arithmetic Logic Unit (ALU)
* Control Unit (CU)
* Cache
* Registers

Each of the components sits within the CPU.

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

What is the function of the Arithmetic Logic Unit (ALU)?

A

Performs arithmetic operations and logical decisions

Example of logical decision: IF X > 5 THEN DO ……….

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

What is the function of the Control Unit (CU)?

A

Coordinates how data moves around the CPU by sending signals to control the flow of the data and decodes instructions fetched from memory.

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

What is the function of the Cache in the CPU?

A

Very small, very fast memory used to provide quick access to frequently used instructions and data, which speeds up CPU performance.

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

How does Cache improve CPU performance?

A

Prevents the CPU from having to repeatedly fetch frequently used instructions from RAM.

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

What are Registers in the CPU?

A

Extremely small, extremely fast memory located in the CPU, each with a specific purpose.

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

What is the Von Neumann architecture?

A

The Von Neumann Architecture is a design of the CPU proposed by Mathematician John Von Neumann in the 1940s, which most general-purpose computers are built upon.

22
Q

What components does the Von Neumann Architecture outline?

A

It outlines how the computer memory, input/output devices, and processor work together.

23
Q

How many main registers are in the Von Neumann Architecture?

A

4 main registers.

24
Q

What is the acronym for the Program Counter?

25
What is the purpose of the Program Counter (PC)?
Holds the memory address of the next instructions to be executed.
26
What happens to the Program Counter (PC) during the fetch-decode-execute cycle?
Increments by 1.
27
What is the acronym for the Memory Address Register?
MAR.
28
What does the Memory Address Register (MAR) hold?
Holds the memory address of where data or instructions are to be fetched from.
29
What is the acronym for the Memory Data Register?
MDR.
30
What does the Memory Data Register (MDR) store?
Stores the data or instruction which has been fetched from memory.
31
What is the acronym for the Accumulator?
ACC.
32
What does the Accumulator (ACC) store?
Stores the results of any calculations that have taken place in the Arithmetic Logic Unit (ALU).
33
What are the common characteristics of the CPU?
Clock Speed, Cache Size, Number of Cores ## Footnote Each of these characteristics has a significant impact on the performance of the CPU.
34
How is clock speed measured?
In Hertz (Hz) ## Footnote Modern computers have a clock speed measured in Gigahertz (GHz).
35
What does clock speed measure?
The number of fetch-decode-execute cycles that can take place in 1 second.
36
What is the impact of a faster clock speed?
More instructions can be fetched and executed per second.
37
What is the performance of a CPU with a clock speed of 3.5GHz?
Can perform up to 3.5 billion instructions per second.
38
What is cache in relation to the CPU?
Very small, very fast memory on or close to the CPU.
39
What is the purpose of cache?
To provide quick access to a copy of frequently used instructions and data.
40
How does cache size affect CPU performance?
The larger the cache size, the more frequently used instructions or data can be stored.
41
Why is cache faster than RAM?
Cache has a significantly faster read/write speed than RAM.
42
What is a core in a CPU?
Works like its own CPU.
43
What does a multi-core processor allow?
Multiple separate processing units can fetch, decode, and execute instructions at the same time.
44
How many processing units does a dual-core processor have?
2 processing units.
45
What components does each core have?
Control Unit (CU), Arithmetic Logic Unit (ALU), Accumulator (ACC), Registers.
46
How do multiple cores affect CPU performance?
They increase performance by allowing more powerful programs to run with greater ease.
47
Calculate the instructions per second for a quad-core CPU running at 3GHz.
12 billion instructions per second.
48
Fill in the blank: A quad-core CPU running at 3GHz can perform _______ instructions.
12 billion
49
What is an embedded system?
An embedded system is a computer system with a single function, inside a larger mechanical unit. ## Footnote Examples include heating thermostats, hospital equipment, washing machines, dishwashers, coffee machines, satellite navigation systems, factory equipment, and traffic lights.
50
List the properties of an embedded system.
* They are small in size * They use less power than a general-purpose computer * They have a lower cost ## Footnote These properties make embedded systems suitable for specific applications.