Whats the difference between multitasking, multiprogramming & multiprocessing
This comes regularly for my university OS exams and I can't find a good answer. I know quite a bit about multitasking and multiprogramming, but need to confirm it.
Multitasking lets the CPU perform various tasks simultaneously (threads, process, program, task), while multithreading helps in the execution of various threads in a single process simultaneously.
1. The execution of more than one task simultaneously is known as multitasking. The availability of more than one processor per system, that can execute several set of instructions in parallel is known as multiprocessing.
Multiprocessing refers to processing of multiple processes at same time by multiple CPUs. Multiprogramming keeps several programs in main memory at the same time and execute them concurrently utilizing single CPU.
Paraphrasing wikipedia:
Multiprogramming - A computer running more than one program at a time (like running Excel and Firefox simultaneously) http://en.wikipedia.org/wiki/Multiprogramming
Multiprocessing - A computer using more than one CPU at a time http://en.wikipedia.org/wiki/Multiprocessing
Multitasking - Tasks sharing a common resource (like 1 CPU) http://en.wikipedia.org/wiki/Computer_multitasking#Multithreading
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With