question1 a multiprogramming operating system


Question

1. A multiprogramming operating system uses an apportioning method and divides the 60 MB of existing 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. At last, the fourth program needs 20 MB and occupies the fourth partition. What is total memory used? What is total memory wasted? What percentage of memory is wasted?

2. Using product algorithm, create 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 used in a for loop.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: question1 a multiprogramming operating system
Reference No:- TGS0444576

Expected delivery within 24 Hours