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

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



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

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
  • latex换行符不能换行(latex换行后如何在开头空格)2025-03-10 15:00:09
  • 断开了网络连接如何连接(断开wifi连接)2025-03-10 15:00:09
  • 工具五金是哪五金(工具五金有哪些)2025-03-10 15:00:09
  • 操作系统基本操作过程(操作系统基本操作过程有哪些)2025-03-10 15:00:09
  • 二级解析免费域名分(二级域名分发解析永久免费)2025-03-10 15:00:09
  • wifi字典破解密码(wifi字典破解app)2025-03-10 15:00:09
  • 天气预报接口(天气预报接口源码)2025-03-10 15:00:09
  • ubuntu镜像有多大(ubuntu镜像有什么用)2025-03-10 15:00:09
  • 全屏图片