Operating Systems · Question 11 · Medium
In which memory-management scheme does internal fragmentation occur?
- Pure segmentation, in the gaps between variable-size segments
- Contiguous allocation with variable-size partitions
- It never occurs, because paging removes all fragmentation
- Paging, when the last page of a process does not fill its frame completely
Answer and explanation
Answer: D. Paging, when the last page of a process does not fill its frame completely
Explanation: Paging allocates memory in fixed-size frames, so unused space in the last frame is wasted inside the allocation, which is internal fragmentation. Variable-size schemes suffer from external fragmentation.
Previous: How many times is "Hi" printed when this C program runs? Assume every fork()… · Next: A paged system has a page size of 4 KB, a logical address space of 64 pages…
Practise operating systems
Try a fresh set of operating systems questions with an explanation after every answer, free and without signing up: Operating Systems practice. Or sit a full placement mock test.
More operating systems questions
- A system has 3 page frames, all initially empty. For the page reference string…
- A counting semaphore S is initialised to 8. Then 11 wait (P) operations and 5…
- How many times is "Hi" printed when this C program runs? Assume every fork()…
- A paged system has a page size of 4 KB, a logical address space of 64 pages…
- A system has 3 page frames, all initially empty. For the page reference string…
- A TLB lookup takes 20 ns and a main-memory access takes 100 ns. On a TLB miss…
- Two processes enforce mutual exclusion using only a shared variable turn…
- The Banker's algorithm is used for which deadlock-handling strategy?
- Which of the following is NOT shared between threads of the same process?
- Which page-replacement algorithm gives the lowest possible number of page…
More technical & programming practice
Computer Networks · Software Engineering · Cloud & DevOps · GenAI Basics · Pseudo-code · C Programming · Java · Python
LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge