Components Of A Computer - 1.1.2 Flashcards
What is a CPU?
The “brain” of the computer system
What does the CPU do?
Processes all the data and instructions for the system to work
What are the 3 main parts of a CPU?
CU ( Control Unit)
ALU ( Arithmetic Logic Unit)
Cache
Function of the CU?
Overall control of the CPU, manages the fetch-decode-execute cycle
Function of ALU? (4)
Does all the calculations
Performs logic operations (AND, OR, NOT)
Binary shifts
Contains the ACC
Function of Cache (5):
Very fast memory, stores regularly used data so the CPU can access it quickly
Very low capacity and expensive
Different levels of cache
Slower than registers but faster than RAM
If data is not in cache it’s stored in the RAM
What is the Von Neumann architecture?
Currently used data and software are stored in the RAM in memory addresses.
What does the program counter do? (2)
Holds the memory address of the next instruction in the cycle
Found in the CU
Function of the accumulator?
Stores the results of the calculations from the ALU
Found in the ALU
Function of the MAR?
Holds any memory address that the CPU will use
Can be for data or instructions
Function of an MDR?
Holds the actual data or instruction
Explain the fetch-decode-execute cycle (7 steps):
- PC starts at 1 and is copied to the MAR
- PC increases by 1 ready for the next instruction
- MAR fetches the data or instruction from that address in the RAM at and copies it to the MDR
- CU decodes the data or instruction
- The instruction is executed, e.g. loading data from memory, do a calculation in the ALU, change the PC address
- Then copied to the ACC
- Repeats.
What does CPU performance depend on (5)?
Clock speed
Number of cores
Cache size
More RAM
GPU’s
What is the Clock Speed (2)?
Number of instructions that can be carried out by a core per second (Hz)
Higher clock speed = greater number of instructions completed
How does the number of cores affect CPU performance ?
Each core can process data independently
More cores = more instructions completed at once
4 cores in smartphones and PC’s
How does cache size affect CPU performance?
Data storage that is much faster than RAM
Larger cache = CPU has faster access to more data
How does RAM affect CPU performance?
Too little RAM = system may run too slowly and use virtual memory
More RAM = more applications remembered
How do GPU’s help CPU performance?
Graphics processing units
Relieve processing load on the CPU
What are busses?
Sequence of wires which carry electrical signals
3 types:
Address bus - carries memory addresses from processor to other components
Memory bus - carries data from processor to other components
Control bus - carries control signals
What was Moore’s Law?
Observed that every two years the speed and capability of computers should double while the price halves
What are the other components and functions (7)?
Power supply - supplies power to the motherboard and other hardware
Case cooling fan - extracts hot air from the computer case
CPU heat sink and cooling fan - keeps the CPU at a steady temperature
Optical drive - for read/writing of optical discs
RAM sticks - computer memory
Motherboard - main circuit board where all components are connected
Hard disk drive - internal secondary storage