Not sure which lesson to do first? Find your level and get a plan →

CS Thinking · Systems, Networks & Impact · Grade 3-5

Hardware & Software

Hardware is the physical components of a computer (processor, memory, storage, peripherals) that you can touch.


Quick Answer

Hardware is the physical components of a computer (processor, memory, storage, peripherals) that you can touch. Software is the set of instructions, the programs and apps, that tells the hardware what to do. You use the idea when you want to know how a device works, or why it stopped working. A cracked screen is a hardware problem and needs a new part. An app that freezes is a software problem and needs a restart or an update.

Why This Matters

Knowing which is which tells you how to fix a problem. If a tablet will not turn on, you check the battery and the charger, which are hardware. If one game keeps closing, you update or reinstall the game, which is software. Mixing them up wastes time: no app can fix a broken key, and a new keyboard will not fix a buggy app.

Intuitive Explanation

Look at a tablet. The glass screen, the battery, the buttons, the speakers and the chips inside are hardware. You can hold them, drop them and break them. Now open a drawing app. The app is software: a long list of instructions that tells the hardware what to do, like 'when a finger touches here, draw a blue dot there'. You cannot touch the instructions. You can only see what they make the hardware do.

Each needs the other. A tablet with no software is a dark piece of glass. A drawing app with no tablet is a list of instructions with nothing to follow them. The same hardware can do very different jobs with different software: one tablet can be a camera, a book or a piano, just by opening a different app.

Some things look like hardware but are really software. The program built into a TV remote or a game controller is called firmware. It lives on a chip inside the device, so it feels like part of the machine, but it is still instructions, and it can sometimes be updated. Here is a good test: if it could be sent over the internet as a file, it is software. A charger cannot be sent as a file, so it is hardware.

Think of it like this. Hardware and software are like a piano and its sheet music. The piano is the part you can touch; the music tells it what to play. Without music the piano stays silent, and music with no piano makes no sound. The comparison stops at who plays: a piano needs a person, but a computer follows its instructions by itself.

Core idea. Hardware and software are interdependent — hardware provides capability, software provides purpose.


When to Use

Use this idea when a question asks whether something is a physical part or a program, or asks how to fix a device problem. Words like screen, battery, chip and keyboard point to hardware; app, game, update and program point to software. If the question asks how all the parts work together on a job, look at the whole Computing System; if it asks what runs the apps and shares out the hardware, that is the Operating System.

Tip. Ask: Is the question whether a part of a device is a thing you can touch or a set of instructions it follows?

How to Recognize It

Before you call something hardware or software, look at what you are being asked about: a physical part, a program, or a whole working device.

  1. Could you pick this part up, drop it, or crack it?

    Yes means hardware, like a keyboard or a battery. No means it is probably software or data, so go on to the next question.

  2. Is it a list of instructions that tells the machine what to do, such as an app or a game?

    Yes means software. If it is a photo, song or message that the instructions work on, it is data, which you meet in Computing System.

  3. Is it the program that starts first and runs every other app?

    Yes points to Operating System, a special kind of software. An ordinary app is just software.

  4. Are you asked how a whole device takes in input and gives output?

    Yes points to Computing System, which puts hardware, software and data together. Hardware & Software only sorts the parts.

Hardware & Software vs Computing System vs Operating System vs Firmware

These all come up when you talk about what makes a device work. Tell them apart by asking whether you mean one part, the boss program, or the whole working machine.

Hardware & Software

Meaning
Hardware is the physical parts of a device, and software is the instructions that tell those parts what to do.
Key test
You are sorting single parts into touchable things and instructions.
Example
A tablet's screen and battery are hardware; the video app on it is software.

Computing System

Meaning
A computing system is a whole working device, made of hardware, software and data, that turns input into output.
Key test
You are describing a whole device doing a job, not sorting its parts.
Example
A self-checkout scans a barcode (input), looks up the price (process) and shows the total (output).

Operating System

Meaning
An operating system is the main software that starts first and shares the device's parts among all the apps.
Key test
It is software, but it runs and manages every other program.
Example
Android on a phone decides which app gets the processor and memory right now.

Firmware

Meaning
Firmware is software kept on a chip inside a device, usually controlling only that one device.
Key test
It lives on a chip, but it is still instructions, so it counts as software.
Example
A game controller gets a firmware update that changes how its buttons respond.

Formula & Notation

Worked Examples

Example 1 — Sort the parts of a game console

Easy

Sort each item into hardware or software: the controller, a racing game, the console's power cable, the update that fixes a bug in the game, the memory chip inside the console, and the console's home-screen menu.
Show the steps and the answer
  1. Ask of each item: can I hold it in my hand? The controller, the power cable and the memory chip: yes.

    Things you can pick up, plug in or break are hardware.

  2. Ask of the rest: is it instructions? The racing game, the bug-fix update and the home-screen menu: yes.

    A game, an update and a menu can all be downloaded as files, so they are software.

  3. Look again at the menu: you see it on the screen, but the menu itself is made by a program.

    The screen is hardware; what the screen shows comes from software.

Answer: Hardware: controller, power cable, memory chip. Software: racing game, bug-fix update, home-screen menu.

Takeaway: If you can hold it, it is hardware; if it can be downloaded, it is software.

Example 2 — Firmware: built in, but still software

Standard

A pair of wireless earbuds keeps losing its connection. The company offers a firmware update that you install through a phone app. Is firmware hardware or software, and could the update fix this problem? What if the problem were a cracked charging case instead?
Show the steps and the answer
  1. Find where firmware lives: on a chip inside the earbuds.

    That is why it seems like hardware: it is built in and you never see it.

  2. Ask whether it can be sent as a file: yes, the update arrives through the phone app.

    Anything that can be downloaded and installed is instructions, so firmware is software kept on a chip.

  3. Match each fix to its cause: a dropping connection can come from the instructions, so new firmware can fix it. A cracked case is a broken part.

    No download can glue plastic back together; a broken part needs a repair or a new part.

