Official 2023 Board Exam question paper for the Operating System course.

Tribhuvan University
Faculty of Humanities & Social Sciences
OFFICE OF THE DEAN
2025
Bachelor in Computer Applications

Paper detail Value
Course Operating System
Code No. CACS251
Semester IVth
Full marks 60
Pass marks 24
Time 3 hours

Candidates are required to answer the questions in their own words as far as possible.

Group B

2. Define Operating System. Explain the objectives of an Operating System.

3. How can we solve the producer-consumer problem using semaphores?

4. What do you mean by preemptable and non-preemptable resources? Describe the necessary conditions for deadlock.

5. Given memory partitions of 200k, 600k, 300k, 400k, and 700k (in order), how would each of the first-fit, best-fit, and worst-fit algorithms place processes of 315k, 527k, 202k, and 548k (in order)? Which algorithm makes the most efficient use of memory?

6. What is meant by system threat? Explain different types of program threats.

7. Explain methods of communication in a distributed system.

8. Write short notes on (Any Two): a) Access Control Matrix b) Process States c) Kernel

Group C

9. The processes are assumed to have arrived in the order p1, p2, p3, p4, p5 all at time 0. Draw a Gantt chart illustrating their execution and calculate average waiting time and turnaround time for the process given below using:

  • A. First Come First Serve
  • B. Shortest Remaining Time Next
  • C. Priority Scheduling
  • D. Round Robin quantum=2quantum = 2quantum=2

10. What are disk access time and disk response time? Suppose that a disk has 200 cylinders, numbered 0-199. The drive is currently serving a request at cylinder 43 and the previous request was at cylinder 25. The queue of pending requests, in FIFO order is: 55, 58, 39, 18, 90, 160, 150, 38, 184. Starting from the current head position, what is the total distance (in cylinders) that the disk arm moves to satisfy all pending requests for each of the following disk scheduling algorithms?

  • A. FCFS
  • B. SSTF
  • C. C-SCAN
  • D. LOOK

11. Differentiate between internal and external fragmentation. Explain briefly with examples and procedures to remove these types of fragmentation.