1.1.2 Computing Basics

Hardware vs. Software

  • Two fundamental categories of computer components
    • Hardware: tangible, physical parts (inside the chassis or externally attached)
    • Analogy: a car without a driver—has potential energy but cannot act on its own.
    • Software: electronically-stored instructions or data (on drives or chips)
    • Analogy: the driver—provides purpose, control, and direction to hardware.
  • Key maxim: Hardware = potential ; Software = instructions.

Five Functional Groupings of Hardware

  1. Input – bring data into the system.
  2. Processing – analyze & interpret data.
  3. Storage – keep data (short-term or long-term).
  4. Output – present data in human-usable form.
  5. Networking – exchange data between separate computers.

Each device type below is slotted into one (or sometimes more) of these functions.


Input Devices

  • Keyboard
    • Internal scanning chip detects every key press.
    • Sends the associated scan code (electrical signal) to the computer → processed as letters, numbers, or commands.
  • Mouse
    • Tracks movement as planar coordinates (x, y).
    • Two mainstream technologies:
    • Optical mouse: LED/laser + sensor images surface to gauge motion.
    • Mechanical mouse: embedded trackball rolls; motion sensors detect ball rotation direction.
  • Touchscreen (integrated input surface)
    • Captures screen taps instead of keystrokes or pointer motion.
    • Two principal technologies:
    1. Resistive
      • Two flexible, conductively-coated layers separated by a thin gap containing a uniform electric current.
      • Pressure causes outer layer to bend, touch inner layer → circuit completed → generates (x, y) coordinate.
      • Works with any solid object (finger, stylus, glove, plastic).
      • Common in public kiosks (airports, libraries).
    2. Capacitive
      • Glass coated with conductive material; steady electric field exists.
      • A conductive object (human finger) alters local capacitance → sensors compute (x, y) coordinate.
      • Used by nearly all smartphones, tablets, some laptops.
      • Requires conductivity → normal gloves or plastic stylus usually fail unless specialized.

Processing Devices

  • CPU (Central Processing Unit) – "the brain"
    • Executes instructions, manipulates data.
    • Example conditional behavior: the same A key press may insert the character A in a word processor or move a game character left—dependent on software logic.
  • RAM (Random Access Memory)
    • Stores data currently being processed and software currently running.
    • Also classed as a storage device (short-term).
    • Characteristic: volatile → data lost when power removed.
    • Compelling reason to use: speed—fastest medium for CPU to read/write.

Storage Devices

Short-Term / Volatile Storage

  • RAM (already introduced)
    • Erased on shutdown; extremely fast; size measured in GB.

Long-Term / Non-volatile Storage

  • Persist even without power (persistent).
  • Hard Disk Drive (HDD)
    • Rotating platters coated with magnetic material.
    • Large capacity, moderate speed.
  • Solid-State Drive (SSD)
    • NAND flash memory chips.
    • No moving parts, faster seek times than HDD; still slower than RAM.
  • Optical Discs
    • CD, DVD, Blu-ray (BD/BRD).
    • Two categories:
    • Read-Only (ROM) – data fixed, e.g., installation media \text{CD-ROM},\ \text{DVD-ROM}.
    • Writable / Re-writable – user can burn data.
      • Recordable suffixes: R (write once) or RW (erase & rewrite): \text{CD-R},\ \text{DVD-RW},\ \text{BD-R}.
  • Flash Drive (USB thumb drive)
    • Portable, plug-and-play; flash memory; persistent.
  • Secure Digital (SD) Card
    • Tiny form factor; used in phones, tablets, cameras.
    • Non-volatile NAND memory.

Comparison recap:

  • Speed: \text{RAM} > \text{SSD} > \text{HDD} > \text{Optical}.
  • Volatility: Only RAM loses data on power-off.

Output Devices

  • Monitor
    • Visual display of processed data: spreadsheets, videos, games.
  • Printer
    • Converts digital information into printed hard copy.
  • Sound Card / Speakers
    • Digital → analog conversion; outputs audible signals.

(Note: output devices can produce visual, auditory, or other sensory formats.)


Networking Devices

  • Goal: allow two or more computers to exchange data, forming a network.
  • Requires:
    1. Network Interface (NIC, Wi-Fi adapter, etc.) inside each system.
    2. Connecting medium
    • Physical cabling (Ethernet) or wireless radio signals.
  • Device duality: when one computer transmits (output), the other receives (input).

Modular Design

  • Definition: standardizing interfaces so components are interchangeable across different systems/brands.
    • E.g., a monitor with HDMI or DisplayPort connects to any compatible computer.
  • Historical contrast: Early computers used proprietary parts; repair meant sending entire system back to manufacturer.
  • Modern benefits:
    • Easier upgrades and replacements (e.g., adding any brand HDD to your PC).
    • Encourages competition, lowers cost, speeds innovation.

Ethical, Philosophical & Practical Implications

  • Right-to-repair is enabled by modular, standardized hardware.
  • User empowerment: Knowledge of components lets technicians diagnose, upgrade, and optimize systems.
  • E-waste reduction: Swapping only failed modules (instead of whole devices) lessens environmental impact.
  • Security & privacy: Ability to replace storage devices quickly aids in data sanitization or secure disposal.

Comprehensive Quick-Reference Checklist

  • Distinguish hardware vs. software.
  • Memorize five hardware function groups: input, processing, storage, output, networking.
  • For each input device, know how it captures data (keystroke, optical sensor, resistive/capacitive touch).
  • For processing, recall roles of CPU (execute) & RAM (fast volatile storage).
  • For storage, differentiate volatile vs. non-volatile, short-term vs. long-term; know examples & properties.
  • For output, associate device → medium (visual, paper, audio).
  • Recognize that network hardware can behave as both input & output simultaneously.
  • Appreciate modular design as cornerstone of modern PC repair, upgrades, and cross-compatibility.

Mnemonic Aid

"I Prefer Smart Organized Nodes" → Input, Processing, Storage, Output, Networking.


End-of-Lesson Re-cap

  • Hardware = potential, Software = instructions.
  • Every device fits into one or more of the five functional roles.
  • Modular standardization liberated users from proprietary lock-in, fostering today’s vibrant PC ecosystem.