FCU_Talk 板


LINE

资讯系-作业系统/戴婵玲/94上期中考 来抛砖引玉一下... 一、解释名词(25%) a. PCB b. preemptive scheduling c. cascading termination d. dispatch latency e. convoy effort 二、问答题(75%) 1. 对於资源保护而言,双模(dual-mode)作业模式为何是必要的?它如何工作?我们为何 需要系统呼叫(system call)? (15%) 2. 说明下列作业系统的优点和缺点:(10%) A.分层结构(layer approach) B.虚拟机(VM) 3. 何谓thread pool?他有何优点?既然称thread为轻量级行程,为何还需要用到thread pool?(15%) 4. 中断(interrupt)是电脑改变其执行指令的正规流程而产生的讯号(signal)。请描述中 段处理的基本程序。(10%) 5. 针对下列各行程到达与执行时的资讯,若采用SRTF、preemptive priority scheduling 等排班法 (15%) A.画出每一种排班法的甘特图。 B.计算每一行程在不同排班法的回复时间与等待时间。 C.计算各排班法的平均等待时间。 行程 到达时间 CPU Burst Time Priority -------------------------------------------------------- P1 0 5 3 P2 2 3 2 P3 3 1 1 P4 5 4 2 P5 6 6 2 6.选择题(10%) A.Which of the following items is not an operation of the dispatcher? (1) switching context (2) switching to the user mode (3) determining the degree of multiprogramming (4) jumping to the proper location in the user programming to restart that program B.Which of the following statement about threads is not correct? (1) There is no memory protection among the peer thread of a process. (2) Because kernel thread management is optimized by the operating system, kernel threads are generally faster to create and manage than user threads. (3) If a kernel thread performs a blocking system call, the kernel can schedule another thread in the application for execution. (4) Windows NT, Windows 2000 and Solaris 2 support kernel threads. C.Which of the following statements about CPU scheduling is not correct? (1) The average waiting time under FCFS scheduling is often quite long. (2) The SJF scheduling algorithm is optimal in terms of user response time. (3) A major problem with priority-scheduling algorithm is starvation. (4) The FCFS algorithm is particularly troublesome for time-sharing systems, where each user needs to get a share of the CPU at regular intervals. D.The following are common scheduling criteria: (i) urgency of a fast response (ii) is the process batch or interactive (iii) process priority (iv) accumulated waiting time (v) estimated run-time to completion For each of the following, indicate which of the preceding scheduling criteria is most appropriate. (1) Is user present and expecting fast interactive response time, or before its quantum expires? (2) One goal of process scheduling is to minimize average waiting times. 呼...还真多 @.@ -- http://www.wretch.cc/blog/danielhsieh 抓紧最後能够放松的日子!! --



※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 218.163.152.117
1F:推 asimon:戴妈耶 XD 06/29 00:51
2F:推 tang76430:借转^^ 06/30 00:57
XX9:转录至看板 FCUProblems 01/16 20:26







like.gif 您可能会有兴趣的文章
icon.png[问题/行为] 猫晚上进房间会不会有憋尿问题
icon.pngRe: [闲聊] 选了错误的女孩成为魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一张
icon.png[心得] EMS高领长版毛衣.墨小楼MC1002
icon.png[分享] 丹龙隔热纸GE55+33+22
icon.png[问题] 清洗洗衣机
icon.png[寻物] 窗台下的空间
icon.png[闲聊] 双极の女神1 木魔爵
icon.png[售车] 新竹 1997 march 1297cc 白色 四门
icon.png[讨论] 能从照片感受到摄影者心情吗
icon.png[狂贺] 贺贺贺贺 贺!岛村卯月!总选举NO.1
icon.png[难过] 羡慕白皮肤的女生
icon.png阅读文章
icon.png[黑特]
icon.png[问题] SBK S1安装於安全帽位置
icon.png[分享] 旧woo100绝版开箱!!
icon.pngRe: [无言] 关於小包卫生纸
icon.png[开箱] E5-2683V3 RX480Strix 快睿C1 简单测试
icon.png[心得] 苍の海贼龙 地狱 执行者16PT
icon.png[售车] 1999年Virage iO 1.8EXi
icon.png[心得] 挑战33 LV10 狮子座pt solo
icon.png[闲聊] 手把手教你不被桶之新手主购教学
icon.png[分享] Civic Type R 量产版官方照无预警流出
icon.png[售车] Golf 4 2.0 银色 自排
icon.png[出售] Graco提篮汽座(有底座)2000元诚可议
icon.png[问题] 请问补牙材质掉了还能再补吗?(台中半年内
icon.png[问题] 44th 单曲 生写竟然都给重复的啊啊!
icon.png[心得] 华南红卡/icash 核卡
icon.png[问题] 拔牙矫正这样正常吗
icon.png[赠送] 老莫高业 初业 102年版
icon.png[情报] 三大行动支付 本季掀战火
icon.png[宝宝] 博客来Amos水蜡笔5/1特价五折
icon.pngRe: [心得] 新鲜人一些面试分享
icon.png[心得] 苍の海贼龙 地狱 麒麟25PT
icon.pngRe: [闲聊] (君の名は。雷慎入) 君名二创漫画翻译
icon.pngRe: [闲聊] OGN中场影片:失踪人口局 (英文字幕)
icon.png[问题] 台湾大哥大4G讯号差
icon.png[出售] [全国]全新千寻侘草LED灯, 水草

请输入看板名称,例如:Boy-Girl站内搜寻

TOP