操作系统习题英文版.docx

上传人:b****6 文档编号:6743971 上传时间:2023-01-09 格式:DOCX 页数:9 大小:18.11KB
下载 相关 举报
操作系统习题英文版.docx_第1页
第1页 / 共9页
操作系统习题英文版.docx_第2页
第2页 / 共9页
操作系统习题英文版.docx_第3页
第3页 / 共9页
操作系统习题英文版.docx_第4页
第4页 / 共9页
操作系统习题英文版.docx_第5页
第5页 / 共9页
点击查看更多>>
下载资源
资源描述

操作系统习题英文版.docx

《操作系统习题英文版.docx》由会员分享,可在线阅读,更多相关《操作系统习题英文版.docx(9页珍藏版)》请在冰豆网上搜索。

操作系统习题英文版.docx

操作系统习题英文版

Chapter1–ComputerSystemsOverview

True/FalseQuestions:

1.T/F–Theoperatingsystemactsasaninterfacebetweenthecomputerhardwareandthehumanuser.

 

2.T/F–Oneoftheprocessor’smainfunctionsistoexchangedatawithmemory.

 

3.T/F–User-visibleregistersaretypicallyaccessibletosystemprogramsbutarenottypicallyavailabletoapplicationprograms.

 

4.T/F–Dataregistersaregeneralpurposeinnature,butmayberestrictedtospecifictaskssuchasperformingfloating-pointoperations.

 

5.T/F–TheProgramStatusWordcontainsstatusinformationintheformofconditioncodes,whicharebitstypicallysetbytheprogrammerasaresultofprogramoperation.

 

6.T/F–TheprocessingrequiredforasingleinstructiononatypicalcomputersystemiscalledtheExecuteCycle.

 

7.T/F–AfetchedinstructionisnormallyloadedintotheInstructionRegister(IR).

 

8.T/F–Aninterruptisamechanismusedbysystemmodulestosignaltheprocessorthatnormalprocessingshouldbetemporarilysuspended.

 

9.T/F–Toaccommodateinterrupts,anextrafetchcycleisaddedtotheinstructioncycle.

 

10.T/F–Theminimuminformationthatmustbesavedbeforetheprocessortransferscontroltotheinterrupthandlerroutineistheprogramstatusword(PSW)andthelocationofthecurrentinstruction.

 

11.T/F–Oneapproachtodealingwithmultipleinterruptsistodisableallinterruptswhileaninterruptisbeingprocessed.

 

12.T/F–Multiprogrammingallowstheprocessortomakeuseofidletimecausedbylong-waitinterrupthandling.

 

13.T/F–Inatwo-levelmemoryhierarchy,theHitRatioisdefinedasthefractionofallmemoryaccessesfoundintheslowermemory.

 

14.T/F–Cachememoryexploitstheprincipleoflocalitybyprovidingasmall,fastmemorybetweentheprocessorandmainmemory.

 

15.T/F–Incachememorydesign,blocksizereferstotheunitofdataexchangedbetweencacheandmainmemory

 

16.T/F–TheprimaryproblemwithprogrammedI/OisthattheprocessormustwaitfortheI/OmoduletobecomereadyandmustrepeatedlyinterrogatethestatusoftheI/Omodulewhilewaiting.

 

MultipleChoiceQuestions:

1.Thegeneralroleofanoperatingsystemisto:

a.Actasaninterfacebetweenvariouscomputers

b.Provideasetofservicestosystemusers

c.Managefilesforapplicationprograms

d.Noneoftheabove

 

2.Thefourmainstructuralelementsofacomputersystemare:

a.Processor,Registers,I/OModules&MainMemory

b.Processor,Registers,MainMemory&SystemBus

c.Processor,MainMemory,I/OModules&SystemBus

d.Noneoftheabove

 

3.Thetwobasictypesofprocessorregistersare:

a.User-visibleandControl/Statusregisters

b.ControlandStatusregisters

c.User-visibleanduser-invisibleregisters

d.Noneoftheabove

 

