东南大学计算机系试卷,06(计)A 东南大学 计算机学院 操作系统试卷

06(计)A 东南大学 计算机学院 操作系统试卷

东 南 大 学 考 试 卷( A 卷) 课程名称 操作系统原理 考试学期 05-06 得分 适用专业 计算机 考试形式 闭卷 考试时间长度 120分钟 Ⅰ Explain the following clauses in the course of OS.(7.5×4=30 points) 1. SPOOLING 2. System Call 3. multi-programming 4. process deadlock Ⅱ Answer the following questions.(10+15=25 points) 1. Why it is necessary to use an open file command before to read (or write) a file? 2. Which kinds of interface commands are provided by device-driver to the kernel I/O subsystem? Ⅲ Computation(18 points) 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 pages faults would occur for the following replacement algorithms, assuming three frames? Remember that all frames are initially empty, so your first unique pages will all cost one fault each. 1.LRU replacement 2.FIFO replacement 3.Optimal replacement Ⅳ Programming(27 points)

The solution to the first readers-writers problem does not prevent waiting writers from starving: If the database is currently being read and there is a waiting writer, subsequent readers will be allowed to read the database before the writer can write. Modify the solution such that it does not starve waiting writers.

1.Give a modification approach and

2.Write a segment of java code to implement this approach

1-880-jpg_6_0_______-98-0-0-98.jpg

共 1 页 第 1 页

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值