Hardware & Software Examples in CS Thinking

Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Hardware & Software.

This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in CS Thinking.

Concept Recap

Hardware is the physical components of a computer (processor, memory, storage, peripherals). Software is the set of instructions (programs) that tell hardware what to do.

Hardware is the body, software is the mind. One is physical stuff you can touch; the other is instructions that make it useful.

Read the full concept explanation โ†’

How to Use These Examples

  • Read the first worked example with the solution open so the structure is clear.
  • Try the practice problems before revealing each solution.
  • Use the related concepts and background knowledge badges if you feel stuck.

What to Focus On

Core idea: Hardware and software are interdependent โ€” hardware provides capability, software provides purpose.

Common stuck point: Firmware blurs the line โ€” it's software permanently stored on hardware (like a router's built-in program).

Worked Examples

Example 1

easy
Classify each as hardware or software: (a) RAM, (b) web browser, (c) keyboard, (d) operating system, (e) hard drive, (f) word processor.

Solution

  1. 1
    Step 1: Hardware is physical โ€” you can touch it. (a) RAM: hardware (physical chip). (c) Keyboard: hardware. (e) Hard drive: hardware.
  2. 2
    Step 2: Software is a set of instructions/programs. (b) Web browser: software. (d) Operating system: software. (f) Word processor: software.
  3. 3
    Step 3: Hardware provides the physical platform; software provides the instructions that make hardware useful. Neither works without the other.

Answer

Hardware: RAM, keyboard, hard drive. Software: web browser, operating system, word processor.
Hardware and software are complementary. Hardware provides computational capability; software directs that capability to perform useful tasks. Understanding both is fundamental to computing.

Example 2

medium
Explain the relationship between hardware and software using the example of playing a video on a computer. What role does each play?

Practice Problems

Try these problems on your own first, then open the solution to compare your method.

Example 1

medium
A school is buying new computers. Explain why upgrading the RAM and switching from hard drives to SSDs would improve performance. What type of component is each (hardware or software)?

Example 2

hard
Explain what firmware is and how it relates to both hardware and software. Give two examples of devices that use firmware.