which of the following directly result in internal fragmenta
which of the following directly result in internal fragmentation?
select ALL the correct answers
1. Maintaining the heap\'s structure using block headers
2. Adding padding to a block to meet the double-word alignment requirement
3. using the next-fit placement policy to find a suitable free block
4. Not coalescing adjacent free blocks to form a larger block to meet the required block size
5. Splitting a free block that is larger than the required block size
Solution
The correct options are as follows:
1. Maintaining the heap\'s structure using block headers,
3. Using the next-fit placement policy to find a suitable free block, and
4. Not coalescing adjacent free blocks to form a larger block to meet the required block size.
Explanation:
Thus, the headers are used to maintain the structure of heap.
Therefore, the option 1. is correct.
Therefore, the option 3. is correct.
Therefore, the option 4. is correct.
Therefore, the option 2. is in-correct.
Splitting avoid the internal fragmentation.
Therefore, the option 5. is in-correct.
