Operating Systems 2076

Tribhuwan University
Institute of Science and Technology
2076
Bachelor Level / Fourth Semester / Science
Computer Science and Information Technology ( CSC259 )
( Operating Systems )
Full Marks: 60
Pass Marks: 24
Time: 3 hours
Candidates are required to give their answers in their own words as far as practicable.
The figures in the margin indicate full marks.

Section-A

Attempt any two questions:   (2x10=20)

1. Defined interactive system goals? List various interactive scheduling algorithms. Consider following process data and compute average waiting time and average turnaround time for RR(quantum 10) and priority scheduling algorithms.


PIDBurst TimeArrival TimePriority
A1601
B37122
C2573


10 marks view

2.  How Second Chance page replacement algorithm differs from FIFO page replacement policy? Discuss the concept of Belady's anomaly with suitable example.

10 marks view

3.  What is the main objective of disk scheduling algorithms? why SSTF is not practically feasible? Assume that we have disk with 100 tracks and currently head is at track number 35. What will be the seek time for the algorithms SCAN and LOOK for processing IO requests queue: 52, 67, 27, 11, 43, 85, 18, 75, 92, 8?

10 marks view

Section-B

Attempt any eight questions:   (8x5=20)

4. What are two modes of OS? Discuss different OS structures briefly.

5 marks view

5.  When threads are better than processes? Explain the concept of user level threads in detail.

5 marks view

6.  Differentiate between multi programming and Monoprogramming. What will be the CPU utilization with 6 processes with 60% IO waiting time are in memory?

5 marks view

7.  How can you manage free disk space? Explain the linked list approach of managing free disk space with example.

5 marks view

8.  When programmed IO is suitable than other IO handling techniques? Explain the process of IO handling using DMA.

5 marks view

9.  Differentiate between deadlock and starvation? Discuss the process of detecting deadlocks when there are multiple resources of each type.

5 marks view

10.  What is problem associated with semaphores? Explain the concept of monitors in brief.

5 marks view

11. Why program relocation and protection is important? Explain the technique of achieving program relocation and protection.

5 marks view

12. Write short notes on:

        - Linux File System

        - Resource Allocation Graph

5 marks view