Mid-Term examination question paper set for Operating System from the year 2082.

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 process states with its transition.

3. Explain dining philosopher problem with semaphore.

4. Explain race condition. How can we solve race condition?

5. What is file? Explain different types of file implementation.

6. Differentiate between thread and process. Why do you need threading in multi-program?

7. Differentiate between deadlock and starvation. How we can prevent deadlock?

Group C

8. Schedule the process with following information using FCFS, SJF and RR with quantum time 1.

9. Explain Bankers algorithm. Find safe state and unsafe state for the following.