Nepedia
Back to Discover
Independent Reader
💻

Computer multitasking

technology Maturity 9-11 Next article →

A computer can work on many jobs at once. This is called multitasking.

Fedora Linux multitasking
Fedora Linux multitasking

It does not mean the computer does everything at the exact same time. Instead, it works on small parts of many jobs. It switches between them very fast.

To do this, the computer uses a context switch. This is a way to stop one job and start another. The computer saves the state of the first job. The state includes things like memory and partial results. Then, it loads the saved state of a new job.

Microsoft Windows 1.01 multitasking
Microsoft Windows 1.01 multitasking

There are two main ways to do this. In cooperative multitasking, a program chooses to give up its turn. If a program does not share, the whole system might hang. In preemptive multitasking, the system takes control. It gives each job a slice of time. This is more reliable.

Multitasking helps the computer stay busy. If one job is waiting for a user, the CPU can work on something else. This makes the hardware work much better. Some jobs are even broken into smaller parts called threads. Threads share the same memory to work together easily.

185 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (3)
File:Fedora Linux multitasking.png
Fedora Linux multitasking.png
File:Microsoft_Windows_1.01_multitasking.png
Microsoft_Windows_1.01_multitasking.png
File:Kubuntu_21.04_(KDE_Plasma_5)_-_Virtual_Desktops.png
Kubuntu_21.04_(KDE_Plasma_5)_-_Virtual_Des...
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.