Operating Systems April Exam 2024
Operating Systems April Exam 2024
INSTRUCTIONS TO CANDIDATES
1. This paper carries 5 (FIVE) questions.
2. Answer any 4 (four) questions
3. Each question carries 25 Marks
4. The marks for each question are indicated in square [] brackets.
Page 1 of 3
QUESTION 1
(a) You are employed as a System Administrator of a bank. The bank is about to acquire a
new Operating System. Give advice to management on the desirable qualities of an
Operating System. [15]
(b) Discuss the mechanisms that can be used to implement security policies in a computer
system. [10]
QUESTION 2
i. Draw the Gant charts illustrating the execution of these processes using the FCFS,
RR, and SJF Scheduling algorithms. Assume a quantum of 8 is being used. [5]
ii. Calculate the average waiting time for each algorithm. [6]
iii. Calculate the average turnaround time for each algorithm. [6]
iv. Which scheduling algorithm, as an operating system designer, would you
impement and why? [2]
Page 2 of 3
QUESTION 3
(a) Using examples, compare and contrast preemptive and non-preemptive scheduling as
used in process management. [5]
(b) Explain the main differences between a short-term and long-term scheduler [5]
(c) Explain the following:
(i) Deadlock in Operating Systems. [2]
(ii) Conditions that are necessary for a Deadlock to occur. [4]
(iii) Ways to recover from a Deadlock Situation [4]
QUESTION 4
(a) List and explain the five functions that an Operating System should accomplish [5]
(b) the difference between a process and a thread. [5]
QUESTION 5
(a) One of the major functions of an Operating System is File Management. Explain the
techniques that can be used for the protection of user files. [8]
(b) Describe virtual memory and explain its advantages in operating systems. [5]
(c) Distinguish between internal and external fragmentation [4]
(d) Explain what is meant by Swapping in memory management [2]
(e) Briefly explain:
a. Single-partition system [3]
b. Multiple-partition system [3]
………………………..…END OF EXAMINATION………………………………….
Page 3 of 3