Viva Questions Operating System
Viva Questions Operating System
3. Which scheduling algorithm allocates the CPU first to the process that requests the
CPU first?
5. What do you mean by Average turnaround time and average waiting time.
Viva - Questions:
1. In priority scheduling algorithm, when a process arrives at the ready queue, its
priority is compared with the priority of which process.
2. What is starvation?
3. What is aging?
5. If two processes come on same time, on what criteria will process be chosen for
processing?
Viva - Questions:
1. What do you mean by Time Slice?
4. What are the factors that affect Round Robin Scheduling Algorithm?
5. Round robin scheduling falls under the category of which scheduling Non preemptive
scheduling or Preemptive scheduling.
Viva - Questions:
1. Define Demand Paging, Page fault interrupt, and Thrashing?
2. Under what circumstances do page faults occur? Describe the actions taken by the
operating system when a page fault occurs?
3. What is the cause of thrashing? How does the system detect thrashing? Once it detects
thrashing, what can the system do to eliminate this problem?
4. What is a page and what is a frame. How are the two related?
2. Describe first-fit, best-fit strategies and worst fit strategies for disk space allocation,
with their merits and demerits.
5. The first fit, best fit and worst fit are strategies to select a _____________
Viva - Questions:
1. Define the critical section problem and explain the necessary characteristics of a correct
solution.
4. Define monitor.
8. When does deadlock happen? How does Banker’s algorithm avoid the deadlock
condition?