How Does an Operating System Manage Multitasking?
Contents

Multitasking operating systems use a single CPU to work on a number of tasks. The operating system determines which task the CPU will work on at any given time, pausing tasks as needed, so that all tasks are completed as efficiently as possible.

How does the operating system manage memory and CPU time to allow the computer to multitask?

The OS decides the best way to swap between running, runnable and waiting processes. It controls which process is being executed by the CPU at any point in time, and shares access to the CPU between processes. … Swapping happens so fast that it appears that all processes are running at the same time.

How does operating system manage programs?

When a program is run it is loaded into memory. The operating system determines how much memory the program requires and allocates enough pages to hold it and its documents. When the program is closed the allocated pages are freed up for use by other programs.

Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article
Twitter Facebook Pinterest