What percentage of memory is wasted


A multiprogramming operating system uses an apportioning scheme and divides the 60 MB of available memory into four partitions of 10 MB, 12 MB, 18 MB, and 20 MB. The first program to be run needs 17 MB and occupies the third partition. The second program needs 8 MB and occupies the first partition. The third program needs 10.5 MB and occupies the second partition. Finally, the fourth program needs 20 MB and occupies the fourth partition. What is the total memory used? What is the total memory wasted? What percentage of memory is wasted?
2. Using the product algorithm, make a table to show the value of the product after each integer in the following list is processed:

2 12 8 11 10 5 20
3. Find how many times the statement in the following code segment in C is executed:
A = 5
do
{
statement;
A = A + 1;
} while (A < 10)
4. Write the code in question # 7 (above) using a for loop.

Request for Solution File

Ask an Expert for Answer!!
Operating System: What percentage of memory is wasted
Reference No:- TGS092566

Expected delivery within 24 Hours