4.Addressregistersmaycontain:

a.Memoryaddressesofdata

b.Memoryaddressesofinstructions

c.Partialmemoryaddresses

d.Alloftheabove

 

5.AControl/Statusregisterthatcontainstheaddressofthenextinstructiontobefetchediscalledthe:

a.InstructionRegister(IR)

b.ProgramCounter(PC)

c.ProgramStatusWord(PSW)

d.Alloftheabove

6.Thetwobasicstepsusedbytheprocessorininstructionprocessingare:

a.FetchandInstructioncycles

b.InstructionandExecutecycles

c.FetchandExecutecycles

d.Noneoftheabove

 

7.Afetchedinstructionisnormallyloadedintothe:

a.InstructionRegister(IR)

b.ProgramCounter(PC)

c.Accumulator(AC)

d.Noneoftheabove

 

8.Acommonclassofinterruptsis:

a.Program

b.Timer

c.I/O

d.Alloftheabove

 

9.Whenanexternaldevicebecomesreadytobeservicedbytheprocessor,thedevicesendsthistypeofsignaltotheprocessor:

a.Interruptsignal

b.Haltsignal

c.Handlersignal

d.Noneoftheabove

 

10.Informationthatmustbesavedpriortotheprocessortransferringcontroltotheinterrupthandlerroutineincludes:

a.ProcessorStatusWord(PSW)

b.ProcessorStatusWord(PSW)&Locationofnextinstruction

c.ProcessorStatusWord(PSW)&Contentsofprocessorregisters

d.Noneoftheabove

11.Oneacceptedmethodofdealingwithmultipleinterruptsisto:

a.Defineprioritiesfortheinterrupts

b.Disableallinterruptsexceptthoseofhighestpriority

c.Servicetheminround-robinfashion

d.Noneoftheabove

 

12.Inauniprocessorsystem,multiprogrammingincreasesprocessorefficiencyby:

a.Increasingprocessorspeed

b.Takingadvantageoftimewastedbylongwaitinterrupthandling

c.Eliminatingallidleprocessorcycles

d.Alloftheabove

 

13.Asoneproceedsdownthememoryhierarchy.,frominboardmemorytoofflinestorage),thefollowingcondition(s)apply:

a.Increasingcostperbit

b.Decreasingcapacity

c.Increasingaccesstime

d.Alloftheabove

 

14.Small,fastmemorylocatedbetweentheprocessorandmainmemoryiscalled:

a.WORMmemory

b.Cachememory

c.CD-RWmemory

d.Noneoftheabove

 

15.Whenanewblockofdataiswrittenintocachememory,thefollowingdetermineswhichcachelocationtheblockwilloccupy:

a.Blocksize

b.Cachesize

c.Writepolicy

d.Noneoftheabove

 

16.DirectMemoryAccess(DMA)operationsrequirethefollowinginformationfromtheprocessor:

a.AddressofI/Odevice

b.Startingmemorylocationtoreadfromorwriteto

c.Numberofwordstobereadorwritten

d.Alloftheabove

Questions

,,,

Problems

,,,,

Chapter2–OperatingSystemOverview

True/FalseQuestions:

1.T/F–Anoperatingsystemcontrolstheexecutionofapplicationsandactsasaninterfacebetweenapplicationsandthecomputerhardware.

 

2.T/F–Theoperatingsystemmaintainsinformationthatcanbeusedforbillingpurposesonmulti-usersystems.

 

3.T/F–Theoperatingsystemtypicallyrunsinparallelwithapplicationprograms,onit’sownspecialO/Sprocessor.

 

4.T/F–Oneofthedrivingforcesinoperatingsystemevolutionisadvancementintheunderlyinghardwaretechnology.

 

5.T/F–Inthefirstcomputers,usersinteracteddirectlywiththehardwareandoperatingsystemsdidnotexist.

 

6.T/F–Inabatch-processingsystem,thephrase“controlispassedtoajob”meansthattheprocessorisnowfetchingandexecutinginstructionsinauserprogram.

 

