58.5k views
4 votes
At the beginning of Section 5.2, it is stated that multiprogramming and multiprocessing present the same problems, with respect to concurrency. This is true as far as it goes. However, cite two differences in terms of concurrency between multiprogramming and multiprocessing.

1 Answer

4 votes

Answer:

By definition, multiprocessing refers to the processing of multiple processes at the same time by multiple CPUs.

By definition, multiprogramming keeps programs in main memory at the same time and execute them concurrently utilizing a single CPU doing a context switch.

The first difference is that multiprocessing uses multiple CPUs and multiprogramming to utilize context switch to do concurrency in one CPU. Another difference is that multiprocessing is more expensive but more efficient than multiprogramming due that it allows parallel processing.

User Jamey Graham
by
8.4k points

Related questions

asked Mar 12, 2024 140k views
Kayakpim asked Mar 12, 2024
by Kayakpim
8.7k points
1 answer
0 votes
140k views