1.1 Systems Architecture Flashcards

CRAMMING AHHHHH (24 cards)

1
Q

What is a computer?

A

An electronic device which takes input, processes data and delivers output

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

To fetch, decode and execute instructions

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

Fetch-execute cycle: Fetch

A

1) PC is checked as it holds the address of the next instruction

2) The MAR uses this address to fetch the instruction from the main memory (RAM) into the CPU and brings it to the MDR (via the data bus)

3) The PC is incremented by 1 to point to the next instruction

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

Fetch-execute cycle: Decode

A

4) The CU decodes the instruction (inspects the instruction and works out what must be done)

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

Fetch-execute cycle: Execute

A

5) The instruction is executed (e.g. the ALU performs a calculation and stores the result in the ACC)
6) The process repeats

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

What does the Von Neumann architecture consist of?

A

CU, ALU, memory unit (typically RAM), inputs and outputs (or CPU and a single memory unit, connected by 3 buses)

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

How is data stored?

A

Data and instructions are all stored within the same memory unit (RAM) in address locations

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

def registers

A

tiny, fast pieces of onboard memory inside the CPU each with a very specific purpose

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

def arithmetic logic unit

A

performs calculations and logical decisions

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

def program counter

A

holds the address of the next instruction

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

def memory address register

A

stores the memory address where data is to be stored or fetched

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

def memory data register

A

holds data fetched from or to be written to main memory

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

def accumulator

A

holds the results of calculations

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

def control unit

A

decodes instructions and sends signals to control how data moves around the CPU

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

def cache

A

memory that provides fast access to frequently used instructions and data without having to go back to RAM

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

def clock speed

A

cycles per second, measured in hertz (Hz)

17
Q

Clock speed

A

1) Measured in hertz (Hz)
2) Number of cycles per second
3) 3.2 GHz clock speed = 3.2 billion instructions can be fetched per second
4) Faster clock speed = more instructions can be fetched per second

18
Q

Cache size

A

1) Temporary storage of data and instructions being read to and written from RAM
2) stores copies of frequently used data and instructions
3) quicker getting items from cache than RAM as cache is closer to the CPU than RAM (it costs time to go to and back from RAM)

19
Q

Why does increasing cache size not always lead to improved performance?

A

A large cache might not increase speed as it is stored and searched linearly

20
Q

Number of cores

A

1) a core is a complete copy of a CPU
2) so a quad-core processor would have 4 separate processing units, each with their own registers, ALU, ACC and CU
3) multiple cores allow multiple instructions to be executed at the same time

21
Q

Why might doubling the number of cores not double the speed?

A

Doubling the number of cores doesn’t simply double the overall speed:
- CPU cores must communicate with each other which takes time
- many programs aren’t designed to make use of multiple cores

22
Q

What is an embedded system?

A

A computer with a dedicated function within a larger mechanical or electrical system

23
Q

Properties of embedded systems

A

1) low power consumption
2) small size
3) rugged operating ranges
4) low cost per unit

24
Q

Examples of embedded systems

A

1) Washing machine
2) Coffee machine
3) Sat nav
4) Printer
5) Air conditioning