7.T/F–Uniprogrammingtypicallyprovidesbetterutilizationofsystemresourcesthanmultiprogramming.

 

8.T/F–Inatimesharingsystem,auser’sprogramispreemptedatregularintervals,butduetorelativelyslowhumanreactiontimethisoccurrenceisusuallytransparenttotheuser.

9.T/F–Aprocesscanbedefinedasaunitofactivitycharacterizedbyasinglesequentialthreadofexecution,acurrentstate,andanassociatedsetofsystemresources.

 

10.T/F–Avirtualmemoryaddresstypicallyconsistsofapagenumberandanoffsetwithinthepage.

 

11.T/F–Implementingprioritylevelsisacommonstrategyforshort-termscheduling,whichinvolvesassigningeachprocessinthequeuetotheprocessoraccordingtoitslevelofimportance.

 

12.T/F–Complexoperatingsystemstodaytypicallyconsistofafewthousandlinesofinstructions.

 

13.T/F–Amonolithickernelarchitectureassignsonlyafewessentialfunctionstothekernel,includingaddressspaces,interprocesscommunicationandbasicscheduling.

 

14.T/F–Thehardwareabstractionlayer(HAL)mapsbetweengenerichardwarecommands/responsesandthoseuniquetoaspecificplatform.

 

MultipleChoiceQuestions:

17.Aprimaryobjectiveofanoperatingsystemis:

a.Convenience

b.Efficiency

c.Abilitytoevolve

d.Alloftheabove

 

18.Theoperatingsystemprovidesmanytypesofservicestoend-users,programmersandsystemdesigners,including:

a.Built-inuserapplications

b.Errordetectionandresponse

c.Relationaldatabasecapabilitieswiththeinternalfilesystem

d.Alloftheabove

 

19.Theoperatingsystemisunusualinit’sroleasacontrolmechanism,inthat:

a.Itrunsonaspecialprocessor,completelyseparatedfromtherestofthesystem

b.Itfrequentlyrelinquishescontrolofthesystemprocessorandmustdependontheprocessortoregaincontrolofthesystem

c.Itneverrelinquishescontrolofthesystemprocessor

d.Noneoftheabove

 

20.Operatingsystemsmustevolveovertimebecause:

a.Hardwaremustbereplacedwhenitfails

b.Userswillonlypurchasesoftwarethathasacurrentcopyrightdate

c.Newhardwareisdesignedandimplementedinthecomputersystem

d.Alloftheabove

 

21.Amajorproblemwithearlyserialprocessingsystemswas:

a.Setuptime

b.Lackofinputdevices

c.Inabilitytogethardcopyoutput

d.Alloftheabove

 

22.Anexampleofahardwarefeaturethatisdesirableinabatch-processingsystemis:

a.Privilegedinstructions

b.Acompletelyaccessiblememoryarea

c.Largeclockcycles

d.Noneoftheabove

 

23.Acomputerhardwarefeaturethatisvitaltotheeffectiveoperationofamultiprogrammingoperatingsystemis:

a.Verylargememory

b.Multipleprocessors

c.I/OinterruptsandDMA

d.Alloftheabove

 

24.Theprincipleobjectiveofatimesharing,multiprogrammingsystemisto:

a.Maximizeresponsetime

b.Maximizeprocessoruse

c.Provideexclusiveaccesstohardware

d.Noneoftheabove

 

25.Whichofthefollowingmajorlineofcomputersystemdevelopmentcreatedproblemsintimingandsynchronizationthatcontributedtothedevelopmentoftheconceptoftheprocess

a.Multiprogrammingbatchoperationsystems

b.Timesharingsystems

c.Realtimetransactionsystems

d.Alloftheabove

 

26.Thepagingsysteminamemorymanagementsystemprovidesfordynamicmappingbetweenavirtualaddressusedinaprogramand:

a.Avirtualaddressinmainmemory

b.Arealaddressinmainmemory

c.Arealaddressinaprogram

d.Noneoftheabove

 

27.Rel

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 总结汇报

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1