Tech●●●●●Difficulty 1 of 5

What does an operating system actually do?

Early computers had no operating system at all: human operators did its job by hand, program after program.

▶ Start the story

An operating system is the software that manages a computer's hardware and gives every other program the common services it needs. Think of it as the building manager of a big apartment block: the tenants (your apps) cook, work and play, while the manager makes sure the power, water and doors work and that nobody moves into a neighbour's flat.

It does three jobs. First, it shares the machine out. The operating system gives each application a share of the processor's time and of the memory, so that one program cannot hog everything. Second, it keeps programs apart, so that a fault or a security hole in one of them does not spill into the others, while still letting them talk when they should. Third, it hides the messy details of the hardware, so a programmer asks for "a file" or "the network" without knowing which disk or which network chip the computer has.

The operating system’s three jobs
  1. Step 1: Share

    Gives each program a slice of processor time and memory

  2. Step 2: Separate

    Keeps one program’s faults from harming the others

  3. Step 3: Simplify

    Hides hardware details behind common services

That last job is why the same app can run on many different computers without being rewritten.

The early days show why all this was invented. The first computers were programmed with or punch cards and had no operating system whatsoever. Later still needed human operators who did by hand what a modern operating system does, such as deciding which program runs next. Today the manager is software, and it sits inside nearly everything with a computer in it, from phones and game consoles to web servers and .

Quiz me

0/3

  1. 1.Why does a computer need an operating system when several programs run at once?
  2. 2.What lets the same app run on different computers without being rewritten?
  3. 3.What did human operators do on early mainframes?

Recap

An operating system shares the machine, separates programs and simplifies hardware.

💡 A trick to remember it · Think of an apartment-block manager: shares the utilities, locks the doors between flats, and hides the plumbing.

Surprising fact · OS/360 was millions of lines of assembly language with thousands of bugs, yet it pioneered letting another job run while one waits.

Sources (1)

No source, no claim. Every fact in this lesson (14 claims) cites at least one of these.

  1. [1]Operating system · Wikipedia
More lessons in 💻 Tech (3) See all tech lessons →

One more light on your map.

Get one lesson like this every day, about the things you love. Free, in two or five minutes.

Get the share card for this lesson ↗