159 - CS8493, CS6401 Operating Systems - Question Bank
159 - CS8493, CS6401 Operating Systems - Question Bank
159 - CS8493, CS6401 Operating Systems - Question Bank
UNIT ‐ I
2 MARK QUESTIONS:
www.BrainKart.com
Click Here for Operating Systems full study material.
16 MARK QUESTIONS:
UNIT‐ II
2 MARK QUESTIONS:
1. Define Process
3. What Is PCB?
4. Define Threads.
8. Define IPC.
www.BrainKart.com
Click Here for Operating Systems full study material.
16 MARK QUESTIONS:
5. Consider the following set of processes with the length of the CPU burst time given in milliseconds
P1 10 3
P2 1 1
P3 2 3
P4 1 4
P5 5 2
The processes are assumed to have arrived in the order p1,p2,p3,p4,p5 all at time 0.
a. Draw four Gantt charts illustrating the execution of these processes using FCFS,SJF,anon
preemptive priority (a smaller priority number implies a higher priority)and RR
(quantum=1)scheduling.
b. What is the turnaround time of each process for each of the scheduling algorithms
in part a?
c. What is the waiting time of each process for each of the scheduling algorithms in part a?
d. Which of the schedules in part a results in the minimal average waiting time?
A B C D A B C D ABC D
P0 0 0 1 2 0 01 2 1 5 2 0
P1 1 0 0 0 1 75 0
P2 1 3 5 4 2 35 6
P3 0 6 3 2 0 65 2
P4 0 0 1 4 0 65 6
c) If a request from process p1 arrives for (0,4,2,0) can the request be granted immediately?
UNIT‐ III
2 MARK QUESTIONS:
3. What is Overlays?
4. Define Swapping
5. What is Paging?
6. Define segmentation.
www.BrainKart.com
Click Here for Operating Systems full study material.
8. What is TLB?
17.What is Thrashing?
18. Consider a logical address space of eight pages of 1024 words each mapped onto a physical memory
of 32 frames
16 MARK QUESTIONS:
1,2,3,4,,2,1,5,6,2,1,2,3,7,6,3,2,1,2,3,6
How many page faults would occur for the following replacement algorithms, assuming two,
three frames?
Remember that all frames are initially empty, so your first unique pages will all cost one fault
each.
LRU replacement
FIFO replacement
Optimal replacement
10. Explain in detail about Thrashing.
UNIT‐ IV
2 MARK QUESTIONS:
www.BrainKart.com
Click Here for Operating Systems full study material.
20.What is streams?
16 MARK QUESTIONS:
Starting from the current head position, what is the total distance (in cylinders) that the disk
arm moves to satisfy all the pending requests for each of the following disk‐scheduling
algorithms?
a. FCFS
b. SSTF
c. SCAN
d. LOOK
e. C‐SCAN
f. C‐LOOK
UNIT‐ V
2 MARK QUESTIONS:
www.BrainKart.com
Click Here for Operating Systems full study material.
16 MARK QUESTIONS:
www.BrainKart.com