1.1 System Architecture Flashcards
Hardware
Physical stuff in a computer system, e.g. CPU, keyboard, etc.
Software
Programs that a computer system runs, e.g. operating systems, games, etc.
Embedded systems
Computers built into other devices, usually as control systems. E.g. Dishwashers, microwaves.
- Easier to design
- Cheaper to produce
- More efficient at their task than general-purpose systems
What are the four common CPU components?
- Control Unit (CU)
- Arithmetic Logic Unit (ALU)
- Cache
- Registers
Central Processing Unit (CPU)
Where a computer processes all data and instructions
Control Unit (CU)
Controls the flow of data in and out of the CPU. Manages the fetching, decoding and execution of instructions
Arithmetic Logic Unit (ALU)
Does basic calculations, binary shifts and logic operations
Cache
Stores regularly use data for quick access. Low capacity and expensive. 3 levels of cache memory: L1 -> L3, decreasing speed but increasing capacity
Registers
Temporarily hold small amounts of data. Very quick to read/write to
What are the 3 factors affecting CPU performance?
- Number of cores
- Clock speed
- Cache size
How does the number of cores affect CPU performance?
- Each core process data independently
- More cores -> more instructions carried out per second
- Some software takes advantage of multicore processing
How does clock speed affect CPU performance?
Number of instructions a single processor core can carry out per second
How does cache size affect CPU performance?
Larger CPU cache -> faster access to more data
What is in the Von Neumann Architecture?
- Control unit -> Program counter (PC)
- Arithmetic Logic Unit -> Accumulator
- Registers -> Memory Address Register (MAR) and Memory Data Register (MDR)
- Memory
- Input and output device
Program Counter (PC)
Holds the memory address of the instruction for each cycle