首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
CPUs and operating systems can work in two main types of multitasking modes. What controls access and the use of system resource
CPUs and operating systems can work in two main types of multitasking modes. What controls access and the use of system resource
admin
2013-12-19
54
问题
CPUs and operating systems can work in two main types of multitasking modes. What controls access and the use of system resources in preemptive multitasking mode?
选项
A、The user and application
B、The program that is loaded into memory
C、The operating system
D、The CPU and user
答案
C
解析
C正确。操作系统开始是合作式多任务处理模式,后来演化成抢占式多任务处理模式。Windows 9x、NT、2000、XP还有Unix系统都使用抢占式多任务处理模式,操作系统利用这些模式控制某一进程对资源的使用时间。系统通过时间共享的方式,能够暂停正在使用CPU(或其他系统资源)的某进程,并允许另外一个进程访问它。因此,使用抢占式多任务处理模式的操作系统把持大局,使得运行不好的应用程序不会给其他应用程序造成负面影响。在使用合作式多任务处理模式的操作系统中,进程对资源的释放有太多的控制权,当某个应用程序中断时,它通常会影响所有其他程序,甚至有时也会影响到操作系统本身。而采用抢占式多任务处理模式的操作系统把持大局时,应用程序不会轻易地给其他应用程序带来负面影响。
A不正确。因为在抢占式多任务处理模式下,用户和应用程序并不控制对系统资源的访问和使用。然而,在合作式多任务处理模式下,应用程序对系统资源的使用拥有更多的控制。既可以在抢占式多任务处理模式下也可以在合作式多任务处理模式下运行的是操作系统本身,而不是应用程序或用户。
B不正确。因为如答案A中所述,程序并不在一个特定的多任务处理模式下运行,而是在操作系统中运行。用于Windows 3.1或早期Macintosh系统中的合作式多任务处理模式要求进程自愿释放它们正使用的资源。这并不一定是一个稳定的环境,因为如果程序员编写的代码在使用完资源后没有合理地释放资源,那么该资源会无限地被他的应用程序申请使用,从而使得其他程序不能使用该资源。
D不正确。因为用户和CPU并不控制对系统资源的访问和使用。相反,操作系统控制着给不同进程分配的处理器时间片。多任务模式是操作系统用于访问CPU的方式,它既可以是合作式的,也可以是抢占式的。
转载请注明原文地址:https://kaotiyun.com/show/uyhZ777K
0
CISSP认证
相关试题推荐
Thecountry’sinadequatementalhealthsystemgetsthemostattentionafterinstancesofmassviolencethatthenationhasseen
Individualsandbusinesseshavelegalprotectionforintellectualpropertytheycreateandown.Intellectualproper【C1】______fro
About3billionpeoplelivewithin100milesofthesea,anumberthatcoulddoubleinthenextdecadeashumansflocktocoasta
[A]Whattodoasastudent?[B]Variousdefinitionsofplagiarism[C]Ideasshouldalwaysbesourced[D]Ignorancecanbeforgi
[A]Marketforglasscraftsisgrowing[B]Dependenceofcomputerdevelopmentonglass[C]Behindtheadaptabilityofglass[D]
Ofthe658schoolsinChicago,only126arecharterschools—publiclyfundedbutindependentlyrunandlargelyfreeofunionrule
Aftertakinghisdogforawalkonedayintheearly1940s,GeorgedeMestral,aSwissinventor,becamecuriousabouttheseeds
Aftertakinghisdogforawalkonedayintheearly1940s,GeorgedeMestral,aSwissinventor,becamecuriousabouttheseeds
Everytwoweeksalanguagedisappears.By2100nearlyhalfofthe6,000spokentodaymaybegone.Migration,eitherbetweencoun
In1930,whentheworldwas"sufferingfromabadattackofeconomicpessimism",JohnMay-nardKeyneswroteabroadlyoptimisti
随机试题
急性动脉栓塞的临床表现“5P”不包括
A、Itwillmakethemistakesfamiliartous.B、Itwillhelpustofixpastmistakes.C、Itwillhelpustorealizeourresolutions
为了得到满意的CT图像,对比剂注射速率最快的检查方法是
抑酸,胃粘膜保护治疗4~6周抑酸,胃粘膜保护治疗6~8周
室内空气质量标准规定,对面积为105m2居室室内空气采样时,至少应设采样点数为
临床上对乳牙近髓深龋的治疗最好采用
A.藁本B.柴胡C.细辛D.升麻E.羌活前额部连及眉棱骨处疼痛的引经药为
下列各项中,不受我国著作权法保护的是()。
下列关于内部审计职责的表述中,不正确的是()。
甲公司计划出售一项无形资产,该无形资产于2×20年7月1日被划分为持有待售无形资产,公允价值为1030万元,预计出售费用为10万元。该无形资产购买于2×16年1月1日,原值为2000万元,无残值,预计使用寿命为10年,采用直线法摊销,取得时已达到预定可使用
最新回复
(
0
)