1.1.1 Architecture of the CPU Flashcards

1
Q

Purpose of a computer

A

To take data, process it, then output it

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

Why were computers created?

A

They can process data and complete tasks more efficiently than humans

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

Hardware

A

Physical stuff that makes up a computer system

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

Software

A

The programmes or applications a computer system runs

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

Examples of hardware

A

-CPU
-motherboard
-monitor
-printer

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

Examples of software

A

-An operating system
-A word processor
-A video game

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

Components of a computer

A

-Power supply
-Case cooling fan
-CPU heat sink and cooling fan
-CPU
-Optical drive
-RAM sticks
-Hard Disk Drive
-Graphics card

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

Power supply

A

Supplies power to the hardware

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

Case cooling fan

A

Extracts hot air from the computer case

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

CPU heat sink and cooling fan

A

Keeps the CPU at a steady temperature

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

Why should the CPU be kept at a steady temperature?

A

CPUs generate alot of heat

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

Motherboard

A

The main circuit board in the computer, where the hardware is connected

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
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
14
Q

Function of the CPU

A

Processes all of the data and instructions that make the system work

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

CPU architecture

A

The main components of the CPU, how they interact with each other and with other parts of the computer system.

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

Main types of CPU architecture

A

Von Neumann and Harvard

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

Three main parts of the CPU

A

-CU
-ALU
-The cache

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

What does CU stand for

A

Control unit

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

Function of the CU

A

-In overall control of the CPU
-Manages the fetch-execute cycle
-Controls the flow of data inside the CPU and to the outside of the CPU

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

What does ALU stand for

A

Arithmetic Logic Unit

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

Function of the ALU

A

-Completes simple arithmetic and logic calculations
-Contains the accumulator

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

Which arithmetic calculations can the ALU do

A

Simple addition, subtraction, compares the size of numbers, multiplication and division.

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

How does the ALU do multiplication?

A

Repeated addition

24
Q

How does the ALU do division?

A

Repeated subtraction

25
Which logic calculations can the ALU do?
AND, OR, NOT and binary shifts
26
The Cache
Very fast memory in the CPU
27
How fast is the cache?
Slower than registers, faster than RAM
28
Function of the cache
Stores regularly used data so that the CPU can access it quickly
29
Capacity of the cache vs RAM
RAM has more capacity
30
Price of RAM vs the cache
The cache is more expensive
31
List the levels of cache memory
-Level 1 -Level 2 -Level 3
32
Which is the fastest cache level
Level 1
33
Which is the slowest cache level
Level 3
34
Which cache level stores the most data
Level 3
35
Which cache level stores the least data
Level 1
36
Registers
-Temporarily hold tiny bits of data for the CPU -Quickest form of memory
37
Examples of registers
-PC -MAR -MDR -The accumulator
38
The ALU
Does all the calculations
39
Von Neumann architecture
-CPU runs programs stored in memory -Uses memory for both data and instructions
40
Where is the PC
In the CU
41
Where is the accumulator
In the ALU
42
Function of the PC
Holds the memory address of the instruction for the next cycle
43
Function of the Accumulator
Stores results of calculations in the ALU
44
What does PC stand for
Program Counter
45
What does MAR stand for
Memory Address Register
46
Function of the MAR
Holds a memory address about to be used by the CPU
47
Programs
-Consist of instructions and data -Stored in memory addresses
48
What does MDR stand for
Memory Data Register
49
Function of the MDR
Holds the actual data or instruction that may have been fetched from memory or be waiting to be written into memory
50
How does a CPU carry out instructions
The Fetch-Execute cycle
51
Fetch Instruction
1: Copies memory address from the PC to the MAR 2: Copies the instruction stored in the MAR address to the MDR 3: The PC increments to get ready for the next cycle
52
Increment
Increase
53
Decode instruction
The instruction in MDR is decoded by the CU
54
Execute instruction
The instruction is performed
55
Examples of instructions that could be executed in the F-E cycle
-Load data from memory -Write data to memory -Do an arithmetic or logic operation -Change the address in the PC -Halt the program