Operating System MCQs with Answers
Practice important Operating System MCQs with answers and explanations.
Multiple Choice Questions
Q921: In a two-level paging system, how is the logical address divided?
- A: Into an outer page table index and inner page table index
- B: Into a page number and page offset
- C: Into a process ID and page number
- D: Into a physical address and a logical address
View Answer
A
Q922: Which paging system divides the page table into smaller pieces to manage large address spaces?
- A: Hierarchical/Multilevel Paging
- B: Hashed Page Table
- C: Inverted Page Table
- D: Direct Paging
View Answer
A
Q923: What happens if a write operation is attempted on a read-only page?
- A: A hardware trap occurs
- B: The operation is successful
- C: The data is read instead of written
- D: The page is modified without issue
View Answer
A
Q924: How is the page table structured for 32-bit address spaces?
- A: It may become larger than a page and needs to be paged
- B: It fits within a single page
- C: It uses only one entry per page
- D: It does not require any paging
View Answer
A
Q925: What is the purpose of a hashed page table?
- A: To handle large address spaces with fewer memory references
- B: To store page addresses in sequential order
- C: To make it easier to find physical memory locations
- D: To increase the speed of address translation
View Answer
A
Q926: What type of page table is used in systems with large address spaces (32-bit and above)?
- A: Inverted Page Table
- B: Standard Page Table
- C: Direct Mapping Table
- D: Single-level Page Table
View Answer
A
Q927: In a hierarchical paging system, what is the outer page table used for?
- A: To index the inner page table
- B: To store the actual data of the page
- C: To map physical addresses to logical addresses
- D: To store the page offsets
View Answer
A
Q928: What is the advantage of an inverted page table over a traditional page table?
- A: It reduces memory usage by tracking physical memory
- B: It stores more detailed information about processes
- C: It improves the speed of address translation
- D: It is easier to implement
View Answer
A
Q929: What does the size of a page table depend on in an inverted page table?
- A: The number of frames in physical memory
- B: The number of logical addresses
- C: The number of processes in the system
- D: The number of pages in the system
View Answer
A
Q930: In an inverted page table, where is the entry for a process’s page stored?
- A: In the frame corresponding to the page in physical memory
- B: In the page directory
- C: In the process’s logical memory
- D: In the page offset
View Answer
A