Hi,
Multiprogramming is the rapid switching of the CPU between multiple processes in memory. It is done only when the currently running process requests or terminates. It was commonly used to keep the CPU busy while one or more processes are doing . It is now mostly
superceded by multitasking, in which processes also lose the CPU when their time quantum expires.
Multiprogramming makes efficient use of the CPU by overlapping the demands for the CPU and its I/O devices from various users. It attempts to increase CPU utilization by always having something for the CPU to execute.
The prime reason for multiprogramming is to give the CPU something to do while waiting for to complete. If there is no DMA, the CPU is fully occupied doing so there is nothing to be gained by multiprogramming.
Answered by
meet rathod
at
12:17 PM on July 13, 2012