OS Question Bank
OS Question Bank
OS Question Bank
questions for exam preparation. Please note that the coverage of the entire
syllabus is recommended and necessary.
Operating System Question Bank
1. Give the Difference between Multi-Programming, Multi-tasking, Multiprocessing
Systems.
2. Explain different types of OS in detail
3. What is Kernel? Differentiate between Monolithic Kernel andMicro Kernel.
4. Explain different service provided by operating system.
5. What is system call? Explain steps for system call execution.
6. What is Process? Draw the Five State Process Model and Explain it.
8. Write the difference between the user-level thread and the Kernal-level thread.
9. The following table gives the arrival time and expected run time of five processes.
Find the average turnaround time for following the scheduling algorithm.
c. FCFS
14. List and define the three conditions needed to achieve synchronization. ( in this
you have to explain Mutual Exclusion, progress, bounded waiting)
15. Discuss Peterson's solution and how it ensures mutual exclusion, progress and
bounded waiting.
18. Describe Down()/ P() and Up()/V() operations for counting and binary
semaphores.
20. Explain the dining philosopher problem. Provide a solution to the dining
philosopher problem using semaphores.
21. Define deadlock in the context of operating systems. Explain the conditions
necessary for deadlock to occur.
22. How can we prevent the deadlock? Explain in detail.
23.
Consider the snapshot of the system with Five Processes and Fourtypes of resources
A,B,C,D. The currently available set of resources is(1,5,2,0). Answer the following
Questions using the banker algorithm.
C. If a request from Process P1 arrives for (0,4,2,0) can the requestbe granted
immediately?
26. What is Paging? What is Page Table? Explain the conversion of Virtual Address to
Physical Address in Paging with example.
27. What is fragmentation? Explain the difference between internal and external
fragmentation.
28. What is demand paging? Explain the steps of Demand paging with a diagram.
30. Consider a system where the main memory access time is 100ns and the TLB
access time is 20ns. The hit ratio is 95%. What is an effective memory access time
with and without TLB?
31. Consider a system where Main Memory access time is 30 ns. Page fault service
time is 300 ns. Page hit ration is 85%. What is Effective Memory Access
Time(EMAT)?
33. Explain the concept of Direct Memory Access (DMA) and its significance in I/O.
35. Suppose Disk drive has 300 cylinders. The current position of the head is 90.
The queue of pending request is 36,79,15,120,199,270,89,170. Calculate head
movement for the following algorithms.
1. FCFS 2. SSTF 3. SCAN 4. C-SCAN