how are multiprogmming different form multiprocessing
Answers
Answered by
0
Hello,
Multiprocessing :
The term multi means many .
The concept of using many processor is called multiprocessing.
Remember the terms like dual core , octa core.
These processors share memory and peripherals in common .
By sharing the memory and peripherals they are able to perform tasks simultaneously.
Multiprogramming :
Say we have 2 programs loaded into the memory .
The first program that is loaded is getting executed .
At one point of time it requires input from the user or waiting for some dataDuring the waiting time , the CPU is idle .
Instead of wasting the time , the CPU will now begin to execute the second program .
Meanwhile the first program once it receives the required data , will again get the CPU time and get executed blocking or pausing the execution of the second program .
After the completion of the first program, the second program is executed from where it was paused .
This is called multiprogramming
HOPE IT HELPS YOU
Multiprocessing :
The term multi means many .
The concept of using many processor is called multiprocessing.
Remember the terms like dual core , octa core.
These processors share memory and peripherals in common .
By sharing the memory and peripherals they are able to perform tasks simultaneously.
Multiprogramming :
Say we have 2 programs loaded into the memory .
The first program that is loaded is getting executed .
At one point of time it requires input from the user or waiting for some dataDuring the waiting time , the CPU is idle .
Instead of wasting the time , the CPU will now begin to execute the second program .
Meanwhile the first program once it receives the required data , will again get the CPU time and get executed blocking or pausing the execution of the second program .
After the completion of the first program, the second program is executed from where it was paused .
This is called multiprogramming
HOPE IT HELPS YOU
Answered by
4
Answer:
Answer: Following are the differencesbetween multiprocessing andmultiprogramming. ... Multiprocessingrefers 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.
i hope it will help
Similar questions