Nepedia
Back to Discover
Independent Reader
💻

Process (computing)

technology Maturity 9-11 Next article →

A computer program is a list of rules. It stays still on a disk. A process is what happens when the computer follows those rules.

Concepts- Program vs. Process vs. Thread
Concepts- Program vs. Process vs. Thread

The computer loads the program into its memory to start the process.

One process can have many small parts called threads. These threads can work at the same time.

Process states
Process states

A process also needs resources to work. These include memory and power from the CPU, which is the computer's brain. The operating system keeps track of these parts in a list. This helps the computer stay safe and reliable.

Most computers use multitasking. This is a way to do many tasks at once. A single CPU core can only do one thing at a time. However, the computer switches between tasks very fast. This is called a context switch. It happens so quickly that it looks like everything is running at once. This is called concurrency.

Htop 3.0.1 screenshot
Htop 3.0.1 screenshot

Sometimes a process must wait for you to click a mouse. We call this the blocked state. The computer then moves to a new task so it does not sit idle.

KSysGuard 5.22.0 process table screenshot
KSysGuard 5.22.0 process table screenshot

This keeps the computer fast and busy.

189 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (4)
File:Concepts- Program vs. Process vs. Thread.jpg
Concepts- Program vs. Process vs. Thread.jpg
File:Htop_3.0.1_screenshot.png
Htop_3.0.1_screenshot.png
File:KSysGuard 5.22.0 process table screenshot.png
KSysGuard 5.22.0 process table screenshot.png
File:Process states.svg
Process states.svg
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.