Question: Imagine an old single-programming system equipped with a CPU, a disk, a printer, and a reader. At the end of a program execution, the system

 Imagine an old single-programming system equipped with a CPU, a disk,

Imagine an old single-programming system equipped with a CPU, a disk, a printer, and a reader. At the end of a program execution, the system reports the accumulated percentage usage of the four components. The exact pattern of the program's activities is not known: the report includes one number per device. According to the report, a certain program spends 70% of its time using the CPU, with the remaining 30% equally partitioned among the remaining three hardware components. This is all we know about the program. By how much will the execution time of the program decrease when the disk is replaced with a new version being twice as fast as the previous one? a. by 1% b. by 5% c. by 10% d. by 20% e. by 40% f. by 50% g. it can be any number between 0% and 30% Question 2 Suppose that the system from the previous question has been turned into a multiprogramming system with all the devices capable of operating independently. Suppose that two identical programs are being run concurrently. Each of those programs, when run alone (no other program being present in the system), spends (as before) 70% of its time using the CPU, with the remaining 30% equally partitioned among the remaining three hardware components (the exact activity pattern is unknown), and completes in 10 minutes. What is the minimum amount of time needed to complete both programs concurrently in the multiprogramming system? a. 7 minutes b. 10 minutes c. 12 minutes d. 14 minutes e. 17 minutes f. 20 minutes

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!