Introduction to Personal Computer Systems
Computer System Components & Architecture
- Hardware: Physical components of a computer including the CPU, motherboard, RAM, storage drives, power supply, case, and external peripherals.
- Software: Programs, scripts, and operating systems that instruct hardware to access, process, and store data.
- Basic Architecture: Data flows from input devices into the Central Processing Unit (CPU) and Memory Unit, and results are sent to output devices.

Cases and Power Supplies
- Computer Cases: Enclosures (desktop or tower) made of plastic, steel, or aluminum that protect components and facilitate cooling via vents and case fans.
- Electricity Terms & Formulas:
- Voltage (V): Force required to push electrons through a circuit (measured in volts).
- Current (I): Rate of electron flow through a circuit (measured in amperes/amps).
- Power (P): Electric energy rate measured in watts (W), where P=VI.
- Resistance (R): Opposition to current flow measured in ohms; related via Ohm's Law V=IR
- Power Supply: Converts AC power from a wall outlet into DC power at lower voltages. Typical ratings range from 200W to 500W (and up to 800W for high-performance systems).
- Power Connectors: Keyed connectors including Molex (optical/hard drives), Berg (floppy drives), 20-pin or 24-pin slotted (motherboard), and 4-pin to 8-pin auxiliary connectors.
Motherboards, Processors, and Cooling
- Motherboard: The central printed circuit board (PCB) connecting all components via buses. Form factors include AT, ATX, Mini-ATX, Micro-ATX, LPX, NLX, and BTX.
- Chipset: Integrated circuits controlling component communication:
- Northbridge: Controls access to RAM, video card, and CPU speed.
- Southbridge: Controls communication with I/O ports, hard drives, and sound cards.
- Central Processing Unit (CPU):
- Control Unit (CU): Manages data transfer and interprets instructions without storing or processing data directly.
- Arithmetic Logic Unit (ALU): Executes arithmetic and bitwise logic operations on integer binary numbers.
- Architectures: RISC (small instruction set, fast execution) vs CISC (broad instruction set, fewer steps per operation).
- Form Factor & Performance: Mounts via sockets (PGA with Zero Insertion Force) or expansion-style slots. Speeds are measured in MHz or GHz across 32-bit or 64-bit data buses. Supports single-core, dual-core, and hyperthreading.
- Cooling: Combines case fans, CPU heat sinks/fans, GPU fans, and liquid cooling systems (water block, pump, radiator) to prevent thermal damage.
Memory Systems: ROM, RAM, and Cache
- Read-Only Memory (ROM): Non-volatile storage containing boot instructions (firmware).
- PROM: Programmable once after manufacture.
- EPROM: Erasable using strong ultraviolet light.
- EEPROM: Electrically erasable flash memory re-writable without removal.
- Random-Access Memory (RAM): Volatile main memory storing active data and programs.
- Dynamic RAM (DRAM): Requires periodic electrical refresh cycles (capacitors/transistors); includes FPM, EDO, SDRAM (up to 133MHz), DDR, DDR2, and RDRAM.
- Static RAM (SRAM): High-speed flip-flop memory requiring no refresh; used for CPU cache and registers.
- Memory Modules: DIP (individual chips), SIMM (30-pin/72-pin, 32-bit), DIMM (168-pin/184-pin/240-pin, 64-bit), and RIMM (184-pin).
- Cache Memory: High-speed SRAM buffer categorized into L1 (internal CPU), L2 (integrated/external), and L3 (workstation/server).
- Error Checking: Nonparity (no checking), Parity (8 data bits + 1 parity bit for error detection), and ECC (detects multi-bit and corrects single-bit errors).
Adapter Cards, Expansion Slots, and Storage Drives
- Adapter Cards: Expand system capabilities (NIC, Wireless NIC, Sound, Video/GPU, Modem, SCSI, RAID, USB, Parallel, Serial).
- Expansion Slots: ISA, EISA, MCA, PCI, AGP, and PCIe (x1, x4, x8, x16 serial slots); LPX cases use riser cards.
- Storage Media:
- Floppy Drive: Magnetic 3.5-inch media storing 720KB or 1.44MB
- Hard Disk Drive (HDD): Non-volatile magnetic platters measured in gigabytes (GB) and rotational speeds (rpm
- Optical Drives: Laser-read media including CDs (700MB capacity) and DVDs (8.5GB capacity per side).
- Flash Drives: Portable USB non-volatile memory.
- Drive Interfaces: IDE/ATA (40-pin), EIDE (40-pin with DMA support), PATA, SATA (7-pin), and SCSI (50-pin, 68-pin, or 80-pin).
- Ports and Cables:
- Serial: DB-9/DB-25 male transferring 1 bit at a time (max length 50 feet/15.2m
- USB: Hot-swappable interface supporting up to 127 devices per port using hubs.
- FireWire (IEEE 1394): Hot-swappable interface for up to 63 devices; IEEE 1394a (400Mbps, max 15 feet/4.5m) and IEEE 1394b (800Mbps
- Parallel: DB-25 female / Centronics 36-pin transmitting 8 bits at a time (IEEE 1284).
- SCSI: Transmits over 320Mbps for up to 15 devices (max cable length 80 feet/24.4m single, 40 feet/12.2m multi-device).
- Network (RJ-45): Ethernet (10Mbps), Fast Ethernet (100Mbps), Gigabit Ethernet (1000Mbps); max length 328 feet/100m
- PS/2: 6-pin mini-DIN for keyboard and mouse connections.
- Audio: Line In, Mic In, Line Out, Aux In, Game/MIDI.
- Video: VGA (15-pin analog), DVI (24/29-pin digital/analog), HDMI (19-pin digital audio/video), S-Video (4-pin), Component/RGB.
- Input Devices: Mouse, keyboard, digital camera, biometric scanner, touchscreen, document scanner, bar code reader.
- Output Devices: CRT, LCD (active TFT or passive matrix), DLP projectors, printers, speakers, headphones.
System Resources
- Interrupt Requests (IRQ): 16 hardware lines (0 to 15) used by devices to request CPU service; managed automatically in modern plug-and-play systems.
- I/O Port Addresses: 65,535 hexadecimal addresses (0000h to FFFFh) assigned to exchange data between software and specific hardware components.
- Direct Memory Access (DMA): 8 hardware channels (0 to 7) enabling high-speed peripherals (e.g., SCSI host adapters, sound cards) to transfer data directly to RAM without involving the CPU.