IntermediateTopic 57 of 104Software & Computing
Computer organisation
CPU, memory and I/O work together to execute programs.
In depth
Computers consist of CPU (control unit, ALU, registers), memory hierarchy (registers, cache, RAM, storage) and I/O connected by buses. The fetch-decode-execute cycle runs instructions; performance depends on clock, cores, caches and memory bandwidth. Von Neumann architecture stores program and data together.
Key points
- Instruction cycle
- Cache hierarchy
- Memory-mapped I/O
ExampleA cache miss can cost hundreds of CPU cycles.
What is Computer organisation?
CPU, memory and I/O work together to execute programs.
Why is it important to understand computer organisation?
Computer organisation explains how hardware runs programs, which helps you write code that uses memory and the processor well.
What are the main parts of a computer?
The processor, memory and input-output devices, linked by buses, with the processor fetching and executing instructions from memory.
Why does the memory hierarchy matter?
Fast caches reduce waiting for slower main memory, so the access pattern strongly affects speed.
How is Computer organisation used in practice?
Typical applications include understanding why accessing an array in order is faster than random access, explaining how a function call uses the stack and seeing how a CPU fetches and executes an instruction.
What should I learn before Computer organisation?
Study "APIs and REST" first (topic 56 of 104 in Software & Computing). It covers the groundwork this topic builds on.
What are the key points of Computer organisation?
Instruction cycle. Cache hierarchy. Memory-mapped I/O.
Can you give an example of Computer organisation?
A cache miss can cost hundreds of CPU cycles.
What comes after Computer organisation?
The next topic is "Operating systems", which builds directly on this one.
How difficult is Computer organisation?
It is classed as Intermediate in Software & Computing (topic 57 of 104). It is an intermediate topic. Work through the beginner topics in Software & Computing first.