Professional Documents
Culture Documents
Part 1: Introduction: Review No1
Part 1: Introduction: Review No1
vn
REVIEW No1
Part 1: INTRODUCTION
PROBLEMS
1. What are the two main functions of an operating system?
-Manages the input devices, output devices, and storage devices.
-Manages the files stored on the computer.
2. What is multiprogramming?
Multiprogramming is a rudimentary form of parallel processing in which several
programs are run at the same time on a uniprocessor. Since there is only one
processor, there can be no true simultaneous execution of different programs. Instead,
the operating system executes part of one program, then part of another, and so on. To
the user it appears that all programs are executing at the same time.
a ) First come first serve does not cause starvation . Every process submitted will
execute eventually .
b ) Shortest job first could cause starvation . Priority is always given to the shortest job
meaning that a job in queue which is long could constantly be starved by arrival of
jobs which are shorter than that job.
c ) Round robin could not cause starvation . This is because each process gets equal
time slices equally often .
d ) Priority could cause starvation . The job with the lowest priority could be starved
indefinitely by arrival of jobs which have higher priorities .
Q1.3 For the processes listed above, complete the following table: