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.
Attempt any two questions:
For the processes listed in following table, draw a Gantt chart illustrating their execution using:
| Processes | Arrival Time | CPU Time |
|---|---|---|
| A | 0.000 | 3 |
| B | 1.001 | 6 |
| C | 4.001 | 4 |
| D | 6.002 | 2 |
What is the turnaround time for each algorithm?
OR
What do you mean by disk management? What the major difference between error handling and formatting.
How many page faults occur for each of the following page replacement algorithms for the reference string 0 1 7 2 3 2 7 1 0 3 with four page frames and eight pages. Suppose all frames are initially empty.
Suppose that the disk drive has 50 cylinders, numbered from 0 to 49. The drive currently serving the request at cylinder 20 and the previous request was at cylinder 25. The queue of pending request is 10, 22, 20, 2, 40, 6 and 38 in the order. A seek takes 6msec per cylinder moved. How much seek time is needed for the following disk-scheduling algorithms?
Attempt any eight questions:
Define the essential properties of following types of operating systems.
Describe how mulithreading improve performance over a singled-threaded solution.
“Using Semaphore is very critical for programmer”. Do you support this statement? If yes. Prove the statement with some fact. If not. Put your view with some logical facts against the statement.
Students working at individual PCs in a computer laboratory send their files to be printed by a server which spools the files on its hard disk. Under what conditions may a deadlock occur if the disk space for print spool is limited? How many the deadlock be avoided?
What are Segmentation and Paging? Why they are sometimes combine into one scheme?
What are the differences between the trap and interrupt? What is the use of each function?
What is “device independence”? Define.
Explain how file allocation table (FAT) manages the files. Mention the merits and demerits of using FAT.
Write short notes on (any two):
This page was printed from BSc CSIT Nepal (https://bsccsitnepal.com)