Assignment 6 (Chapter 8 (Operating Systems Support) and 12 Instruction Sets: Characteristics and Functions)
Assignment 6 (Chapter 8 (Operating Systems Support) and 12 Instruction Sets: Characteristics and Functions)
1. Suppose a computer has 500 Mbytes memory for user programs, three jobs are
submitted at the same time with the attributes listed below:
Job1 Job2 Job3
Type of job Heavy compute Heavy I/O Heavy I/O
duration 14 min 30 min 25 min
Memory required 180 M 290 M 170 M
Need disk No Yes No
Need printer No No Yes
Compute the Throughput per hour and per day and the Elapsed time if the jobs run under
uniprogramming and under multiprogramming system?
2. In a batch operating system, three jobs J1, J2 and J3 are submitted for execution. Each
job involves an I/O activity, a CPU time, and another I/O activity. Job 1 requires a total of
23 ms, with 3 ms CPU time. J2 requires 29 ms total time with 5 ms CPU time. J3 requires
14 ms total time with 4 ms CPU time. Illustrate their execution and find CPU utilization
for uniprogramming and multiprogramming?
3. Give reasons why, for a particular process, the number of pages in memory should be
neither very small nor very large.
4. For each of the following packed decimal numbers, show the decimal value:
5. A given microprocessor has words of 16 bits. What is the smallest and largest integer that
can be represented in the following representations:
a. Unsigned.
b. Sign- magnitude.
d. Twos complement.
End of Questions