Pre-Board 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. What is PCB? What are different information that are included in a PCB?
3. Differentiate between Monolithic Kernels and Micro-kernels. Mention the advantages and disadvantages of each.
4. What is a Semaphore? Differentiate between Binary Semaphores and Counting Semaphores with an example of how they provide mutual exclusion.
5. Differentiate between Internal Fragmentation and External Fragmentation. How does "Compaction" help in resolving external fragmentation?
6. Describe Direct Memory Access (DMA). Why is it more efficient than interrupt-driven I/O for large data transfers?
7. Describe the Access Control Matrix and Access Control Lists (ACLs) as methods for protecting files from unauthorized access.
8. Distinguish between User Authentication and User Authorization. Describe the following program threats: Trojan Horse, Trap Door, and Buffer Overflow.
9. Compare Centralized Operating Systems with Distributed Operating Systems. List at least four advantages of using a Distributed System.
Group C
10. What is Belady's Anomaly in page replacement algorithms? Explain with an example. Consider the following page reference string: 0,1,5,3,0,1,4,0,1,5,3,9,7,2,3,1,2,5,3,4,6,7,1,0,5,4,6,2,3,0,10, 1, 5, 3, 0, 1, 4, 0, 1, 5, 3, 9, 7, 2, 3, 1, 2, 5, 3, 4, 6, 7, 1, 0, 5, 4, 6, 2, 3, 0, 10,1,5,3,0,1,4,0,1,5,3,9,7,2,3,1,2,5,3,4,6,7,1,0,5,4,6,2,3,0,1. How many page faults will occur if the program has four page frames available to it and uses the following page replacement algorithms? a. FIFO replacement b. LRU replacement c. Second chance replacement d. Optimal page replacement
11. A disk has 200200200 cylinders, numbered from 000 to 199199199. The drive is currently serving a request at cylinder 434343, and the previous request was at cylinder 252525. The queue of pending requests in FIFO order is: 55,58,39,18,90,160,150,38,18455, 58, 39, 18, 90, 160, 150, 38, 18455,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 (First-Come, First-Served) b. SSTF (Shortest Seek Time First) c. C-SCAN (Circular SCAN) d. LOOK
12. What is critical section problem? How semaphores can be used to solve critical section problem? Also explain producer-consumer problem with its solution using mutex.