The Block Diagram of a Computer
Quick answer The four units every computer is built from — input, CPU, memory and output — and how data and control signals move between them.
A computer is an electronic device that accepts data, processes it according to stored instructions, stores the result and produces output in a useful form. Every computer — a laptop in a school lab, a mobile phone, or the server that runs the IRCTC ticketing website — is built on the same arrangement of parts. Textbooks call this the block diagram of a computer, and you should be able to draw it and label it from memory.
Two words are tested together here. Data means raw, unprocessed facts and figures — the marks 78, 91 and 64. Information is processed data that carries meaning — the average mark, 77.67. The whole purpose of a computer is to convert data into information.
The block diagram has four units.
1. Input unit. It accepts data and instructions from the user, converts them into the binary form the machine understands (only 0 and 1) and passes them to memory. Keyboards, mice and scanners are input devices.
2. Central Processing Unit (CPU). Often called the brain of the computer, it carries out all processing and controls every other unit. It has two main parts. Many textbooks show primary memory as a third part inside the CPU block, so follow the version your class notes use.
- Arithmetic Logic Unit (ALU) — performs all arithmetic operations (addition, subtraction, multiplication, division) and all logical operations (comparisons such as greater than, less than and equal to, and AND, OR, NOT decisions). Every actual calculation happens here.
- Control Unit (CU) — does not process data itself. It fetches instructions from memory, decodes them, and sends timing and control signals telling the other units what to do and when. It is the manager, not the worker.
The CPU also contains a few very fast storage locations called registers, which hold the data an instruction is working on at that instant.
3. Memory unit. Primary memory holds the program being run and the data being worked on, and the CPU can reach it directly. Secondary storage keeps data permanently, but the CPU cannot use it directly — data must first be copied into primary memory.
4. Output unit. It takes the result from memory, converts it from binary into a human-readable form, and presents it on a monitor, printer or speaker.
When you draw the diagram, show solid arrows for the flow of data (input to memory, memory to ALU, ALU back to memory, memory to output) and dashed arrows for control signals running from the control unit to every other unit. A common mistake is to draw the control unit with no arrows reaching the input and output units.
Trace one calculation to fix the sequence in your mind. You type 2500 + 1750 on the keyboard, which is input. The numbers are stored in primary memory. The CU fetches the addition instruction, decodes it and signals the ALU. The ALU adds and sends 4250 back to memory. The CU then signals the output unit, and 4250 appears on the screen. Notice that the ALU never talks to the keyboard directly — everything moves through memory.
Finally, the idea that makes this a computer rather than a calculator is the stored program concept: data and program instructions are held in the same memory, so the machine takes on a completely new job when a new program is loaded, instead of having to be rewired.
- Four units: input, CPU, memory, output — draw and label all four.
- CPU = ALU + control unit (+ primary memory in many textbook versions).
- ALU does all arithmetic and logical work; CU only directs and controls.
- Data flows with solid arrows, control signals with dashed arrows.
- Data is raw facts; information is processed, meaningful data.
- Stored program concept: instructions and data sit in the same memory.
