MULTIPROGRAMMING Group Members Shemara Rhoden Kelly Campbell Gibran
MULTI-PROGRAMMING Group Members: - Shemara Rhoden - Kelly Campbell - Gibran Ho - Allie Zohoori-Dossa - Rochelle Edwards
What is Multiprogramming? �Multiprogramming is defined as the allocation of a computer system and its resources to more than one concurrent application, job or user. �It is a type of parallel processing that makes it possible for several programs to be active at the same time.
How does Multiprogramming work? �In multiprogramming, �concurrent running (sharing of the processor) �achieved when the operating system identifies opportunities to : � interrupt the handling of one program between tasks � to transfer process control to another program
Examples of Multiprogramming �The saving of a file to an external memory and the upgrading of a program at the same time. - Each process executes for one second then waits for one second. It is repeated 60 times. - If we run process A first and then process B, one after the other, it will take four minutes to run the two processes: - A takes two minutes to run and then B takes two minutes to run.
Examples of Multiprogramming (continued) �You may be: - typing in Microsoft Word - listening to music - downloading a file in the background - scanning a program using an anti-virus software �These all seem to be happening simultaneously. OS divides time for each program according to priorities. �This process is so fast that it appears programs are running simultaneously.
Illustration Of Multiprogramming More than one program seems to be operating at the same time.
- Slides: 6