OS Multiple Choice Questions.docx
《OS Multiple Choice Questions.docx》由会员分享,可在线阅读,更多相关《OS Multiple Choice Questions.docx(62页珍藏版)》请在冰点文库上搜索。
OSMultipleChoiceQuestions
MultipleChoiceQuestions1
Question1
Thegeneralroleofanoperatingsystemisto:
选择一个答案
a.Provideasetofservicestosystemusers
b.Managefilesforapplicationprograms
c.Actasaninterfacebetweenvariouscomputers
d.Noneoftheabove
Feedback:
A.为系统用户提供一系列服务
B.为应用程序管理文件(这显然不是)
C.作为多台计算机间的接口(应该是CPU与硬件之间的接口)
D.error
Question2
Informationthatmustbesavedpriortotheprocessortransferringcontroltotheinterrupthandlerroutineincludes:
选择一个答案
a.ProgramStatusWord(PSW)&Contentsofprocessorregisters
b.ProgramStatusWord(PSW)
c.Noneoftheabove
d.ProgramStatusWord(PSW)&Locationofnextinstruction
Feedback:
D.程序状态字和下个指令的位置P14
Question3
Oneacceptedmethodofdealingwithmultipleinterruptsisto:
选择一个答案
a.Servicetheminround-robinfashion
b.Disableallinterruptsexceptthoseofhighestpriority
c.Noneoftheabove
d.Defineprioritiesfortheinterrupts
Feedback:
处理多个中断的方法P18
Thefirstistodisableinterruptswhileaninterruptisbeingprocessed.
Asecondapproachistodefineprioritiesforinterruptsandtoallowaninterruptofhigherprioritytocausealower-priorityinterrupthandlertobeinterrupted.
A.轮循服务(显然错误)
B.只服务优先级高的,忽视优先级低的
C.error
D.为这些中断定义优先级
Question4
Inauniprocessorsystem(单处理器系统),multiprogramming(多道程序设计)increasesprocessorefficiencyby:
选择一个答案
a.Takingadvantageoftimewastedbylongwaitinterrupthandling
b.Eliminatingallidleprocessorcycles
c.Alloftheabove
d.Increasingprocessorspeed
Feedback:
A.利用等待中断的时间P18
Question5
Asoneproceedsdownthememoryhierarchy(i.e.,frominboardmemorytoofflinestorage),thefollowingcondition(s)apply:
选择一个答案
a.Decreasingcapacity
b.Increasingaccesstime
c.Alloftheabove
d.Increasingcostperbit
Feedback:
A.容量↑
B.访问时间↑
C.error
D.价格↓
Question6
Small,fastmemorylocatedbetweentheprocessorandmainmemoryiscalled
选择一个答案
a.WORMmemory
b.CD-RWmemory
c.Noneoftheabove
d.Cachememory
Feedback:
D.存储器的层次结构由上至下依次为:
寄存器(processer),高速缓存,主存储器(memory),磁盘,磁带
Question7
Whenanewblockofdataiswrittenintocachememory,thefollowingdetermineswhichcachelocationtheblockwilloccupy:
选择一个答案
a.Noneoftheabove
b.Cachesize
c.Blocksize
d.Writepolicy
Feedback:
Nothingwillchange.
高速缓冲存储器设计:
cachesize,blocksize,mappingfunction,replacementalgorithm,writepolicy.
Question8
Thefourmainstructuralelementsofacomputersystemare:
选择一个答案
a.Noneoftheabove
b.Processor,Registers,MainMemory&SystemBus
c.Processor,MainMemory,I/OModules&SystemBus
d.Processor,Registers,I/OModules&MainMemory
Feedback:
计算机有四个主要的结构化部件:
处理器、主存储器、输入/输出模块、系统总线P6
Question9
Thetwobasictypesofprocessorregistersare:
选择一个答案
a.User-visibleandControl/Statusregisters
b.ControlandStatusregisters
c.User-visibleanduser-invisibleregisters
d.Noneoftheabove
Feedback:
用户可见寄存器:
数据寄存器、地址寄存器、索引寄存器、段指针、栈指针
控制和状态寄存器:
程序计数器PC、指令寄存器IR
Question10
Addressregistersmaycontain
选择一个答案
a.Partialmemoryaddresses
b.Memoryaddressesofdata
c.Memoryaddressesofinstructions
d.Alloftheabove
Feedback:
A.辅存地址
B.数据的主存储器地址
C.指令的主存储器地址
Question11
AControl/Statusregisterthatcontainstheaddressofthenextinstructiontobefetchediscalledthe:
选择一个答案
a.ProgramCounter(PC)
b.Alloftheabove
c.InstructionRegister(IR)
d.ProgramStatusWord(PSW)
Feedback:
A.Programcounter(PC)=Addressofinstruction
C.Instructionregister(IR)=Instructionbeingexecuted
D.ProgramStatusWord(PSW)=containsstatusinformation
Question12
Thetwobasicstepsusedbytheprocessorininstructionprocessingare:
选择一个答案
a.Noneoftheabove
b.FetchandInstructioncycles
c.FetchandExecutecycles
d.InstructionandExecutecycles
Feedback:
Initssimplestform,instructionprocessingconsistsoftwosteps:
Theprocessorreads(fetches)instructionsfrommemoryoneatatimeandexecuteseachinstruction.P9
Question13
Afetchedinstructionisnormallyloadedintothe:
选择一个答案
a.Accumulator(AC)
b.Noneoftheabove
c.InstructionRegister(IR)
d.ProgramCounter(PC)
Feedback:
Instructionregister(IR)=Instructionbeingexecuted
A.Accumulator(AC)=Temporarystorage临时存储体
Question14
Acommonclassofinterruptsis
选择一个答案
a.Program
b.I/O
c.Timer
d.Alloftheabove
Feedback:
Classesofinterrupts:
Program,Timer,I/O,Hardwarefailure
Question15
Whenanexternaldevicebecomesreadytobeservicedbytheprocessor,thedevicesendsthistypeofsignaltotheprocessor:
选择一个答案
a.Handlersignal
b.Noneoftheabove
c.Interruptsignal
d.Haltsignal
Feedback:
请求中断信号
MultipleChoiceQuestions2
Question1
Aprimaryobjectiveofanoperatingsystemis:
选择一个答案
a.Abilitytoevolve
b.Convenience
c.Efficiency
d.Alloftheabove
Feedback:
操作系统的三个主要目标:
方便,有效,扩展的能力
Question2
Thepagingsysteminamemorymanagementsystemprovidesfordynamicmappingbetweenavirtualaddressusedinaprogramand:
选择一个答案
a.Arealaddressinaprogram
b.Noneoftheabove
c.Avirtualaddressinmainmemory
d.Arealaddressinmainmemory
Feedback:
Thepagingsystemprovidesforadynamicmappingbetweenthevirtualaddressusedintheprogramandarealaddress,orphysicaladdress,inmain
memory.P51
Question3
Relativetoinformationprotectionandsecurityincomputersystems,accesscontroltypicallyrefersto:
选择一个答案
a.Theflowofdatawithinthesystem
b.Provingthatsecuritymechanismsperformaccordingtospecification
c.Regulatinguserandprocessaccesstovariousaspectsofthesystem
d.Noneoftheabove
Feedback:
调节用户和进程对系统方方面面的访问权限
Question4
Acommonproblemwithfull-featuredoperatingsystems,duetotheirsizeanddifficultyofthetaskstheyaddress,is:
选择一个答案
a.Sub-parperformance
b.Chronicallylateindelivery
c.Alloftheabove
d.Latentbugsthatshowupinthefield
Feedback:
一个功能完善的操作系统的大小和它所处理任务的困难性,导致了四个让人遗憾但又普遍存在的问题:
① 操作系统在交付使用时习惯性表现出落后
② 系统有潜在的错误
③ 总是难以达到期望的性能
④ 不可能开发出既复杂又不易受各种安全性攻击的操作系统
P54
Question5
Atechniqueinwhichaprocess,executinganapplication,isdividedintothreadsthatcanrunconcurrentlyiscalled:
选择一个答案
a.Noneoftheabove
b.Multithreading
c.Symmetricmultiprocessing(SMP)
d.Multiprocessing
Feedback:
Multithreadingisatechniqueinwhichaprocess,executinganapplication,isdividedintothreadsthatcanrunconcurrently.P56
Question6
WIN2Ksupportsseveraltypesofuserapplications,including:
选择一个答案
a.Linux
b.System10
c.WIN32
d.Noneoftheabove
Feedback:
Nothing~
Question7
KeytothesuccessofLinuxhasbeenit’scharacterasafreesoftwarepackageavailableundertheauspicesofthe:
选择一个答案
a.BerkeleySoftwareDistribution
b.FreeSoftwareFoundation
c.WorldWideWebConsortium
d.Noneoftheabove
Feedback:
KeytothesuccessofLinuxhasbeentheavailabilityoffreesoftwarepackages
undertheauspicesoftheFreeSoftwareFoundation(FSF).P70
Question8
Theoperatingsystemprovidesmanytypesofservicestoend-users,programmersandsystemdesigners,including:
选择一个答案
a.Built-inuserapplications
b.Alloftheabove
c.Relationaldatabasecapabilitieswiththeinternalfilesystem
d.Errordetectionandresponse
Feedback:
theOStypicallyprovidesservicesinthefollowingareas:
•Programdevelopment•Programexecution•AccesstoI/Odevices
•Controlledaccesstofiles•Systemaccess•Errordetectionandresponse•Accounting
Question9
Theoperatingsystemisunusualinit’sroleasacontrolmechanism,inthat:
选择一个答案
a.Itrunsonaspecialprocessor,completelyseparatedfromtherestofthesystem
b.Itneverrelinquishescontrolofthesystemprocessor
c.Noneoftheabove
d.Itfrequentlyrelinquishescontrolofthesystemprocessorandmustdependontheprocessortoregaincontrolofthesystem
Feedback:
•TheOSfunctionsinthesamewayasordinarycomputersoftware;thatis,itisaprogramorsuiteofprogramsexecutedbytheprocessor.
•TheOSfrequentlyrelinquishescontrolandmustdependontheprocessortoallowittoregaincontrol.P40
Question10
Operatingsystemsmustevolveovertimebecause
选择一个答案
a.Userswillonlypurchasesoftwarethathasacurrentcopyrightdate
b.Newhardwareisdesignedandimplementedinthecomputersystem
c.Alloftheabove
d.Hardwaremustbereplacedwhenitfails
Feedback:
计算机需要不断发展的原因:
硬件升级和新型硬件的出现、新的服务、纠正错误
P40/41
Question11
Amajorproblemwithearlyserialprocessingsystemswas:
选择一个答案
a.Inabilitytogethardcopyoutput
b.Setuptime
c.Lackofinputdevices
d.Alloftheabove
Feedback:
调度和准备时间
Question12
Anexampleofahardwarefeaturethatisdesirableinabatch-processingsystemis
选择一个答案
a.Noneoftheabove
b.Acompletelyaccessiblememoryarea
c.Largeclockcycles
d.Privilegedinstructions
Feedback:
内存保护、定时器、特权指令、中断
Question13
Acomputerhardwarefeaturethatisvitaltotheeffectiveoperationofamultiprogrammingoperatingsystemis:
选择一个答案
a.Verylargememory
b.Multipleprocessors
c.I/OinterruptsandDMA
d.Alloftheabove
Feedback:
支持I/O中断和直接存储器访问
Question14
Theprincipleobjectiveofatimesharing,multiprogrammingsystemisto
选择一个答案
a.Maximizeprocessoruse
b.Noneoftheabove
c.Provideexclusiveaccesstohardware
d.Maximizeresponsetime
Feedback:
批处理多道程序设计是为了充分使用处理器,分时多道程序设计是为了减小响应时间
Question15
Whichofthefollowingmajorlineofcomputersystemdevelopmentcreatedproblemsintimingandsynchronizationthatcontributedtothedevelopmentoftheconceptoftheprocess?
选择一个答案
a.Multiprogrammingbatchoperationsystems
b.Realtimetransactionsystems
c.Alloftheabove
d.Timesharingsystems
Feedback:
Threemajor