Answer: Firmware is software stored on a chip, so the update can fix a software fault like the dropping connection. A cracked charging case is a hardware fault and needs a repair or a replacement.

Takeaway: Firmware is built into a device, but it is still software; software fixes work only on software problems.

Example 3 — Find the mistake: an update for a sticky key

Application

Juice was spilled on Maya's laptop, and now the K key will not move when pressed. Her brother says: 'Just download a keyboard update and it will work again.' Find the mistake and give the right fix.
Show the steps and the answer
  1. Decide what broke: the key is sticky and does not move.

    The key is a physical part. The juice changed the hardware, not the instructions.

  2. Test it: plug in a USB keyboard and press K.

    If K works on the other keyboard, the laptop's software is fine, and only the sticky key is broken.

  3. Choose a hardware fix: clean the key carefully with the laptop switched off, or get the keyboard repaired.

    Only a physical fix can change a physical part; an update only changes instructions.

Answer: The mistake is treating a hardware fault as a software one. The spill damaged the key, so it needs cleaning or repair, not an update. The USB keyboard test shows the software already works.

Takeaway: First decide whether the problem is a part or a program; that tells you which fix can work.

Where You'll See It

  • A game console and its games

    The console is hardware (you can hold it); the game is software (instructions). The console can't do anything fun without a game, and the game can't run without the console — they need each other.

  • Diagnosing why a laptop won't work

    If the screen is cracked it's a hardware problem (a new app won't fix it); if an app keeps crashing it's a software problem (a screwdriver won't fix it). Knowing which tells you how to solve it.

  • A music player

    The speakers, buttons, and battery are hardware; the program that reads your playlist and plays songs is software. Together they make a working device.

Common Mistakes

  1. The slip: A hardware problem can be fixed with a software update, or a software bug can be fixed by replacing a part.

    Why it's tempting: Both 'fix the computer,' so they feel interchangeable.

    Instead: Hardware faults (a broken screen, a dead battery) need physical repair; software faults (a crashed app, a bad setting) need a software fix. Matching the fix to the cause is the whole point of the distinction.

  2. The slip: Hardware and software can each work fine on their own.

    Why it's tempting: You can hold the hardware and you can see the software as files, so each seems self-sufficient.

    Instead: They are interdependent: hardware without software is an inert machine, and software without hardware is just instructions with nothing to run them.

  3. The slip: Firmware is hardware because it's built into a physical chip.

    Why it's tempting: It lives inside a device and you can't easily see or change it, so it feels like part of the machine.

    Instead: Firmware is software (instructions) that happens to be stored on a chip; it's the program that controls the hardware, not the hardware itself.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Sort each item into hardware or software: a keyboard, a drawing app, a USB stick, a web browser, a printer.

    Hint: Ask whether you could pick it up and hold it in your hand.

  2. You press the letter K on a keyboard and a K appears in the story you are typing. List what happens, in order, and say whether each part is hardware or software.

    Hint: Follow the key press from your finger all the way to the screen.

  3. A tablet has a working screen and battery, but no operating system or apps are installed on it. You press the power button. Can it play a video? Explain.

    Hint: Think about which part gives the instructions for playing a video.

  4. Mia has two problems: (1) her game crashes on level 3 every time, and (2) one corner of her screen is cracked and ignores touches. Which needs a software update, and which needs new hardware?

    Hint: Is the problem in the instructions, or in a part you can touch?

  5. Question A: which parts of a smart speaker can you touch, and which are programs? Question B: which program decides which app gets to use the speaker first? Which question is about hardware and software, and which is about the operating system?

    Hint: One question sorts parts into two groups. The other asks about a special program that manages others.

  6. Sam says: "The program inside my TV remote can't be software, because it lives inside the remote. So it must be hardware." What is wrong with his idea?

    Hint: Can you touch the instructions, or only the chip they are stored on?

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Is a USB stick hardware or software?

The stick itself is hardware: you can hold it, and it can break if you step on it. The files on it are not the stick. A game installer saved on it is software, and a story you wrote is data. So one small object can carry hardware, software and data all at once. When you sort things, sort what each part is, not where it is kept.

Can a computer work with no software at all?

Not in any useful way. When you press the power button, a tiny program stored on a chip wakes up first and starts everything else. Without any instructions, the processor has nothing to follow, so the screen stays dark and the keys do nothing. That is why even a brand-new computer comes with software already on it.

Why do phones get slower even though the parts stay the same?

Usually it is a software change, not worn-out parts. New versions of apps often need more memory and processing than the old ones, so the same hardware has more work to do. A nearly full storage space can slow things down too. An old battery is a hardware cause: some phones slow the processor on purpose to protect a tired battery. Check both sides before deciding what to fix.

Is a robot hardware or software?

A robot is both. Its motors, wheels, sensors and body are hardware. The program that reads the sensors and decides when to turn the motors on is software. If you load a new program, the same robot can follow a line on the floor instead of avoiding walls. That shows the difference clearly: the hardware stays the same while the software changes what it does.

Learning Path

← Before

No prerequisites
Hardware & Software

You are here

This is a starting point: you only need to have used a phone, tablet or computer. You learn to split any device into the parts you can touch and the instructions that make them work. Next, Computing System adds data and the input-process-output idea, and Operating System shows the special software that runs all the other software.

See Also