当前位置:网站首页 > 编程语言 > 正文

操作系统的答案(操作系统答案第九版)



操作系统第九版部分课后作业习题答案

CHAPTER9VirtualMemoryPracticeExercises

9.1Underwhatcircumstancesdopagefaultsoccur?Describe

theactionstakenbytheoperatingsystemwhenapagefault

occurs.

Answer:

Apagefaultoccurswhenanaccesstoapagethathasnot

been

broughtintomainmemorytakesplace.Theoperating

systemveri?es

thememoryaccess,abortingtheprogramifitisinvalid.Ifit

isvalid,afreeframeislocatedandI/Oisrequestedtoreadthe

neededpageintothefreeframe.UponcompletionofI/O,the

processtableandpagetableareupdatedandtheinstructionis

restarted.

9.2Assumethatyouhaveareferencestringfora

processwithmframes(initiallyallempty).Thereference

stringhaslengthp;

ndistinctpagenumbersoccurinit.Answerthesequestions

foranyreplacementalgorithms:

a.Whatisalowerboundonthenumberofpagefaults?

b.Whatisanupperboundonthenumberofpagefaults?

Answer:

a.n

b.p

9.3ConsiderthepagetableshowninFigure9.30forasystem

with12-bitvirtualandphysicaladdressesandwith256-byte

pages.Thelistoffree

pageframesisD,E,F(thatis,Disattheheadofthelist,Eis

second,andFislast).

Convertthefollowingvirtualaddressestotheirequivalent

physicaladdressesinhexadecimal.Allnumbersaregivenin

hexadecimal.(Adashforapageframeindicatesthatthepageis

notinmemory.)

9EF

111

2930Chapter9VirtualMemory

700

0FF

Answer:

9EF-0EF

111-211

700-D00

0FF-EFF

9.4Considerthefollowingreplacementalgorithms.

Rankthesealgorithmsona?ve-pointscalefrom“bad”to

“pe

到此这篇操作系统的答案(操作系统答案第九版)的文章就 介绍到这了,更多相关内容请继续浏览下面的相关 推荐文章,希望大家都能在编程的领域有一番成就!

版权声明


相关文章:

  • 圈一圈写一写图解一年级圆圈(圈一圈数一数图解一年级)2025-03-10 15:00:09
  • 统信系统安装方法(统信系统如何安装exe文件)2025-03-10 15:00:09
  • linux修改文件权限不够(linux中修改文件权限不可读)2025-03-10 15:00:09
  • 制作网页的代码DW(初学者网页制作代码)2025-03-10 15:00:09
  • 网址解析ip地址(网址解析ip地址 ESP8266)2025-03-10 15:00:09
  • 操作系统基本操作过程(操作系统基本操作过程有哪些)2025-03-10 15:00:09
  • 网页传输文件(网页传输文件电脑有记录吗)2025-03-10 15:00:09
  • 二级解析免费域名分(二级域名分发解析永久免费)2025-03-10 15:00:09
  • pointnet网络(pointnet网络 点云属性)2025-03-10 15:00:09
  • wifi字典破解密码(wifi字典破解app)2025-03-10 15:00:09
  • 全屏图片