Mid-Term examination question paper set for Operating System from the year 2025.
Tribhuvan University
Faculty of Humanities & Social Sciences
OFFICE OF THE DEAN
2026
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. Discuss first fit, worst fit and best fit memory allocation techniques with their advantages and disadvantages.
3. Define OS with its type.
4. Define distributed OS with its characteristics.
5. Discuss the various states a process can be in and the transitions between these states. Provide examples of scenarios that lead to state changes.
6. Define deadlock. Explain Banker's Algorithm for deadlock avoidance.
7. Given the following processes with their arrival times, burst times, and priorities, calculate the average waiting time and average turnaround time using the Priority Scheduling algorithm and SJF.
Group C
8. Consider a disk with the following request queue for cylinder numbers: Queue: 95, 180, 34, 119, 11, 123, 62, 64, 150, 75, 85, 200, 140, 50,
12. Assuming the disk head starts at cylinder 50, calculate the total distance traveled by the disk head using the Shortest Seek Time First (SSTF), SCAN, FCFS and CLOOK scheduling algorithm. Show your calculations step by step, detailing the order of servicing the requests and the distances traveled for each request. 9. Consider a system with 4 frames and the following reference string: 3, 7, 2, 3, 9, 4, 2, 3, 8, 1, 5, 2, 4, 3, 9, 0, 2, 1, 4, 6. Using the First-In First-Out (FIFO), SSTF, LRU and LFU page replacement algorithm, calculate the number of page faults that occur. Show the contents of the frames after each reference and explain any page faults that occur.