Topic 1 - CPU Architecture Flashcards

1
Q

Hardware

A

hardware is the physical stuff that makes up the computer system ( e.g motherboard, monitor)

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

Software

A

software is the programs or applications that a computer system runs

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

What is an embedded system

A

-embedded systems are computers built into other devices that performs specific function
- they often control and monitor machinery in dishwashers, microwaves, TVs, etc.

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

Advantages of using embedded system

A
  • easier to design
  • cheaper to produce
  • more efficient at doing their task
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the CPU do?

A
  • it processes all of the data and instructions that make the system work
  • it controls the rest of the computer system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Control Unit

A
  • it follows the FDE cycle
  • it controls the execution of instructions in the right order
  • it decodes instructions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

register

A

very fast memory location within the CPU that hold tiny bits of data needed by CPU

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

ALU

A
  • does arithmetic operations ( + , - , / , * )
  • performs logical operations (AND, OR , NOT)
  • contains accumulator register
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Cache

A
  • very fast memory inside the CPU that stores regularly used data so the CPU can access it quickly
  • can access it much quicker rather than accessing it from RAM
    -low capacity + expensive
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

PC

A
  • Program Counter
  • points to the address of the next instruction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

MAR

A
  • Memory Address Register
  • holds the address of the instruction to be fetched or stored
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

MDR

A
  • Memory Data Register
  • stores actual data or instruction that is fetched or stored from/ to memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Accumulator

A
  • stores intermediate results of calculations in ALU
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

FDE cycle ( FETCH )

A
  • The address in the PC is copied to the MAR
  • The address is sent to the RAM via the address bus
  • The instruction stored in that address is copied to the MDR via the data bus
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

FDE cycle ( DECODE )

A
  • the contents of the MDR are copied into the CIR
  • the contents of the PC are incremented so it points to the next address
  • the contents of the CIR are divided into the opcode and operand
  • CU interprets and decodes the opcode and prepares for next step
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

FDE cycle ( EXECUTE )

A
  • the instruction is performed
  • this could be writing data to memory, doing a calculation or halting a program
17
Q

Which three factors affect CPU speed

A
  • Clock speed
  • Number of cores
  • Cache Size
18
Q

Clock speed

A
  • number of instructions a single core can carry out per second
  • the higher the clock speed the more instructions that can be carried out per second,
  • which means data is processed faster
19
Q

overclocking
- what are potential problems

A

manually increasing clock speed of computer’s CPU
- it can make CPU overheat or crash
- cooling system needed

20
Q

Cores

A
  • each core processes data independently of the rest
  • the more cores a CPU has the more instructions it can carry out at once
  • it can process a batch of data faster
21
Q

when might increasing number of cores not affect anything?

A
  • some software is not written to make us of multiple cores
  • so it will not run quicker on a multi-core computer
22
Q

Cache size

A
  • the CPU can access more regularly used data faster with a larger cache size
  • it acts as a buffer between CPU and RAM
  • because the CPU can access data faster from the cache than the RAM