复查测验提交: 第9章 虚拟内存
用户 工科试验班(信息) 裴弈心
课程 操作系统
测试 第9章 虚拟内存
已开始 19-12-2 上午10:03
已提交 19-12-5 下午5:53
截止日期 19-12-8 下午11:30
状态 已完成
尝试分数 得 120 分,满分 124 分
已用时间 79 小时 50 分钟
显示的结果 所有答案, 已提交的答案, 正确答案
问题 1
所选答案:
C.
答案:
A.
B.
C.
D.
A demand paging system adopts the LRU page replacement algorithm. Consider a reference string
1 8 1 7 8 2 7 2 1 8 3 8 2 1 3 1 7 1 3 7. The total number of page faults given 4 inially empty page
frames is __________.
6
4
5
6
7
问题 2
1. LRU replacement
2. FIFO replacement
3. Optimal replacement
Consider the following page reference string:
1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1, 2, 3, 6.
How many page faults would occur for the following replacement algorithms, assuming three,
four frames? Remember all frames are initially empty, so your first unique pages will all cost one
fault each.
Answer:(填上缺页次数)
Number of frames LRU FIFO Optimal
3 [x31]
[x32]
[x33]
评论0