233k views
0 votes
When the memory allocated to a process is slightly larger than the process, then :

a) Internal fragmentation occurs
b) External fragmentation occurs
c) Both a and b
d) Neither a nor b

User Wchargin
by
9.6k points

1 Answer

3 votes

Final answer:

When memory allocated to a process is slightly larger than the process, both internal and external fragmentation may occur.

Step-by-step explanation:

When the memory allocated to a process is slightly larger than the process, both internal and external fragmentation can occur.

Internal fragmentation happens when the allocated memory for a process includes unused spaces within the allocated block. This can cause inefficient memory usage.

External fragmentation occurs when the free memory available for allocation is scattered in small separate blocks, making it difficult to find contiguous memory space for larger processes.

Therefore, the correct answer is both a and b.

User DannyB
by
7.8k points