Sybca Os Question Bank
Sybca Os Question Bank
Sybca Os Question Bank
Q. 2 marks questions
What is the Race condition ?
What is meant by Waiting Time ?
What is meant by multiprocessing system ?
What is Context switch ?
What is meant by Address Binding ?
What do you mean by Seek Time in Disk Scheduling ?
Define the term Operating System.
What is meant by Deadlock ?
Define the term Dispatcher.
Algorithm.
?
o Wait for graph is used for deadlock avoidance in the system.
True/False. Justify
Q. 4 marks question
1.List and explain services provided by operating system.
2.Explain Resource Allocation Graph in detail.
21.List and explain system calls related to Process and Job control.
22.Explain multilevel Feedback queue Algorithm.
23.Describe in detail the 'producer –consumer ' Synchronization
problem.
24.Write a note on interrupts.
(c) Consider the five processes P0, P1, P2, P3, P4 and three
resources A, B, C :
Allocation MAX Available
A B C A B C A B C
P0 0 3 2 6 5 4 3 4 4
P1 1 2 0 4 4 4
P2 0 0 0 0 0 1
P3 3 3 2 3 9 3
P4 1 4 3 2 5 3
Answer the following questions using Banker’s Algorithm :
(i) What is the contents of need matrix ?
(ii) Is the system in a safe state ? Find the safe sequence.
(b) Assume there are total 200 tracks present on each surface
of the disk, if request queue is 57, 60, 41, 20, 92, 162, 152,
40, 186.
9, 2, 3, 4, 2, 5, 2, 6, 4, 5, 2, 5, 4, 3, 4, 2, 3, 9, 2, 3
(i) FIFO
(ii) Optimal.
P1 200 322
P2 302 902
P3 211 222
P4 002 433
Is the system safe ? Justify.
Calculate average turn around time and average waiting time for
all set of processes using FCFS algorithm
Q. Assume there are total 0-199 tracks that are present on each surface of the
disk. If request queue is 68, 172, 4, 178, 130, 40, 118 and 136 initial position of
the head is 25. Apply FCFS disk scheduling
9,2,3,4,2,5,2,6,4,5,2,5,4,3,4,2,3,9,2,3
The number of Frames is 3. Show page trace and calculate page Fault for
the following page replacement schemes.
i) OPTIMAL ii) LFU
P4 9 3
1, 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5
Use LRU algorithm to find the number of page faults :