1) What is the fundamental purpose of any operating system?
2) What is the role of the file manager?
3) What other basic functions must the operating system be able to perform?
For problems 4 and 5, a computer has the following four processes that have arrived in the ready queue in the sequence shown:
- Process 1 with a run time of 40 seconds, a priority of 1, and it will require 20 seconds of I/O after 20 seconds of execution.
- Process 2 with a run time of 15 seconds and a priority of 2.
- Process 3 with a run time of 25 seconds, a priority of 2, and it will require 15 seconds of I/O after 5 seconds of execution.
- Process 4 with a run time of 10 seconds and a priority of 1.
**The attached document could be used as supporting documentation.
4) If the Round Robin Scheduling algorithm is used, which process completes first and why?
5) If the Non-preemptive Priority Scheduling algorithm is used, which process completes first and why?
6) What are the advantages of partitioning a disk, rather than using the entire disk as one partition?
7) Using a variable-partitioned multiprogramming memory, which of the four holes shown below will be used to satisfy a 65 KB program requirement under the conditions of:
|
0-15 KB |
15-75 KB |
75-125 KB |
125-210 KB |
210-275 KB |
275-345 KB |
345-420 KB |
420-495 KB |
495-520 KB |
|
occupied |
Hole A |
occupied |
Hole B |
occupied |
Hole C |
occupied |
Hole D |
occupied |
___ First-fit
___ Best-fit
___ Worst-fit
8) There are a number of different factors, both hardware and OS software that affect the operating speed of a virtual storage system. Explain carefully each of the factors and its resulting impact on system performance.


0 comments