EVERYTHING Flashcards
(100 cards)
What is the CPU?
It is a component that carries out program instructions using data
What is inside the CPU?
ALU, CU, Cache, Registers
ALU = ?
Arithmetic Logic Unit, Carries out maths and logic calculations
CU ?
Control unit, coordinates the F-E cycle. Decodes instructions.
What is Cache?
Small, fast memory that holds frequently accessed items.
Registers (4)
MAR, MDR, PC, ACC
MAR?
Memory address register, holds address of memory being fetched / written to
MDR?
Memory data register, Instruction that has been fetched / written to
pc?
Program counter, address of next instruction to be fetched from memory
ACC?
Accumulator, holds all results from ALU calculations
What architecture is used in most PCs?
Von Neumann architecture has all these components and is used in most PCs
FDE Cycle?
Fetch Decode Execute Cycle, controlled by the CU. Instructions are fetched from RAM to be decoded and executed by CPU
Step 1 of FDE Cycle
PC displays address in RAM of next instruction to be processed.
Value is copied into MAR
Step 2 of FDE Cycle
PC increases by 1, which prepares CPU for next instruction to be fetched.
Step 3 of FDE Cycle
CPU checks address in RAM which matches with address in MAR
Step 4 of FDE Cycle
instruction in RAM is transferred to MDR
Step 5 of FDE Cycle
instruction in MDR copied into CIR
Step 6 of FDE Cycle
Instruction in CIR is decoded and executed. Any result is stored in the accumulator.
What is clock speed?
rate at which the F-E cycle is carried out (GHz)
Why clock speed higher better?
more cycles/second, faster rate of instructions being carried out on data, faster computer.
Why number of cores bigger better?
If software allows it, each core can execute an instruction at the same time. Instructions faster
Why big cache good?
More regularly used items can be held, reducing reliance on the slower RAM.
what is embedded system?
Computers inside other devices that are simple and usually have one purpose only.
4 examples of embedded system
Smartwatches
Fitness trackers
Traffic lights
Washing Machines.