How Computers Work

Lesson 1 of 7

What is a computer?

Uncover the true definition of a computer and explore the fundamental Input-Process-Output-Storage model.

🟢 Beginner 50 XP

Learn it

When you think of a computer, you might imagine a laptop, a desktop PC, or a games console. But did you know that smartwatches, microwave ovens, and modern washing machines are computers too?

At its heart, a computer is an electronic machine that takes in information, follows a set of instructions to work on it, and produces a result. It can also save information to use later.

Every single computer follows the same four basic steps: Input, Process, Output, and Storage. We call this the IPOS model, and it powers every digital gadget on the planet!

Key terms

Computer
An electronic device for storing and processing data, typically in binary form, according to instructions given to it.
IPOS Cycle
The core workflow of every computer: Input, Process, Output, and Storage.
Embedded System
A dedicated computer system built into a larger mechanical or electrical system, like a microwave or digital camera.
Data
Raw facts and figures with no context or meaning until processed by a computer.

Tracking the IPOS Cycle

Let us trace how a computer processes a simple action like tapping the spacebar to jump in a video game.

  1. 1Input: You press the spacebar on your keyboard. A small electrical signal is generated and sent to the computer.
  2. 2Process: The central processor interprets the signal, checks the game rules, and calculates the new position of your player character.
  3. 3Output: The graphics card updates the screen to show your character leaping into the air, and sound effects play through your speakers.
  4. 4Storage: The game saves your updated score and level progress into temporary memory and onto your hard drive.

A Simple IPOS Script in Python

python# 1. Input: Get user data
user_name = input('Enter your name: ')

# 2. Process: Transform the data
greeting = 'Hello, ' + user_name.upper() + '! Welcome to CodeQuest.'

# 3. Output: Display the result
print(greeting)

# 4. Storage: Save to a file on disk
with open('players.txt', 'w') as file:
    file.write(user_name)

This small Python program clearly demonstrates all four parts of the IPOS cycle: gathering input, processing text, printing output, and writing data to storage.

Try it

Put the steps of the computer cycle into the correct standard sequence from start to finish.

  • 1Output: The result is presented to the user on screen or via speaker
  • 2Process: The CPU works on the data using programmed instructions
  • 3Storage: The results or current state are saved to disk for later use
  • 4Input: The user enters data or an action via a sensor or keyboard

Challenge

Identify three household appliances that contain embedded computers and describe what they use for input and output.

Pick whichever way suits you — every mode earns the same bonus XP.

Write at least 40 more characters to submit.

Mark your own work

Guided walkthrough — 0/5 clues revealed

  1. Clue 1 locked — reveal it only if you get stuck.
  2. Clue 2 locked — reveal it only if you get stuck.
  3. Clue 3 locked — reveal it only if you get stuck.
  4. Clue 4 locked — reveal it only if you get stuck.
  5. Clue 5 locked — reveal it only if you get stuck.

Each clue costs 3 XP (never below 13 XP). You'd earn 25 XP right now.

Extension: Explain why an old-fashioned analogue mechanical clock is NOT considered a computer, whereas a digital smartwatch is.

Quiz time

Question 1 of 4Score 0

What does the IPOS model stand for in computer science?