I'm studying for my operating systems final, and one question that my professor asked that I can't seem to find the answer to is the following:
"Why does virtual memory use non-contiguous memory allocation?"
The textbook only talks about virtual memory in the context of non-contiguous memory allocation, but never explains why. The only reason I can think of is because of page replacement, but I'm not even sure that's right. Anyone have any thoughts on this?