Overview of Computer Hardware and Performance
Computer System Overview
- A computer system comprises two main interdependent components: Hardware (physical tangible parts) and Software (sets of instructions).
- Hardware acts as the physical platform, while software serves as the operational interface between the user and the system.
Major Hardware Categories
- Input Devices: Accept data/instructions from users and translate them into machine-readable binary code (e.g., Keyboard with 104 keys, Mouse, Scanner, Trackball, Light Pen, Microphone, Optical Character Reader, Bar Code Reader).
- Output Devices: Display or output processed results in human-readable forms (e.g., Monitor/VDU, Printer, Plotter, Speakers, Projectors).
- Storage Devices & Memory: Hold data, operating systems, and applications temporarily or permanently.
- Internal Components: Core electronic system hardware inside the casing, including the Motherboard, Power Supply, Cooling Fans, VGA Ports, and Central Processing Unit.
Central Processing Unit (CPU) Architecture
- The CPU functions as the central processor or "brain" of the computer system.

- Control Unit (CU): Fetches and decodes instructions from memory and regulates timing and control signals across all units.
- Arithmetic Logic Unit (ALU): Executes mathematical operations (addition, subtraction, multiplication, division) and logical evaluation using binary logic.
- Registers: Ultra-fast internal storage units holding immediate operands and program control states during instruction execution.
- Clock: Provides synchronizing pulses at a set clock rate measured in gigahertz (GHz).
Memory Hierarchy
- Primary Memory:
- Directly accessed by the CPU to store currently running execution code and data.
- RAM (Random Access Memory): Volatile main memory. Divided into SRAM (Static RAM using flip-flops/MOSFETs; faster, expensive, used in cache) and DRAM (Dynamic RAM using capacitors; requires refresh cycles, cheaper, standard main memory).
- ROM (Read-Only Memory): Non-volatile memory holding static start-up firmware such as the BIOS.
- Cache Memory: Extremely fast RAM placed close to or on the processor die to store frequently requested data.
- Secondary Memory:
- Non-volatile auxiliary storage for long-term data retention.
- Includes Hard Disk Drives (HDD) (typically 3.5 inches for desktops and 2.5 inches for laptops), Solid-State Drives (SSD) using flash memory, Optical Discs (Compact Discs with capacity 600MB to 700MB; DVDs with capacity 4.7GB to 17GB), and USB flash drives.
Basic Functional Operations
- Inputting: Receiving raw data and instructions via user peripheral devices.
- Processing: Executing arithmetic and logical transformations on input data inside the CPU.
- Storing: Keeping data temporarily in primary memory during execution and permanently in secondary storage.
- Outputting: Presenting computed results via display, print, or audio output hardware.
- Controlling: Directing the timing and execution sequence of all components using control signals.
- Response Time: Total time elapsed from task initiation to completion, including operating system overhead, memory/disk accesses, and CPU calculation time.
- Throughput: Total volume of processing work accomplished within a specified time frame.
- CPU Execution Time: Actual processing time spent by the CPU strictly on a given task, excluding I/O waiting time.
- Inverse Relationship:
Performance∝Execution Time1
- Performance Drivers: System capability relies directly on processor clock speed (GHz), memory bandwidth and capacity, secondary storage access speeds, bus I/O throughput, and software compilation optimization.