Everything removed from the sylabus (for 2022 only) Flashcards

1
Q

What is a CPU

A

Central Processing Unit, controls the manipulation of data.

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

What is the ALU?

A

Arithmetic / Logic Unit, performs arithmetic operations like addition and the logic operations like true and false

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

What is the CU?

A

Control Unit, the circuits which coordinate the activities of the CPU

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

What is a register

A

Quick, small stores of data within the CPU which exist as a temporary storage on the CPU

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

What is Von Neumann Architecture?

A
  • Instructions to be executed are stored along side the data in the memory. The stored programme concept
  • Instructions are executed sequentially, one instruction at a time is fetched from the memory and passed to the CPU. Data and instructions cannot be accessed at the same time
  • If the connection in the wire is too slow you got a Von Neumann bottle neck.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Why do computers have a system clock?

A

It provides timing signals, producing a steady pulse of voltage to synchronise circuits. Eg: you only transfer data on the rising edge, or write data on the falling edge.

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

How does the CPU use the system clock?

A
  • The CPU is much faster that the other components, takes the system clock and raises its speed, this is the clock speed (Hz).
  • The CPU needs a certain amount of clock ticks to execute an instruction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the fetch execute cycle?

A
  • Fetch: the next instruction is retrieved by the CPU from the main memory
  • Decode: The instruction is broken down into its individual components (operator and operand)
  • Execute: The CU activates the necessary circuits and the output of the stage is stored in the register, data may be written or read to main memory.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What factors effect CPU performance?

A
  • Clock speed
  • Cache
  • Cores
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How does clock speed effect CPU performance?

A

CPU carries out a set number of instructions per clock cycle. The higher the clock speed, the more instructions executed per second. Not designed to work at really high speeds, can overheat

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

How does Cache effect CPU performance?

A

Cache exists to speed up the fetch stage, as cache is checked first. The larger the cache, the more instructions accessed faster, more likely to get a cache hit.

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

How does Cache type effect CPU performance?

A
  • trade off between cache speed and cache size.
  • there are multiple levels of cache. L1 embedded in the chip (smallest and fastest, most used data)
  • L2/L3 are larger and slower cache which is between the CPU and RAM.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How does number of cores effect CPU performance?

A

A CPU can have multiple cores. When the software is optimised, multiple cores can allow multiple instructions to be executed simultaneously. Each core will have their own L1 Cache. Performance will increase for multiple instructions.

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

What is an embedded system?

A
  • A special purpose computer encapsulated by a larger system. Eg: microwave, hot tub, radio
  • Only perform very specific tasks and cannot be easily reprogrammed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Describe some characteristics of embedded systems.

A

Tend to:

  • Have memory and CPU on the same chip
  • Have more ROM than RAM (or no RAM at all)
  • Work in real time (deals with the input straight away)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

benefits of embedded systems

A
  • usually smaller than non embedded systems
  • more reliable, work for longer and need less maintenance
  • optimised for a particular task, so will work better
  • likely to use ROM for their main memory, which is cheaper than RAM (which non embedded systems are likely to use)