Question: what is the difference between internal and external fragmentation when does it occur?
Answer: Internal Fragmentation occurs when a process needs more space than the size of allotted memory block or use less space. External Fragmentation occurs when a process is removed from the main memory.