Operating System – MCQ Practice Pack
Operating System – MCQ Practice Pack
CPU Scheduling | Deadlock | Memory Management | Process Management | File Systems
Prepared for KPPSC Commission Test Preparation
| Total Questions | Topics Covered | Difficulty | Best For |
|---|---|---|---|
| 100 MCQs | 10 Sections | Intermediate–High | KPPSC / ETEA / FPPSC |
Section: CPU Scheduling – Basics
Q1. Which scheduling algorithm gives the minimum average waiting time for a given set of processes?
✓ Correct Answer: C
Q2. FCFS scheduling is also known as:
✓ Correct Answer: B
Q3. Which of the following is a preemptive version of SJF?
✓ Correct Answer: C
Q4. Round Robin scheduling is best suited for:
✓ Correct Answer: C
Q5. The time quantum in Round Robin scheduling directly affects:
✓ Correct Answer: B
Q6. Convoy effect is a drawback of which scheduling algorithm?
✓ Correct Answer: C
Q7. Which scheduling criterion measures the fraction of time the CPU is busy?
✓ Correct Answer: B
Q8. Turnaround time is defined as:
✓ Correct Answer: A
Q9. Which algorithm may cause starvation?
✓ Correct Answer: C
Q10. Aging is a technique used to prevent:
✓ Correct Answer: B
Section: CPU Scheduling – Advanced
Q11. In Multilevel Queue Scheduling, which queue typically has the highest priority?
✓ Correct Answer: B
Q12. Which scheduling algorithm has the best response time for interactive processes?
✓ Correct Answer: C
Q13. The Highest Response Ratio Next (HRRN) algorithm calculates priority as:
✓ Correct Answer: B
Q14. Which scheduling is used in real-time operating systems?
✓ Correct Answer: C
Q15. Multilevel Feedback Queue differs from Multilevel Queue in that:
✓ Correct Answer: B
Q16. Context switching overhead increases when:
✓ Correct Answer: B
Q17. Which scheduling algorithm is non-preemptive by nature?
✓ Correct Answer: C
Q18. In priority scheduling, a lower priority number means:
✓ Correct Answer: B
Q19. The scheduling algorithm that gives minimum average waiting time for uniform arrival time:
✓ Correct Answer: C
Q20. Which of the following is NOT a scheduling criterion?
✓ Correct Answer: C
Section: Process Synchronization
Q21. The critical section problem requires which three conditions?
✓ Correct Answer: A
Q22. A semaphore is a variable used for:
✓ Correct Answer: B
Q23. A binary semaphore can take values:
✓ Correct Answer: B
Q24. The wait() operation on a semaphore is also called:
✓ Correct Answer: C
Q25. Which of the following is a classical synchronization problem?
✓ Correct Answer: B
Q26. A monitor is a high-level synchronization construct that provides:
✓ Correct Answer: B
Q27. Busy waiting in synchronization is also called:
✓ Correct Answer: B
Q28. The Dining Philosophers Problem was proposed by:
✓ Correct Answer: B
Q29. Peterson's solution works for how many processes?
✓ Correct Answer: C
Q30. Which of the following provides mutual exclusion without busy waiting?
✓ Correct Answer: B
Section: Deadlock – Concepts
Q31. Deadlock occurs when a process is waiting for a resource that is:
✓ Correct Answer: B
Q32. Which of the following is NOT a necessary condition for deadlock?
✓ Correct Answer: C
Q33. Circular wait means:
✓ Correct Answer: B
Q34. The 'No Preemption' condition for deadlock means:
✓ Correct Answer: B
Q35. Resource Allocation Graph (RAG) is used to:
✓ Correct Answer: B
Q36. In a RAG, a cycle indicates:
✓ Correct Answer: B
Q37. Which of the following is a deadlock avoidance algorithm?
✓ Correct Answer: A
Q38. The Banker's Algorithm was proposed by:
✓ Correct Answer: B
Q39. A safe state in Banker's Algorithm means:
✓ Correct Answer: B
Q40. Deadlock prevention involves:
✓ Correct Answer: B
Section: Deadlock – Detection & Recovery
Q41. Deadlock detection algorithms are used when:
✓ Correct Answer: A
Q42. Which data structure is used in deadlock detection for multiple-instance resources?
✓ Correct Answer: C
Q43. The wait-for graph is derived from the Resource Allocation Graph by:
✓ Correct Answer: B
Q44. In deadlock recovery, process termination means:
✓ Correct Answer: B
Q45. Resource preemption as deadlock recovery means:
✓ Correct Answer: B
Q46. Which approach accepts that deadlock may occur and recovers from it?
✓ Correct Answer: C
Q47. The Ostrich Algorithm refers to:
✓ Correct Answer: B
Q48. To break circular wait condition, we can:
✓ Correct Answer: A
Q49. To break 'Hold and Wait', a process must:
✓ Correct Answer: A
Q50. Livelock is different from deadlock because in livelock:
✓ Correct Answer: B
Section: Memory Management
Q51. Internal fragmentation occurs in:
✓ Correct Answer: B
Q52. External fragmentation occurs in:
✓ Correct Answer: C
Q53. Compaction is a technique to solve:
✓ Correct Answer: B
Q54. A page table is used in:
✓ Correct Answer: C
Q55. Translation Lookaside Buffer (TLB) is a:
✓ Correct Answer: B
Q56. Virtual memory allows processes to use:
✓ Correct Answer: B
Q57. Thrashing occurs when:
✓ Correct Answer: B
Q58. The optimal page replacement algorithm replaces the page:
✓ Correct Answer: B
Q59. LRU page replacement stands for:
✓ Correct Answer: A
Q60. Belady's Anomaly is associated with which page replacement algorithm?
✓ Correct Answer: C
Section: Process Management
Q61. A process is:
✓ Correct Answer: B
Q62. The Process Control Block (PCB) contains:
✓ Correct Answer: B
Q63. Which process state comes after 'Ready'?
✓ Correct Answer: C
Q64. Inter-Process Communication (IPC) methods include:
✓ Correct Answer: A
Q65. A thread is also called a:
✓ Correct Answer: B
Q66. Threads within the same process share:
✓ Correct Answer: B
Q67. Zombie process is a process that has:
✓ Correct Answer: B
Q68. An orphan process is a process whose:
✓ Correct Answer: B
Q69. Fork() system call creates:
✓ Correct Answer: B
Q70. Which of the following is NOT a process state?
✓ Correct Answer: C
Section: OS Concepts – General
Q71. Multiprogramming refers to:
✓ Correct Answer: B
Q72. Time-sharing OS allows:
✓ Correct Answer: B
Q73. A kernel is:
✓ Correct Answer: B
Q74. System calls provide an interface between:
✓ Correct Answer: B
Q75. Which of the following is NOT a type of operating system?
✓ Correct Answer: D
Q76. Spooling stands for:
✓ Correct Answer: A
Q77. Which of the following is an example of non-preemptive scheduling?
✓ Correct Answer: C
Q78. The main purpose of an OS is to:
✓ Correct Answer: B
Q79. A real-time OS guarantees:
✓ Correct Answer: B
Q80. DMA stands for:
✓ Correct Answer: A
Section: File Systems & I/O
Q81. Seek time in a hard disk is the time to:
✓ Correct Answer: B
Q82. SSTF disk scheduling stands for:
✓ Correct Answer: A
Q83. The SCAN disk scheduling algorithm is also called:
✓ Correct Answer: A
Q84. Which file allocation method suffers from external fragmentation?
✓ Correct Answer: C
Q85. Inode in Unix stores:
✓ Correct Answer: B
Q86. A directory is essentially a:
✓ Correct Answer: A
Q87. Buffering in I/O is used to:
✓ Correct Answer: B
Q88. Which of the following is NOT a disk scheduling algorithm?
✓ Correct Answer: D
Q89. FAT stands for:
✓ Correct Answer: A
Q90. The purpose of a file system is to:
✓ Correct Answer: B
Section: Bonus – Mixed High-Yield Topics
Q91. Which of the following algorithms avoids deadlock by denying resource requests that could lead to an unsafe state?
✓ Correct Answer: B
Q92. Which page replacement algorithm suffers from Belady's Anomaly?
✓ Correct Answer: A
Q93. Which of the following is true about a monitor?
✓ Correct Answer: B
Q94. In the context of scheduling, 'throughput' means:
✓ Correct Answer: B
Q95. Which condition must be violated to prevent deadlock using resource ordering?
✓ Correct Answer: D
Q96. The working set model is related to:
✓ Correct Answer: C
Q97. Which of the following is used to detect deadlock in a system with single-instance resources?
✓ Correct Answer: B
Q98. Which scheduling policy is most appropriate for minimizing response time in interactive systems?
✓ Correct Answer: C
Q99. Which of the following is a necessary condition for a system to be in a safe state?
✓ Correct Answer: B
Q100. In paging, the logical address is divided into:
✓ Correct Answer: B
Post a Comment