This set of Multiple Choice Questions (MCQs) covers fundamental concepts of Operating System Memory Management, including logical vs physical addressing, paging, fragmentation, and allocation strategies. Useful for GATE, IBPS IT Officer, and other competitive exams.
Topic: Operating System (Memory Management) | Set: 1
Difficulty: Easy to Medium | Total Questions: 15
Also Study
Operating System Deadlock MCQ with Answers (Set 2) to strengthen your understanding of deadlocks.
Operating System Memory Management MCQs
Q1. The address generated by the CPU is referred to as:
A. Physical Address
B. Logical Address
C. Absolute Address
D. Secondary Address
View Answer & Explanation
Answer: B
Explanation: CPU generates logical addresses which are later mapped to physical addresses.
Q2. Which hardware maps logical to physical addresses?
A. ALU
B. Control Unit
C. MMU
D. DMA
View Answer & Explanation
Answer: C
Explanation: MMU performs runtime address mapping.
Q3. Internal fragmentation occurs when:
A. Non-contiguous memory
B. Extra allocated space unused
C. Process too large
D. No free block
View Answer & Explanation
Answer: B
Explanation: Unused space inside allocated block.
Q4. Best-fit strategy selects:
A. First block
B. Largest block
C. Smallest suitable block
D. Next block
View Answer & Explanation
Answer: C
Explanation: Minimizes leftover space.
Q5. Swapping moves process from:
A. CPU→RAM
B. RAM→Disk
C. Cache→RAM
D. Register→Cache
View Answer & Explanation
Answer: B
Explanation: Frees RAM by moving process to disk.
Q6. Physical memory blocks in paging are called:
A. Pages
B. Segments
C. Frames
D. Sectors
View Answer & Explanation
Answer: C
Explanation: Frames are fixed-size physical blocks.
Q7. Page table is used to:
A. Store data
B. Map pages to frames
C. Track registers
D. Manage disk
View Answer & Explanation
Answer: B
Explanation: Maps logical pages to physical frames.
Q8. Page fault occurs when:
A. Syntax error
B. Page not in memory
C. RAM fails
D. Data conflict
View Answer & Explanation
Answer: B
Explanation: OS loads missing page from disk.
Q9. Technique allowing large programs beyond RAM:
A. Compaction
B. Virtual Memory
C. Overlay
D. Paging
View Answer & Explanation
Answer: B
Explanation: Logical memory exceeds physical memory.
Q10. External fragmentation occurs in:
A. Paging
B. Fixed partition
C. Variable partition
D. VM
View Answer & Explanation
Answer: C
Explanation: Non-contiguous free spaces.
Q11. The Relocation Register is used to:
A. Store process size
B. Protect OS
C. Add base to logical address
D. Count page faults
View Answer & Explanation
Answer: C
Explanation: Holds base physical address for relocation.
Q12. Compaction is used to solve:
A. Internal fragmentation
B. External fragmentation
C. Thrashing
D. Deadlock
View Answer & Explanation
Answer: B
Explanation: Compaction merges free memory into one large block.
Q13. Dynamic loading means:
A. Load full program
B. Load when called
C. Load to registers
D. Swap automatically
View Answer & Explanation
Answer: B
Explanation: Code is loaded only when needed.
Q14. Limit register defines:
A. CPU speed
B. Start address
C. Address space size
D. Total RAM
View Answer & Explanation
Answer: C
Explanation: Defines logical address range.
Q15. If page size = 2^n, low-order bits represent:
A. Page number
B. Offset
C. Frame number
D. Segment
View Answer & Explanation
Answer: B
Explanation: Offset specifies location inside page.
Conclusion
These Operating System Memory Management MCQ Questions help strengthen understanding of memory management techniques, fragmentation, paging and other important concepts . Practice regularly for IBPS IT Officer and GATE exams.
For detailed theory, refer to Operating System Memory Management .