Just two quick questions about the solutions:
For number 11, why would C not be correct as well?
Because it's not true: if you have 32 registers and 30 arguments,
you'd have fewer arguments than registers, but you wouldn't be able to
fit the strings into the remaining two registers even if you tried.
For question 23, I thought that buddy allocation does
not suffer from
external fragmentation. At least that's what Professor Seltzer said in
lecture #8.
I hope not, because it's not true - imagine you have 2M of memory and
you allocate it all in 128-byte chunks, and then you free every other
chunk. This gives you 1M total free memory, but the largest allocation
you can satisfy is 128 bytes.
--
- David A. Holland / dholland(a)eecs.harvard.edu