Operating Systems December Exam 2022
Operating Systems December Exam 2022
INSTRUCTIONS TO CANDIDATES
1. This paper carries 6 (six) questions.
2. Answer ALL questions in SECTION A and any 3 (THREE) in SECTION B.
3. Each question carries 20 Marks
4. The marks for each question are indicated in square [] brackets.
Page 1 of 4
SECTION A
QUESTION 1
a) You are employed as a System Administrator of a bank. The bank is about ot acquire a
new Operating System. Give advice to management on the desirable qualities of an
effective Operating System. [20]
QUESTION 2
b) A concerned parent has donated a computer for the School Development Association use
only. As a computer science teacher, you have been tasked to identify and install the
necessary software. Justify your choice of the software. [20]
SECTION B
QUESTION 3
(a) Describe in detail, five functions which an effective Operating System should
accomplish. [10]
(b) Explain briefly five types of Operating Systems. [10]
QUESTION 4
(a) Using a Process state diagram identify the different states a live process may occupy and
how a process moves between these states. [10]
(b) Explain the purpose of Interprocess Communication (IPC). [5]
(c) Differentiate between a process and a thread with some examples [5]
QUESTION 5
Page 2 of 4
(c) Consider the following set of processes that arrive at time 0, with the length of CPU time
given in milliseconds.
(i) Draw the Gantt Chart using the FCFS algorithm [2]
(ii) Calculate Average Turnaround time [2]
(iii) Calculate Average Waiting time [2]
(iv) Calculate Throughput [2]
(v) Calculate Processor Utilisation [2]
QUESTION 6
(a) Using examples, compare and contrast preemptive and non-preemptive scheduling as
used in process management. [4]
(b) Explain the following:
(i) Deadlock in Operating Systems using an example. [2]
(ii) Conditions that are necessary for a Deadlock to occur. [8]
(iii) Three strategies of dealing with a deadlock problem [6]
………………………..…END OF EXAMINATION………………………………….
Page 3 of 4
Page 4 of 4