ExamSaathi learning library · Government exams · SSC CGL computer knowledge; published syllabus labelled 2024 · Computer knowledge
Computer organisation: CPU, buses, input and output devices and ports
How a computer is organised: the block diagram; the CPU's ALU, control unit and registers; the machine cycle and buses; and common input devices, output devices and ports.
Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.
You will learn to
- Describe the block diagram of a computer and how data flows from the input unit through memory and the CPU to the output unit.
- Explain what the ALU, control unit and registers do, and the fetch, decode and execute steps of the machine cycle.
- Name the data bus, address bus and control bus, and say what GHz and more cores mean for a CPU.
- Classify input and output devices and data-capture methods such as OMR, MICR and OCR, and match USB, HDMI, VGA and RJ-45 ports to their uses.
Before you start
A computer takes in data, processes it by following instructions, stores data and results, and gives results out. Hardware is the physical parts, such as the keyboard and printer; software is the programs that tell the hardware what to do. Firmware is software kept in a device's non-volatile memory, often flash, such as a computer's start-up program; it can usually be updated.
The block diagram and the parts of the CPU
In the usual block diagram, the input unit turns what we type, click or scan into binary signals and passes them to the memory unit, which holds the program and data in use. The CPU takes instructions and data from memory, works on them and returns results to memory, from where the output unit turns them into a display, a printout or sound. Control lines run from the control unit to every block. The CPU has three main parts. The arithmetic logic unit (ALU) does arithmetic, such as adding, and logic, such as testing whether one value is larger than another. The control unit (CU) directs and times every other part: it reads each instruction and signals the right part to act at the right moment, but does no calculating itself. Registers are small, fixed-size stores inside the CPU, the fastest in the computer, each holding an instruction, an address or a value in use.
The machine cycle, the system bus and clock speed
The CPU runs a program through a repeating machine cycle. Fetch: the control unit copies the next instruction from memory into a register. Decode: it works out what the instruction asks for. Execute: the ALU or another part carries it out, and the result goes to a register or to memory. The links between the parts are usually taught with a traditional, simplified model: a system bus with three groups of lines. The data bus carries data both ways; the address bus carries the memory location to be read or written, outward from the CPU; and the control bus carries signals such as read, write and clock pulses that time each transfer. Modern computers use faster links, often point-to-point, but these still carry data, addresses and control signals. Clock speed is counted in gigahertz: a 3 GHz clock ticks 3 billion times a second. A multi-core CPU has two or more processing units, called cores, on one chip, so it can run several tasks at once, though one task speeds up only if its work can be shared out.
Input devices, data capture and output devices
Input devices: keyboard, mouse and touchpad (pointing), scanner (paper into an image), microphone, webcam, joystick (games), barcode reader (striped codes on goods at a billing counter) and biometric reader (fingerprint, iris or face, as for office attendance). Three methods capture data from paper. OMR (optical mark recognition) senses filled bubbles on answer sheets. MICR (magnetic ink character recognition) reads the magnetic-ink characters along the bottom of a bank cheque, so machines can sort cheques fast. OCR (optical character recognition) turns printed text in a scanned image into editable text. Output devices: monitor (soft copy), printer (hard copy), plotter (large maps and building plans), speakers and projector. A dot-matrix printer is an impact printer: its pins strike an inked ribbon, so it is noisy but can print carbon copies. Inkjet (sprayed ink drops) and laser (toner fixed by heat) printers are non-impact, quieter and sharper. A touch screen, as at an ATM, is both input and output.
Ports and plug and play
USB (Universal Serial Bus) ports link keyboards, mice, printers and pen drives; the small, reversible USB Type-C plug can also carry power and, on many devices, video. HDMI carries digital video and sound in one cable to a monitor, TV or projector. VGA is an older 15-pin port for analogue video only. An RJ-45 socket takes a wired Ethernet network cable, and the 3.5 mm audio jack takes headphones or a microphone. Plug and play means the computer usually recognises a newly connected device and sets it up automatically, provided a compatible driver is available.
Common mistakes
Saying that the control unit calculates; the ALU does that, while the control unit directs. Placing registers in main memory; they are inside the CPU. Thinking the address bus carries the data itself; in the bus model it carries locations. Mixing up OMR (bubbles), MICR (cheque characters) and OCR (printed text). Calling a laser or inkjet printer an impact printer. Listing a touch screen as output only. Expecting VGA to carry sound, or two cores to double every program's speed.
A routine for computer organisation questions
1. Place the part in the block diagram. 2. In the CPU, ask whether it calculates (ALU), directs (control unit) or holds an instruction, address or value (register). 3. On a bus, ask whether data, an address or a control signal travels. 4. For a device, ask which way data moves: in, out or both. 5. For a port, ask what it must carry.
Worked examples
At a railway reservation counter in Lucknow, name the unit or CPU part for each job: typing the details, holding the booking program, comparing the berths asked for with those free, directing each step, and printing the ticket.
- The keyboard is part of the input unit, the program and details sit in the memory unit, and the printer is part of the output unit.
- Comparing berths is a logic task for the ALU, using values held in registers, while the control unit fetches and decodes each instruction and directs each part.
Answer: Input unit (keyboard), memory unit, ALU with registers, control unit, output unit (printer).
A bank branch in Patna must read the code line on cheques, mark staff quiz sheets with filled bubbles, turn a typed letter into editable text, and print a form with a carbon copy. Which method or device suits each job?
- Cheque code lines are printed in magnetic ink, so MICR reads them, and filled bubbles in fixed places are read by OMR.
- OCR turns the printed words of a scanned letter into editable text, and only an impact printer, such as a dot-matrix, can press through to a carbon copy.
Answer: MICR, OMR, a scanner with OCR, and a dot-matrix printer, in that order.
Practice checks
- Which part of the CPU directs and times the work of every other part but does no calculating itself?
- In the machine cycle, what happens in the decode step?
- In the simplified three-bus model, which bus carries the memory location that the CPU wants to read or write?
- A teacher wants one cable to carry both picture and sound from a laptop to a classroom projector. Which port suits this?
- Which list contains only output devices?
Sources checked
- SSC CGL Scheme and Syllabus, labelled 2024 — Tier-II Paper-I Section-III Module-I Computer Knowledge Module (syllabus heading Computer Proficiency) (Computer Basics: organisation of a computer, Central Processing Unit, input/output devices, ports); not verified as the full 2026-cycle syllabus
- NCERT, Computer Science, Textbook for Class XI — Chapter 1, Computer System: the components of a computer, the CPU with its arithmetic logic unit, control unit and registers, input and output devices, and the buses that carry data, addresses and control signals; ideas only
- Wikipedia, Central processing unit — The CPU as the electronic circuitry that executes instructions, its arithmetic logic unit, control unit and registers, and the fetch, decode and execute steps; ideas only