Computer architecture Flashcards

1
Q

What cycle summarises the CPU processes?

A

The Fetch Decode Execute Cycle

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

CPU
What do we call the step where the CPU fetches some data and instructions from main memory (RAM) and then store them in its own temporary memory called ‘registers’.

A

The Fetch Step

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

In the CPU Fetch Stage, how does data get from the CPU to the RAM / Memory and back again?

A

Address Bus for CPU to RAM Memory

Data Bus for RAM / Memory to CPU

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

CPU
What do we call the step where the CPU understands / works out what the instruction it has just fetched actually means.
The CPU ‘decodes’ the instruction and gets things ready for the next step.

A

The Decode Stage

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

CPU
What do we call the step where data processing happens.
Instructions are carried out on the data.
Once a cycle has completed, another begins.

A

The execute stage

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

The CPU basic actions are Fetch, Decode and Execute.

What are the areas the CPU is responsible for? (3 areas)

A

1) Control Unit
2) Immediate Access Store (IAS) or “Cache”
3) Arithmetic and Logic Unit (ALU)

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

In the CPU the Control Unit has three main jobs.

What are they?

A

Control Unit:

1) It manages and monitors hardware on the computer to ensure the correct data goes to the correct hardware.
2) It manages the input and output signals ensuring these are dealt with correctly.
3) It manages the Fetch-Decode-Execute cycle.

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

In the CPU what does the Immediate Access Store or Cache do?

A

This part stores the data which is to be immediately processed.
The CPU takes a chunk of data / instructions from the RAM and keeps it close so that it always has a constant supply of data to process.

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

In the CPU what does the Arithmetic and Logic Unit (ALU) do? And what are the two parts of the ALU?

A

This is were the CPU actually carries out the maths and logic on the data (processes it).
It has two parts:
Arithmetic part, which performs calculations on the data, e.g. 3 + 2 = 5
Logic part – which deals with logical operations such as is True / False / Equal to / Greater than etc.

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

Who was John Von Neuman?

A

Born in 1945, mathematician, invented the architecture for computers

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

Assembly Language and the Von Neumann Architecture
What does it mean?
ADD

A

Add numbers together

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

Assembly Language and the Von Neumann Architecture
What does it mean?
SUB

A

Subtract numbers

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

Assembly Language and the Von Neumann Architecture
What does it mean?
STA

A

Store a value

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

Assembly Language and the Von Neumann Architecture
What does it mean?
LDA

A

Load a value

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

Assembly Language and the Von Neumann Architecture
What does it mean?
BRA

A

Branch to a different part of the programme, often used to repeat code

17
Q

Assembly Language and the Von Neumann Architecture
What does it mean?
OUT

A

Output a value (after processing)

18
Q

Assembly Language and the Von Neumann Architecture
A CPU performs each instruction using a ‘register’, a tiny memory location (memory store)
What does it mean?
ACC

A

The Accumulator

19
Q

Assembly Language and the Von Neumann Architecture
What does it mean?
PC

A

The Programme Counter

20
Q

Assembly Language and the Von Neumann Architecture
A CPU performs each instruction using a ‘register’, a tiny memory location (memory store)
What does it mean?
MAR

A

The Memory Address Register

21
Q

Assembly Language and the Von Neumann Architecture
A CPU performs each instruction using a ‘register’, a tiny memory location (memory store)
What does it mean?
IR

A

The Instruction Register

22
Q

Assembly Language and the Von Neumann Architecture
A CPU performs each instruction using a ‘register’, a tiny memory location (memory store)
What does it mean?
MDR

A

The Memory Data Register

23
Q

What do we mean by LMC - a programme that simulates how a CPU works?

A

The Little Man Computer

24
Q

What is the LMC and what does the LMC simulate?

A

The Little Man Computer simulates how ‘Low Level Programming Code’ is used to operate the CPU.

It mimics how data and instructions are ‘Fetched’, ‘Decoded’ and organised into the CPU registers (small temporary memory stores)and ‘Executed’ using the accumulator.

25
Q

What do we mean when we talk of the brain of the computer?

A

the CPU

26
Q

What are we talking about here?
“The speed of the Fetch-Decode-Execute cycle is determined by the CPU’s clock chip.

This chip uses a vibrating crystal that maintains a constant rate.”

A

Clock speed

27
Q

What is clock speed measured in?

A

hertz (Hz) which is the amount of cycles per second.
clock speed of 500Hz means 500 cycles per second.

Current computers have CPU clock speeds of 3GHz which means 3 Billion cycles per second

28
Q

It is possible to increase the clock speed for a CPU.

This is known as what?

A

overclocking.

In theory, if the clock is faster then the CPU can perform more calculations and perform faster.

29
Q

What is the problem with increasing the speed of a CPU by overclocking?

A

Problem is that CPUs get hot the more work they do – so overclocking is dangerous without the appropriate heat management.

30
Q

A computer system will have two types of storage:

what are they?

A

A computer system will have two types of storage:
Primary – Cache, RAM (aka main memory), ROM
Secondary – Hard Disk, Flash Drive

31
Q

What are four features of Primary storage? (compared to secondary storage)

A

1) Most Primary Storage is volatile (temporary).
2) Primary Storage is expensive and smaller.
3) Primary storage is smaller in capacity (L2 Cache is only 2MB
4) Primary storage is closer to the CPU and/or is integrated onto it and therefore is faster.

32
Q

What are four features of Secondary storage? (compared to Primary storage)

A

1) All secondary storage is (non-volatile) permanent
2) Secondary storage is usually cheaper and large
3) Secondary Storage is bigger in capacity
4) Secondary storage connects to the CPU via cables and therefore is slower

33
Q

How fast is cache memory?

A

Cache memory has read speeds similar to the CPU and is therefore much faster than RAM.

34
Q

CPUs work faster than RAM so how do computers speed things up?

A

They use the cache

So, to improve efficiency the CPU’s ‘Control Unit’ will look first in the cache for the next instruction to see if it has already been copied which reduces the time taken to access data.

If the cache is larger, it is more likely that the next required instruction has already been transferred from the RAM to the CPU thus improving process time.

35
Q

CPUs are very fast

How do you make them go faster?

A

So if CPUs can’t go faster, the solution its to add 2 CPU chips, or 4, or 8, etc).

These chips are called ‘cores’.

36
Q

What are the two ways in which a CPU with more than one core can process more instructions in the same time period:
?

A

They can carry out Parallel Processing which is when the same program can have two instructions processed at the same time.

More cores also enables Multi-Tasking where each core can each process two different programs’ instructions at the same time.

Either way, more cores means more instructions being processed at once.

37
Q

What are embedded systems?

A

In devices such as phones or cameras