
Lesson 2 · Computational Thinking
How information flows through every program.
Meet the Computer
A computer follows instructions. A keyboard is hardware; the instructions are software. Start with one device: name what you touch and one job it does.
Click to zoomEvery computer does the same three jobsA supercomputer predicting the monsoon and a calculator adding 2 + 2 do exactly the same three things, in the same order:
That's it. Once you can spot these three steps, you can understand any machine you meet — including every program you are about to write.
Click to zoomAnd a fourth job: storageThere's one more piece. Storage is how a computer remembers things after the power goes off.
When you take a photo: the camera is the input, adjusting the brightness is the process, the picture on screen is the output — and saving it to the gallery is storage.
The difference matters. Turn your phone off and on: the photo is still there, because it was stored. Whatever was only being processed is gone forever.
| Machine | Input | Process | Output |
|---|---|---|---|
| Calculator | You press 7 × 8 | Multiplies the numbers | Shows 56 |
| UPI payment | Amount and PIN | Checks balance, moves money | "Payment successful" |
| Maps | Your start and destination | Compares routes and traffic | "25 minutes via NH48" |
| Washing machine | Dial set to "Quick Wash" | Runs that timed program | Clean, spun clothes |
Completely different machines. Identical pattern.
You search for a song by name in a music app and it appears in a list. Which part is the process?
Pick any machine near you — a microwave is perfect — and walk it through all four jobs. Do it carefully once here, and you'll be able to do it in your head forever after.
Write down one machine you can actually see right now. A microwave, a TV remote, a digital clock, an auto's fare meter — anything with buttons.
The output of one machine is very often the input of the next. Your camera outputs a photo; WhatsApp takes that photo as input. Chains like this are how big systems get built out of small ones.
Your school wants to replace the paper attendance register with a computer.
Describe the system using all four jobs:
Every machine does the same four jobs. Sort each step of using a fuel pump.
Sorted: 0/6 · drag or tap a card
Input
Process
Output
Storage
This chapter is free — open this lesson in your portal to save your answers and track progress.