Operating Systems, Past Papers

Operating System BS IT term 5th Past Paper 2017 UOS

University of Sargodha BS 5th Term 2017 Operating System Exam question paper with objective and subjective questions covering multiprogramming, deadlock, memory management, disk scheduling, semaphores, and CPU scheduling algorithms.

University of Sargodha
BS 5th Term Examination 2017
Subject: I.T
Paper: Operating System (CMP: 3621)

Time Allowed: 2:30 Hours
Maximum Marks: 80

Objective Part Compulsory

Q.NO.1: – Answer the following questions in 2-3 lines having 2 marks each
[12×2=24]

  1. What is multiprogramming?
  2. What are the four conditions of deadlock?
  3. Explain long term scheduler.
  4. Under what circumstances do page faults occur?
  5. What is Memory-Management Unit?
  6. Different types of Real-Time Scheduling?
  7. What is Dispatcher?
  8. What is virtual memory?
  9. What is a deadlock?
  10. What are types of threads?
  11. What is a ready queue?
  12. What is PCB?

Subjective Part

Note: Attempt any three Questions. All carry equal marks
[12×3=36]

Q.No.2
a) Briefly explain the operating system services.
b) Describe the Simple Batch System and Time sharing system.

Q.No.3
a) Define System Calls. What are the main types of System calls?
b) What are differences between user-level threads and kernel-level threads?

Q.No.4
Suppose that a disk drive has 200 cylinders, numbered from 0 to 199. The disk head is initially at cylinder 53. The queue of pending requests, in FIFO order, is: 98, 183, 37, 122, 14, 124, 65, 67
Starting from the current head position, what is the total distance (in cylinders) that the disk arm moves to satisfy all the pending requests for each of the following disk-scheduling algorithms?
a) FCFS
b) SSTF
c) Scan
d) C-Scan

Q.No.5
a) What is semaphore? How semaphore works for synchronizations of the processes?
b) Briefly explain the segmentation.

Q.No.6
Consider the following set of processes, with the length of the CPU burst given in milliseconds: