Skip to main content

Operating System MCQs with Answers

Practice important Operating System MCQs with answers and explanations.

Multiple Choice Questions

Q1011: In a paging system, which hardware component is responsible for translating the virtual address to a physical address?
  • A: Page table
  • B: CPU register
  • C: Disk
  • D: Memory controller
View Answer
A

Q1012: The process of bringing a page into memory only when it is needed is known as what?
  • A: Demand paging
  • B: Swapping
  • C: Segmentation
  • D: Virtualization
View Answer
A

Q1013: What happens after the OS has serviced a page fault and the required page is loaded into memory?
  • A: The process is restarted from the instruction that caused the page fault
  • B: The process is terminated
  • C: The page is marked as invalid
  • D: The process is suspended
View Answer
A

Q1014: A program can continue executing after a page fault because the OS saves which of the following?
  • A: Page table
  • B: Process state and register values
  • C: All of the above
  • D: None of the above
View Answer
B

Q1015: Which memory access time factor influences the overall performance of demand paging?
  • A: Page fault rate
  • B: CPU clock speed
  • C: Virtual memory size
  • D: Disk read/write speed
View Answer
A

Q1016: In demand paging, a page is swapped out only if:
  • A: It is not needed by any process
  • B: It has not been accessed for a long time
  • C: It is the least frequently used
  • D: The page table entry is marked invalid
View Answer
B

Q1017: The page fault service time consists of which of the following components?
  • A: Reading the page from disk
  • B: Saving user registers
  • C: Restarting the process
  • D: All of the above
View Answer
D

Q1018: The page fault service time is most significantly affected by:
  • A: Disk access time
  • B: CPU processing time
  • C: Memory access time
  • D: Virtual memory size
View Answer
A

Q1019: What happens if a process tries to access a page that is not in memory?
  • A: A page fault occurs
  • B: The process is terminated immediately
  • C: The system shuts down
  • D: The page is loaded from disk
View Answer
A

Q1020: Which of the following is NOT a benefit of demand paging?
  • A: Efficient process creation
  • B: Less I/O and faster execution
  • C: Increased memory utilization
  • D: No page faults during execution
View Answer
D

Test Your Knowledge

Take a timed quiz on Operating System

🚀 Start Quiz Now