Skip to main content

Operating System MCQs with Answers

Practice important Operating System MCQs with answers and explanations.

Multiple Choice Questions

Q1101: In which of the following cases will thrashing occur?
  • A: When there are not enough frames for processes
  • B: When there is high CPU utilization
  • C: When there are no page faults
  • D: When there is no swapping of pages
View Answer
A

Q1102: Local page replacement helps in preventing which of the following?
  • A: Global page replacement
  • B: Thrashing in one process
  • C: High CPU utilization
  • D: High page fault rate
View Answer
B

Q1103: What is the main benefit of local page replacement?
  • A: It replaces pages without regard to the process
  • B: It prevents one process from causing thrashing in others
  • C: It increases CPU utilization
  • D: It reduces page fault frequency
View Answer
B

Q1104: What is the working set model based on?
  • A: Page fault frequency
  • B: Locality of reference
  • C: Degree of multiprogramming
  • D: Global page replacement
View Answer
B

Q1105: What does the working set size (WSS) of a process represent?
  • A: The number of frames required by the process
  • B: The total number of pages used by all processes
  • C: The total demand for frames
  • D: The number of page faults in a process
View Answer
A

Q1106: What happens if the total demand for frames exceeds the available frames?
  • A: Thrashing occurs
  • B: System performance improves
  • C: CPU utilization increases
  • D: Disk utilization decreases
View Answer
A

Q1107: What does the accuracy of the working set model depend on?
  • A: The selection of the working set window (∆)
  • B: The size of the memory available
  • C: The type of CPU used
  • D: The number of processes in the system
View Answer
A

Q1108: What is the main drawback of using a very small ∆ in the working set model?
  • A: It will not encompass the entire locality
  • B: It will include unnecessary pages
  • C: It will require excessive memory
  • D: It will lead to faster page faults
View Answer
A

Q1109: How does the page fault frequency method control thrashing?
  • A: It keeps track of page fault rates and adjusts frame allocation
  • B: It increases the degree of multiprogramming
  • C: It uses a larger page size
  • D: It monitors CPU utilization
View Answer
A

Q1110: What is the benefit of pre-paging in demand paging systems?
  • A: It reduces initial page faults
  • B: It reduces memory utilization
  • C: It increases disk usage
  • D: It reduces the need for page replacement
View Answer
A

Test Your Knowledge

Take a timed quiz on Operating System

🚀 Start Quiz Now