Imp Ques of Os
Imp Ques of Os
UNIT-1
c. Explain the following terms in detail: (i) Multiprocessor operating system (ii) Real time system (iii)
Time sharing system
g.Briefly Explain the Layered Operating System with neat sketch.Also Explain Protection and Security.
UNIT-2
d. Define process and process control block. Also, describe process state transition diagram in detail.
h. Explain in detail about the Mutual Exclusion and Critical Section Problem.
j. Explain in detail about the Inter Process Communication models and Schemes.
a. For the following processes, draw Gantt chart to illustrate the execution using,
(i) Preemptive priority scheduling (ii) Non-Preemptive priority scheduling. Also, Calculate average
waiting time and average turnaround time. (Assumption: A larger priority number has higher
priority.
b. Consider the given snapshot of a system with five processes (P0,P1,P2,P3,P4) and three resources
(A,B,C).
UNIT-4
c.Explain Paging and also write the difference between Paging and Segmentation.
d.Explain the difference between Internal Fragmentation and External Fragmentation.How to Solve
Fragmentation problem suing paging.
g. Explain the concept of paging. Also, explain paging hardware support using TLB with suitable
diagram
How many pages faults will occur if the program has three-page frames available to it and uses:
j.What is Thrashing?What is the cause of Thrashing?How does the System detect Thrashing?What
can the system to eliminate this problem?
l. Explain the concept of paging. Also, explain paging hardware support using TLB with suitable
diagram.
UNIT-5
b. Explain the term RAID and its characteristics. Also, explain various RAID levels with their
advantages and disadvantages.
c. Explain the concept of file system management. Also, explain various file allocation and file access
mechanisms in details.
d. 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: (i) SSTF (ii) SCAN (iii) CSCAN (iv) LOOK
e. Explain the followings: (i) Buffering (ii) Polling (iii) Direct Memory Access (DMA).
g. File system protection and security and ii) Linked File allocation methods
h. A hard disk having 2000 cylinders, numbered from 0 to 1999. the 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 diskscheduling
algorithms? (i) SSTF (ii) FCFS
j.Discuss the linked,Contigous and Index and Multilevel Indexing File allocation schemes.Which
allocation scheme will minimize the amount of space required in directory structures and why?
a.I/O Buffering