In the Concept of Operating system, most of the students are facing problem in the difference between multiprogramming and multitasking so let’s clear the confusion.
As we know CPU is a very smart and fast device it can manage so many tasks at a time and it completes the task very fastly and smartly as CPU the processor is also fast so to manage communication between them OS has many concepts like multitasking, multiprogramming and multithreading.
Multiprogramming:
As we know when we assign any task then first it goes into the main memory. Suppose we give four task at a time then processor executes that all tasks one by one and suppose process 3 requires IO devices then CPU can’t wait more time so CPU let it be that process 3 and start executing process 4 and after some time it gets back to process 3 so it calls multiprogramming in OS.
Multi-tasking:
There is some little bit difference between multiprogramming and multitasking suppose you give more than one task to the Processor then it executes all the process at a time by switching between them. and the switches occur so frequently that the users can interact with each program while it is running.
We can call multitasking as timesharing also and we can understand that full process using round robins scheduling algorithm.
2 Comments