Published by Patrick Mutisya · 14 days ago
Describe the principal operations of hardware devices.
The CPU is the brain of the computer. Its main operations are:
The speed of these operations is often expressed by the clock period \$T\$:
\$T = \frac{1}{f}\$
where \$f\$ is the clock frequency (in Hz).
Memory stores data and instructions. Its principal operations are:
Input devices convert physical signals into digital data that the CPU can process.
| Device | Principal Operation | Typical Example |
|---|---|---|
| Keyboard | Detect key press/release and generate scan codes. | QWERTY keyboard |
| Mouse | Measure movement (optical or mechanical) and button clicks. | Optical mouse |
| Scanner | Convert light reflected from a document into a bitmap. | Flat‑bed scanner |
Output devices transform digital data into human‑readable or usable forms.
| Device | Principal Operation | Typical Example |
|---|---|---|
| Monitor (CRT/LCD) | Render pixel data as images using raster scanning. | HD LCD monitor |
| Printer | Convert bitmap or vector data into ink or toner marks on paper. | Laser printer |
| Speaker | Convert digital audio samples into analog sound waves. | Stereo speaker |
Storage devices retain data when the computer is powered off. Their key operations include:
The bus provides pathways for data, addresses, and control signals. Its operations are:
| Hardware Component | Principal Operations |
|---|---|
| CPU | Fetch, Decode, Execute, Store |
| Memory (RAM) | Read, Write, Refresh (DRAM) |
| Input Devices | Signal detection, digitisation, encoding |
| Output Devices | Data conversion, rendering, signalling |
| Storage | Sequential/Random access, erase/write cycles |
| Bus/Control Unit | Data transfer, address routing, control signalling |