操作系统第8章作业附答案
1、Explain the difference between internal and external fragmentation.
2、Given five memory partitions of 100 KB, 500 KB, 200 KB, 300 KB, and 600KB (in order),
how would each of the first-fit, best-fit, and worst-fit algorithms place processes of 212 KB, 417
KB, 112 KB, and 426 KB (in order)? Which algorithm makes the most efficient use of memory?
3、On a system with paging, a process cannot access memory that it does not own; why? How
could the operating system allow access to other memory? Why should it or should it not?
4、Explain why it is easier to share a reentrant module using segmentation than it is to do so when pure paging is used.
5、Consider the following segment table:
What are the physical addresses for the following logical addresses?
1