| Table of contents | |
| Memory Unit | |
| How the units interact | |
| Summary |
The basic high-level model of a computer can be described by four principal units that work together to perform computing tasks. These units are the foundation of computer organisation and are present, in one form or another, in all digital computers.

The Central Processing Unit (CPU) is the primary component that executes instructions and controls the operation of the computer. It interprets program instructions, performs arithmetic and logic operations, and coordinates the activities of all other units by generating control signals.
The basic instruction cycle carried out by the CPU is commonly described as fetch → decode → execute. A typical sequence is:
The Input Unit is responsible for accepting data and programmes from external sources (users or other systems) and converting these inputs into a binary form that the computer can process. Input devices connect to the computer through input controllers or device interfaces which handle signalling and data transfer under the control of the CPU.
Examples of input devices include:
Typical methods used to manage input transfers are programmed I/O (polling), interrupt-driven I/O and Direct Memory Access (DMA).
The Output Unit converts processed binary information from the computer into human-readable form or into a form usable by other devices, and sends it to output devices or secondary storage for permanent retention. Output operations are performed under control of the CPU using output instructions or via DMA and controllers.
Examples of output devices include:
The Memory Unit stores data and instructions that the CPU uses. Memory is organised in a hierarchy according to speed, cost and volatility. The main distinction is between primary (main) memory and secondary (auxiliary) memory.
Main memory is typically semiconductor-based and directly accessible by the CPU. It holds the programs and data currently in use. Primary memory is usually volatile, meaning it loses its contents when power is removed.
Secondary memories are non-volatile devices used for permanent or long-term storage of programs and data. They provide larger capacity at a lower cost per bit but are slower than primary memory.
Examples of secondary storage devices:
The units interact through a system of buses and control signals. The system bus typically contains an address bus (to select memory or I/O locations), a data bus (to transfer data), and a control bus (to carry control and timing signals). The CPU issues memory read/write requests and I/O commands; data moves between memory, CPU registers and I/O devices according to these requests and the control signals generated by the control unit.
A practical understanding of the basic computer model emphasises the roles and coordination of the CPU, input, output and memory units. The CPU controls and executes instructions using registers and the ALU; the input and output units provide interfaces to the outside world; and the memory unit stores programs and data in a hierarchy that balances speed, capacity and cost. Together these units form the organised structure required to run programmes and solve computational problems.
20 videos|115 docs|48 tests |
| 1. What is the basic computer model? | ![]() |
| 2. What is a memory unit in a computer? | ![]() |
| 3. What are the different units of a computer? | ![]() |
| 4. How does the memory unit work in a computer? | ![]() |
| 5. What is the difference between primary and secondary memory? | ![]() |
20 videos|115 docs|48 tests |
![]() | Explore Courses for Computer Science Engineering (CSE) exam |