Chapter 3.1 (A) CPU, Architecture, Cache/Cores Flashcards

1
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
2
Q

What components does the CPU consist of

A

Control Unit (CU)
Arithmetic and logic unit (ALU)
Registers
Busses

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

What does the CPU do

A

execution or processing of all the instructions and data in a computer

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

What is the Von Neumann architecture

A

A type of computer architecture which introduced the concept of stored programs in 1940s

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

What is an ALU

A

The component of the CPU that carries out all arithmetic and logical operations

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

Examples of arithmetic operations that are carried out by ALU

A

+, -, logical shifting ( multiplication and division)

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

Examples of LOGIC operations that are carried out by ALU

A

AND and OR

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

What is a register

A

A temporary component in the CPU which can be
general or specific in its use; it holds data or instructions as part of the Fetch–Decode–Execute cycle

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

Types of special purpose registers

A

Current Instruction register - CIR
Accumulator - ACC
Memory Address Register - MAR
Memory Data Register - MDR
Program counter - PC

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

What is an ACC (register)

A

Accumulator - Temporary stores the results of the calculation from the ALU

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

What is a PC (register)

A

Program Counter - This register stores the address where the next instruction to be read can be found

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

What is the MAR

A

Memory Address Register - Stores the address of the memory location currently being read from or written to

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

What is the MDR

A

Memory Data Register - Stores data which has just been read from memory or data which 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 CIR

A

Current information register - this register stores the current instruction being decoded and executed

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

How does the MDR differ from the MAR

A

The MAR stores the location of the data/instruction

The MDR actually holds the data/instruction itself.

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

Flow of registers

A

PC –> MAR –> MDR

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

What is the Control unit

what does it decode

A

CU - Sends control signals that manage the transfer of data and instructions within the CPU. Decodes an instruction using an instruction set

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

What is a bus
what does each wire do

A

Busses are used in computers as parallel transmission components; each wire in the bus transmits one bit of data

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

3 main types of busses

A

Address
Control
Data

20
Q

Which busses have two way flow

A

Control
Data

21
Q

What does the address bus do
direction

A

Carries addresses throughout the computer system

Unidirectional between CPU and memory

22
Q

How does width of a bus affect the bus (address)

A

Wider the bus the more memory locations can be directly addressed at any given time.

23
Q

What is a memory location

A

a numbered place in memory where values can be stored

24
Q

What is an address

A

a label for a memory location used by the CPU to track data

25
What is a data bus
the system bus that allows data to be carried from CPU to memory (and vice versa) or to and from input/output devices
26
What is a word
a group of bits used by a computer to represent a single unit
27
How does width affect data bus
Wider the bus, the larger word can be transported
28
What is the control bus
the system bus that carries signals from control unit to all other computer components
29
What is the FDE
Fetch-decode-execute cycle - a cycle in which instructions and data are fetched from memory, decoded and finally executed
30
What happens in the fetch stage
Next instruction is fetched from the memory address stored in the MAR and the instructions which are stored at that address are then temporarily stored in the MDR. Then the contents of MDR are copied to CIR. Finally PC is incremented by 1 so that next instruction can be processed
31
What is the decode stage
Instruction is decoded so it can be interpreted in the next part of the cycle
32
What is the execute stage
Instruction carried out in a logical sequence since the CPU passes the decoded instructions as a set of control signals to the appropriate components within the computer system.
33
What is the system clock
produces timing signals on the control bus to ensure synchronisation takes place
34
What is the clock cycle
vibrational frequency of the system clock which sends out pulses along the control bus
35
How is clock cycle measured
Gigahertz GHz
36
What is overclocking
changing the clock speed of a system clock to a value higher than the factory/recommended setting
37
What is the BIOS
Basic Input/Output system - suite of programs on firmware that are used to initialize a computer system during the boot up process.
38
What is cache memory
Temporary memory hold instructions that are freq repeated.
39
Examples of backing store memory
HDD SSD
40
What is a core
a unit on a CPU made up of an ALU, control unit and registers
41
Names and number of cores of CPUs
Dual core - 2 cores Quad core - 4 cores
42
How to increase the speed and performance of a computer
Increasing the bus width (data and address) Increasing the clock speed The use of cache memory Use of multicore CPUs
43
Problems with overclocking
unsynchronised operations which would lead to frequent crashes and the computer becoming unstable Serious overheating of the CPU - unreliable performance
44
Why does increasing the number of cores not always lead to an increase in performance
The CPU needs to communicate with a larger number of cores which could reduce overall performance
45
Explain concept of stored programs
Data and instructions are stored in the same memory and can only be fetched one at a time
46
Purpose of 1 core
to process an instruction to carry out a fetch-execute cycle
47
How can upgrade to dual core impact comp from single core
It can now process two instructions simultaneously (where suitable) * … increasing the performance.