Board exam questions for Operating System from the year 2022

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. What is an operating system? Is "Multitasking" operating system better than "Batch" operating system? Justify your answer.

3. What is role of scheduler in operating system? Differentiate between short-term and long-term Scheduler.

4. What do you mean by Race condition? Consider two concurrently running process PI with statement S1 and P2 with statement S2. Suppose we require that S2 be executed only after S1 has completed. For this synchronization need, write a semaphore solution.

5. What are CPU scheduling criteria's? Consider below table of four processes under multi-level queue scheduling. Queue number denotes queue of the process. Priority of queue 1 is greater than queue 2. Queue 1 use Round Robin with time quantum t=2ms and queue 2 use FCFS. Draw Gantt chart to illustrate their execution and calculate average waiting and turnaround time also.

6. What is thrashing? Explain three memory management requirements?

7. Given five memory partition of 100KB, 500KB, 200KB, 300KB and 600KB (in order). How would the first fit, best fit and worst fit algorithm place processes of size 212KB, 417KB,112KB, and 426KB (in order) in fixed-size partition? Which algorithm makes the most efficient use of memory?

8. When programmed I/O is suitable than other I/O handling techniques? Explain different type System Threat.

Group C

9. Consider the following System:

Process Allocation Max Available
[A,B,C,D] [A,B,C,D] [A,B,C,D]
P0 0 0 1 1 0 0 1 2 1 5 2 0
P1 1 0 0 0 1 7 5 0
P2 1 3 5 4 2 3 5 6
P3 0 6 3 2 0 6 5 2
P4 0 0 1 4 0 6 5 6

10. How second chance page replacement algorithm differ from FIFO page replacement policy? Explain the concept of belay’s anomaly with suitable example.

11. What is clock synchronization? Explain how physical clock is synchronized by Cristian algorithm and logical clock is synchronized by Lamport's algorithm with suitable example.