Difference between cooperative and preemptive multitasking

What is multitasking Multitasking is performing multiple tasks at a time. In a computer, multiple tasks/programs run at a time. For example, chrome browser, audio player, MS word program runs at the same time. The running of multiple programs/tasks at the same time is handled by the operating system. If you have a single CPU (central processing unit) or single processor then the operating system gives a small [...]

By |2024-03-27T12:55:40+00:00June 20, 2021|computers|0 Comments

Difference between multiprogramming and multitasking

Definition of multiprogramming The process of sharing CPU time with multiple programs or jobs is called multiprogramming. Multiprogramming is based on content switching. In context switching, one job run until I/O interrupt occurs. When I/O interrupt occurs then CPU switch to another job. There may also occur other types of interrupts like event interrupt, memory interrupt, hardware interrupt etc. Interrupts are just like alert actions that notify CPU [...]

By |2024-03-27T13:00:18+00:00July 19, 2018|computers|0 Comments
Go to Top