Mid-Term examination question paper set for Operating System from the year 2024.
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. Explain Operating system as an Extended machine and resource manager.
3. What is multi-threading OS? How multithreading improves performance over a single-threaded solution?
4. Differentiate between process and thread.
5. How does semaphore provide the solution to the producer-consumer problem?
6. How multithreading improves performance over a single-threaded solution?
7. Differentiate between preemptive and non-preemptive scheduling.
8. Explain Peterson's Algorithms and TSL Hardware solutions in detail.
9. Write short note on PCB.
Group C
10. What is Kernel? What role does it play in an Operating System? Differentiate between monolithic and micro kernel.
11. Explain the idea of Reader writer problem and sleeping barber problem and solve it using Semaphore.
12. Consider the following set of processes, with the length of the CPU-burst time given in milliseconds: The processes are assumed to have arrived in the order P1, P2, P3, P4, P5, all at time 0. a. Draw four Gantt charts illustrating the execution of these processes using FCFS, SJF, a non-preemptive priority (a smaller priority number implies a higher priority), and RR quantum=1quantum = 1quantum=1 scheduling. b. Find average turn around time and waiting time for each scheduling algorithm. c. What is the turnaround time of each process for each of the scheduling algorithms in part a? d. What is the waiting time of each process for each of the scheduling algorithms in part a?