OS Most Imp Questions PDF
OS Most Imp Questions PDF
Unit-1
Unit-2
2. What is mutual exclusion and critical section problem? Give the solution that a
solution to the critical section problem must satisfy.
3. Give the principles of mutual exclusion in critical section problem. Also discuss how
well these principles are followed in Dekker’s and Peterson solution considering their
advantages and limitation?
7. Explain in detail about the Inter Process Communication models and Schemes.
Unit-3
1. Define process and explain process control block. Also, describe process state
transition diagram in detail.
6. Consider the processes, CPU burst time and Arrival time given below: Draw the Gantt
chart and calculate the following by using FCFS, SRTF PRIORITY AND Round robin
Scheduling Algorithm, (i) Average Waiting Time, (ii) Average Turn Around time.(AKTU
2015-16)
9. Consider the given snapshot of a system with five processes (P0,P1,P2,P3,P4) and
three resources (A,B,C).
(ii) Apply safety algorithm and check the current system is in safe state or not.
(iii) If the request from process P1 arrives for (1,1,0), can the request be granted
immediately?
Allocation MAX Available
Process/Resource A B C A B A B C
C
P0 1 1 2 4 3 2 1 0
3
P1 2 1 2 3 2
2
P2 4 0 1 9 0
2
P3 0 2 0 7 5
3
P4 1 1 2 11
2 3
Unit-4
10. Discuss virtual memory concepts, including address translation, page tables, and
demand paging mechanisms?
0,9,0,1,8,1,8,7,8,7,1,2,8,2,7,8,2,3,8,3
How many pages faults will occur if the program has three-page frames available to it and
uses:
(i) FIFO replacement (ii) LRU replacement (iii) Optimal replacement
12. What do you mean by Belady's anomaly? Which algorithm suffers from Belady,s
anomaly and how can it be rectified?
Unit-5
5. Discuss the organization of files within file systems, including contiguous, linked, and
indexed allocation methods? Explain various operations associated with a file.
7. Explain RAID and its characteristics. Also, explain various RAID levels with their
advantages and disadvantages.
8. Explain the concept of file system management. Also, explain various file allocation
and file access mechanisms in details.
9. Suppose the following disk request sequence (track numbers) for a disk with 100
tracks is given: 45, 20, 90, 10, 50, 60, 80, 25, 70. Assume that the initial position of
the R/W head is on track 49. Calculate the net head movement using:
SSTF,SCAN,CSCAN ,LOOK
1. Buffering
2. Polling
4. Spooling
11. Explain in detail about the File system protection and security.
12. Explain in detail about the Disk storage and Disk scheduling.
16. A hard disk having 2000 cylinders, numbered from 0 to 1999. drive is currently
serving the request at cylinder 143, and the previous request was at cylinder 125.The
status of the queue is as follows 86, 1470, 913, 1774,948,1509,1022,1750,130 What
is the total distance (in cylinders) that the disk arm moves to satisfy the entire
pending request for each of the following disk scheduling algorithms? SSTF and FCFS.