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) that you can touch. Software is the set of instructions (programs) that tell hardware what to do. Together they form a complete computing system—hardware provides the capability, and software provides the purpose.

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).

Sense of Study hint: When distinguishing hardware from software, ask: can I physically touch it? If yes, it is hardware. If it is a program, app, or set of instructions, it is software. Remember that firmware is a special case—software that is permanently embedded in a hardware device.

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.

Answer

Hardware: RAM, keyboard, hard drive. Software: web browser, operating system, word processor.

First step

1
Step 1: Hardware is physical — you can touch it. (a) RAM: hardware (physical chip). (c) Keyboard: hardware. (e) Hard drive: hardware.

Full solution

  1. 2
    Step 2: Software is a set of instructions/programs. (b) Web browser: software. (d) Operating system: software. (f) Word processor: software.
  2. 3
    Step 3: Hardware provides the physical platform; software provides the instructions that make hardware useful. Neither works without the other.
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.

Example 3

easy
Classify a CPU: is it hardware or software?

Example 4

easy
Classify a web browser: hardware or software?

Example 5

easy
Classify a keyboard: hardware or software?

Example 6

easy
Classify an operating system like Windows: hardware or software?

Example 7

easy
True or false: hardware can do useful work with no software at all.

Example 8

easy
Classify RAM (memory chips): hardware or software?

Example 9

easy
Firmware is embedded code on a chip. Is firmware fundamentally hardware or software?

Example 10

easy
A photo file stored on disk is which: hardware, software, or data?

Example 11

medium
Sort these into hardware (H) or software (S): monitor, spreadsheet app, hard drive, antivirus program. List the software ones.

Example 12

medium
A laptop screen flickers due to a loose cable. Can a software update fix this? Answer yes or no and why in one word.

Example 13

medium
Which layer runs first when a computer boots: firmware, operating system, or a user app?

Example 14

medium
App crashes only on one specific laptop but works on all others with the same software. Is the likely cause hardware or software?

Example 15

medium
Name the role each fills: hardware provides ____ and software provides ____. (one word each)

Example 16

medium
Is a printer driver hardware or software, and what does it do in one phrase?

Example 17

medium
Classify each: GPU, video-editing program, SSD. Which one is software?

Example 18

medium
A game requires more RAM than a computer has. Is this a hardware limitation or a software bug?

Example 19

medium
Which of these is software: a network cable, a router's firmware, or a USB port?

Example 20

challenge
A smart thermostat has sensors, a chip running embedded code, and a temperature display. Identify its hardware, its software, and its data in one phrase each.

Example 21

challenge
Argue why upgrading the CPU (hardware) might NOT speed up a program that waits on slow disk reads.

Example 22

challenge
Explain why hardware and software are interdependent using a one-sentence consequence of removing each.

Example 23

easy
Classify a mouse: hardware or software?

Example 24

easy
Classify a spreadsheet app: hardware or software?

Example 25

easy
Classify a hard disk drive: hardware or software?

Example 26

easy
Hardware provides ____ and software provides ____. (one word each)

Example 27

easy
Classify a USB cable: hardware or software?

Example 28

medium
Sort: webcam, video chat app, microphone, video codec. Which two are software?

Example 29

medium
A laptop overheats and shuts off. Can a software update reliably fix this if the cooling fan is broken?

Example 30

medium
An app crashes only on one specific phone, with the same OS and version as others. Hardware fault or software bug?

Example 31

medium
Which boots first when you power on a computer: firmware, OS, or user app?

Example 32

medium
Classify each: GPU, antivirus program, RAM, OS kernel. How many are software?

Example 33

medium
A bug in a router gets fixed by 'updating the firmware'. Is the fix hardware or software work?

Example 34

medium
A program is slow because the disk it reads from is slow. Is the bottleneck hardware or software?

Example 35

medium
A smart TV ships with built-in apps. Are the built-in apps hardware or software?

Example 36

hard
A scientist replaces a normal CPU with a GPU and sees a 50x speedup on matrix code. Is this a hardware win, a software win, or both?

Example 37

hard
A 'cloud server' is in someone else's data center. Why is it accurate to say cloud computing still depends on hardware?

Example 38

hard
A smart thermostat has temperature sensors, an ARM chip running embedded code, and a screen. Label its hardware, software, and data in one phrase each.

Example 39

hard
A 'virtual machine' is software that pretends to be hardware. Does it still require real hardware to run?

Example 40

hard
A school says 'we have new software but old computers'. Explain in one sentence why this can still bottleneck performance.

Example 41

challenge
A device runs the same OS and same app version as another but uses a different chip vendor. Users see different behavior on one device. What category of bug is most likely?

Example 42

challenge
Explain in one sentence why investing only in faster hardware without updating software can give disappointing speedups.