Skip to content

Hardware Basics

Hardware is the physical components that make up a computer - everything you can pick up and hold. Hardware works in concert with software, which provides the instructions the hardware executes.


The CPU is the brain of the computer. It performs all calculations and data processing.

  • Stores active computations in registers - tiny, ultra-fast storage built into the processor
  • Data flows to/from the CPU over the External Data Bus (EDB) and Address Bus
  • Has 3 cache levels: L1 (smallest & fastest), L2, L3 - graduated speed/size trade-offs
  • Clock speed defines the max clock cycles per second - higher = more instructions per second

RAM is the computer’s short-term memory. It holds data for currently running programs.

  • Volatile - all data is wiped when power is lost
  • Common types: DRAM (Dynamic RAM) → modern variant is DDR SDRAM (Double Data Rate)
  • Physical form factor: DIMM sticks (Dual Inline Memory Module)

Holds all persistent data - operating system, applications, files.

TypeMechanismSpeedNotes
HDD (Hard Disk Drive)Spinning magnetic platters, high RPMsSlowerCheaper per GB
SSD (Solid State Drive)Non-volatile flash chips, no moving partsFasterSmaller form factor

The motherboard is the main circuit board that connects all components together. When selecting a CPU, it must be compatible with the motherboard’s socket type.

  • Contains expansion slots - PCIe slots for GPUs, network cards, etc.
  • Houses the CMOS chip which stores BIOS/UEFI settings

Converts AC power from the wall into DC power for components.

  • Most basic desktops run on a 500W power supply
  • Wattage = volts × amps - match it to your component requirements
  • Caution: Never mismatch voltage - plugging a 220V appliance into 120V can cause damage

Peripherals are external devices that add functionality - mouse, keyboard, monitor, webcam.

VersionTransfer Speed
USB 2.0480 Mb/s
USB 3.05 Gb/s
USB 3.110 Gb/s

A SoC packs the CPU, RAM, and sometimes storage onto a single chip. Common in mobile devices, Chromebooks, and embedded systems. Trade-off: performance-limited but power-efficient.


BIOS (Basic Input/Output System) and its modern replacement UEFI are low-level firmware stored on the motherboard that:

  • Run a POST (Power-On Self-Test) to check hardware on boot
  • Initialize all connected hardware
  • Hand off control to the bootloader

BIOS settings are stored on the CMOS chip and persist across reboots.

BIOSUEFI
Disk size supportUp to 2 TB9.4 ZB (GPT)
UIText-onlyGraphical possible
Boot securityNoneSecure Boot
StandardLegacyModern default
  • ROM (Read-Only Memory): Non-volatile, stores permanent firmware (e.g., BIOS chip)
  • RAM: Volatile, stores temporary working data

When working on physical hardware:

  1. Ground yourself - prevent electrostatic discharge (ESD) that can destroy components
  2. Use the right tools - wrong screwdrivers strip standoffs
  3. Label and photograph parts before disassembly
  4. Follow vendor documentation
  5. Apply thermal paste between CPU and heat sink for effective heat transfer
  6. Test the system after assembly before closing the case