CSS Prepare

optional · CSS study notes

I.3 Computer Hardware and Software

⬆️ Back to: P-I.I. Introduction to Computing

🧭

Page Outline — click a heading to jump.

🎯

Exam pattern (2016–2026): No direct question. It is the base for 2026 Q2(c) (hardware upgrade, see I.5) and 2024 MCQ Q4 (system software, see I.13).


1. Definitions

  • Hardware: any physical part of a computer that can be touched.
    • Examples: CPU, RAM, SSD, monitor, keyboard, printer.
    • Does nothing on its own.
  • Software: programs, procedures and documentation that tell the hardware what to do.
    • Cannot be touched; stored on hardware and run by it.
    • Examples: Windows 11, MS Word, a web browser.
  • Firmware (extra mark): software fixed inside hardware, e.g. BIOS/UEFI on a ROM chip.

2. How They Work Together

  • Mutual need:
    • Hardware without software has no instructions.
    • Software without hardware has nothing to run on.
  • Simple example: monitor and mouse = hardware; browser = software.
  • Video game: uses CPU, RAM and GPU, but is software.
  • Operating system: software that lets the user control hardware and other software.

3. Comparison Chart

AspectHardwareSoftware
NaturePhysical, tangibleLogical, intangible
ExamplesCPU, RAM, keyboard, printerOS, MS Word, a game
WearWears out physicallyDoes not wear out
FailureMechanical or electrical faultBugs, crashes, corruption, malware
CopyingMust be manufacturedCopied without loss
FixReplace the partReinstall or patch
Made byEngineering and manufacturingProgramming and software engineering
  • 🧠 Formula: hardware is matter, software is information.

4. Why Software Can Be Copied Without Loss

  • Software = a pattern of bits.
    • Copying reproduces the pattern exactly; the original stays.
    • Near-zero cost per copy (non-rival).
  • Hardware = a physical object.
    • Every unit needs materials, energy and factory time.
  • Consequences:
    • Failure: broken hardware is replaced; broken software is restored from a clean copy.
    • Economics: software has high build cost but almost free copies.
    • Law: this is why piracy is a software problem and copyright protects software.

5. ⚠️ MCQ Traps

  • Both are equally needed: options calling one "more important" are wrong.
  • Software can fail: "non-physical" does not mean "never fails".
  • Firmware: software stored in hardware, not hardware itself.

6. ✅ Self-Test Questions (with Answers)

Q1. Define hardware and software with one example each.

  • Hardware: physical, touchable part — e.g. an SSD or Intel Core i7 CPU.
  • Software: set of instructions stored on and run by hardware — e.g. MS Word or Windows 11.
  • Software types: system software (OS, drivers, utilities) and application software (Word, Chrome).
  • Extra mark: firmware such as BIOS/UEFI.

Q2. Show hardware and software working together in one device.

  • Device: a smartphone paying a utility bill.
  • Hardware:
    • System-on-chip (processor)
    • RAM and flash storage
    • Touchscreen (input) and display (output)
    • Wi-Fi / cellular radio
  • Software:
    • Android OS (memory, scheduling, drivers)
    • Banking app
  • Flow:
    1. Tap → touchscreen sends a signal.
    2. OS reads it as a button press.
    3. App builds the payment and asks the OS to send it.
    4. Radio transmits; reply comes back.
    5. OS drives the display: "Payment successful".
  • CSS angle: SBP's Raast instant-payment system is a software-and-standards layer on hardware Pakistan already had.

Q3. Why can software be reinstalled without loss, while hardware cannot?

  • Software is information: an exact bit copy, made at almost no cost.
  • Hardware is matter: each unit must be built.
  • Failure differs: hardware wears out; software fails through bugs or corruption and is fixed by restoring the correct bits.
  • Result: licensing and copyright, not locks, protect software.