操作系統(tǒng)選擇題庫(kù)答案及詳解_第1頁(yè)
操作系統(tǒng)選擇題庫(kù)答案及詳解_第2頁(yè)
操作系統(tǒng)選擇題庫(kù)答案及詳解_第3頁(yè)
操作系統(tǒng)選擇題庫(kù)答案及詳解_第4頁(yè)
操作系統(tǒng)選擇題庫(kù)答案及詳解_第5頁(yè)
已閱讀5頁(yè),還剩31頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

MultipleChoiceQuestions1Question1Thegeneralroleofanoperatingsystemisto:選擇一個(gè)答案a.Provideasetofservicestosystemusersb.Managefilesforapplicationprogramsc.Actasaninterfacebetweenvariouscomputersd.NoneoftheaboveFeedback:A.為系統(tǒng)用戶(hù)提供一系列服務(wù)B.為應(yīng)用程序管理文件(這顯然不是)C.作為多臺(tái)計(jì)算機(jī)間的接口(應(yīng)該是CPU與硬件之間的接口)D.errorQuestion2Informationthatmustbesavedpriortotheprocessortransferringcontroltotheinterrupthandlerroutineincludes:選擇一個(gè)答案a.ProgramStatusWord(PSW)&Contentsofprocessorregistersb.ProgramStatusWord(PSW)c.Noneoftheaboved.ProgramStatusWord(PSW)&LocationofnextinstructionFeedback:D.程序狀態(tài)字和下個(gè)指令的位置P14Question3Oneacceptedmethodofdealingwithmultipleinterruptsisto:選擇一個(gè)答案a.Servicetheminround-robinfashionb.Disableallinterruptsexceptthoseofhighestpriorityc.Noneoftheaboved.DefineprioritiesfortheinterruptsFeedback:處理多個(gè)中斷的方法P18Thefirstistodisableinterruptswhileaninterruptisbeingprocessed.Asecondapproachistodefineprioritiesforinterruptsandtoallowaninterruptofhigherprioritytocausealower-priorityinterrupthandlertobeinterrupted.A.輪循服務(wù)(顯然錯(cuò)誤)B.只服務(wù)優(yōu)先級(jí)高的,忽視優(yōu)先級(jí)低的C.errorD.為這些中斷定義優(yōu)先級(jí)Question4Inauniprocessorsystem(單處理器系統(tǒng)),multiprogramming(多道程序設(shè)計(jì))increasesprocessorefficiencyby:選擇一個(gè)答案a.Takingadvantageoftimewastedbylongwaitinterrupthandlingb.Eliminatingallidleprocessorcyclesc.Alloftheaboved.IncreasingprocessorspeedFeedback:A.利用等待中斷的時(shí)間P18Question5Asoneproceedsdownthememoryhierarchy(i.e.,frominboardmemorytoofflinestorage),thefollowingcondition(s)apply:選擇一個(gè)答案a.Decreasingcapacityb.Increasingaccesstimec.Alloftheaboved.IncreasingcostperbitFeedback:A.容量↑B.訪(fǎng)問(wèn)時(shí)間↑C.errorD.價(jià)格↓Question6Small,fastmemorylocatedbetweentheprocessorandmainmemoryiscalled選擇一個(gè)答案a.WORMmemoryb.CD-RWmemoryc.Noneoftheaboved.CachememoryFeedback:D.存儲(chǔ)器的層次結(jié)構(gòu)由上至下依次為:寄存器(processer),高速緩存,主存儲(chǔ)器(memory),磁盤(pán),磁帶Question7Whenanewblockofdataiswrittenintocachememory,thefollowingdetermineswhichcachelocationtheblockwilloccupy:選擇一個(gè)答案a.Noneoftheaboveb.Cachesizec.Blocksized.WritepolicyFeedback:Nothingwillchange.高速緩沖存儲(chǔ)器設(shè)計(jì):cachesize,blocksize,mappingfunction,replacementalgorithm,writepolicy.Question8Thefourmainstructuralelementsofacomputersystemare:選擇一個(gè)答案a.Noneoftheaboveb.Processor,Registers,MainMemory&SystemBusc.Processor,MainMemory,I/OModules&SystemBusd.Processor,Registers,I/OModules&MainMemoryFeedback:計(jì)算機(jī)有四個(gè)主要的結(jié)構(gòu)化部件:處理器、主存儲(chǔ)器、輸入/輸出模塊、系統(tǒng)總線(xiàn)P6Question9Thetwobasictypesofprocessorregistersare:選擇一個(gè)答案a.User-visibleandControl/Statusregistersb.ControlandStatusregistersc.User-visibleanduser-invisibleregistersd.NoneoftheaboveFeedback:用戶(hù)可見(jiàn)寄存器:數(shù)據(jù)寄存器、地址寄存器、索引寄存器、段指針、棧指針控制和狀態(tài)寄存器:程序計(jì)數(shù)器PC、指令寄存器IRQuestion10Addressregistersmaycontain選擇一個(gè)答案a.Partialmemoryaddressesb.Memoryaddressesofdatac.Memoryaddressesofinstructionsd.AlloftheaboveFeedback:A.輔存地址B.數(shù)據(jù)的主存儲(chǔ)器地址C.指令的主存儲(chǔ)器地址Q(chēng)uestion11AControl/Statusregisterthatcontainstheaddressofthenextinstructiontobefetchediscalledthe:選擇一個(gè)答案a.ProgramCounter(PC)b.Alloftheabovec.InstructionRegister(IR)d.ProgramStatusWord(PSW)Feedback:A.Programcounter(PC)=AddressofinstructionC.Instructionregister(IR)=InstructionbeingexecutedD.ProgramStatusWord(PSW)=containsstatusinformationQuestion12Thetwobasicstepsusedbytheprocessorininstructionprocessingare:選擇一個(gè)答案a.Noneoftheaboveb.FetchandInstructioncyclesc.FetchandExecutecyclesd.InstructionandExecutecyclesFeedback:Initssimplestform,instructionprocessingconsistsoftwosteps:Theprocessorreads(fetches)instructionsfrommemoryoneatatimeandexecuteseachinstruction.P9Question13Afetchedinstructionisnormallyloadedintothe:選擇一個(gè)答案a.Accumulator(AC)b.Noneoftheabovec.InstructionRegister(IR)d.ProgramCounter(PC)Feedback:Instructionregister(IR)=InstructionbeingexecutedA.Accumulator(AC)=Temporarystorage臨時(shí)存儲(chǔ)體Question14Acommonclassofinterruptsis選擇一個(gè)答案a.Programb.I/Oc.Timerd.AlloftheaboveFeedback:Classesofinterrupts:Program,Timer,I/O,HardwarefailureQuestion15Whenanexternaldevicebecomesreadytobeservicedbytheprocessor,thedevicesendsthistypeofsignaltotheprocessor:選擇一個(gè)答案a.Handlersignalb.Noneoftheabovec.Interruptsignald.HaltsignalFeedback:請(qǐng)求中斷信號(hào)MultipleChoiceQuestions2Question1Aprimaryobjectiveofanoperatingsystemis:選擇一個(gè)答案a.Abilitytoevolveb.Conveniencec.Efficiencyd.AlloftheaboveFeedback:操作系統(tǒng)的三個(gè)主要目標(biāo):方便,有效,擴(kuò)展的能力Question2Thepagingsysteminamemorymanagementsystemprovidesfordynamicmappingbetweenavirtualaddressusedinaprogramand:選擇一個(gè)答案a.Arealaddressinaprogramb.Noneoftheabovec.Avirtualaddressinmainmemoryd.ArealaddressinmainmemoryFeedback:Thepagingsystemprovidesforadynamicmappingbetweenthevirtualaddressusedintheprogramandarealaddress,orphysicaladdress,inmainmemory.P51Question3Relativetoinformationprotectionandsecurityincomputersystems,accesscontroltypicallyrefersto:選擇一個(gè)答案a.Theflowofdatawithinthesystemb.Provingthatsecuritymechanismsperformaccordingtospecificationc.Regulatinguserandprocessaccesstovariousaspectsofthesystemd.NoneoftheaboveFeedback:調(diào)節(jié)用戶(hù)和進(jìn)程對(duì)系統(tǒng)方方面面的訪(fǎng)問(wèn)權(quán)限Question4Acommonproblemwithfull-featuredoperatingsystems,duetotheirsizeanddifficultyofthetaskstheyaddress,is:選擇一個(gè)答案a.Sub-parperformanceb.Chronicallylateindeliveryc.Alloftheaboved.LatentbugsthatshowupinthefieldFeedback:一個(gè)功能完善的操作系統(tǒng)的大小和它所處理任務(wù)的困難性,導(dǎo)致了四個(gè)讓人遺憾但又普遍存在的問(wèn)題:①操作系統(tǒng)在交付使用時(shí)習(xí)慣性表現(xiàn)出落后②系統(tǒng)有潛在的錯(cuò)誤③總是難以達(dá)到期望的性能④不可能開(kāi)發(fā)出既復(fù)雜又不易受各種安全性攻擊的操作系統(tǒng)P54Question5Atechniqueinwhichaprocess,executinganapplication,isdividedintothreadsthatcanrunconcurrentlyiscalled:選擇一個(gè)答案a.Noneoftheaboveb.Multithreadingc.Symmetricmultiprocessing(SMP)d.MultiprocessingFeedback:Multithreadingisatechniqueinwhichaprocess,executinganapplication,isdividedintothreadsthatcanrunconcurrently.P56Question6WIN2Ksupportsseveraltypesofuserapplications,including:選擇一個(gè)答案a.Linuxb.System10c.WIN32d.NoneoftheaboveFeedback:Nothing~Question7KeytothesuccessofLinuxhasbeenit’scharacterasafreesoftwarepackageavailableundertheauspicesofthe:選擇一個(gè)答案a.BerkeleySoftwareDistributionb.FreeSoftwareFoundationc.WorldWideWebConsortiumd.NoneoftheaboveFeedback:KeytothesuccessofLinuxhasbeentheavailabilityoffreesoftwarepackagesundertheauspicesoftheFreeSoftwareFoundation(FSF).P70Question8Theoperatingsystemprovidesmanytypesofservicestoend-users,programmersandsystemdesigners,including:選擇一個(gè)答案a.Built-inuserapplicationsb.Alloftheabovec.Relationaldatabasecapabilitieswiththeinternalfilesystemd.ErrordetectionandresponseFeedback:theOStypicallyprovidesservicesinthefollowingareas:?Programdevelopment?Programexecution?AccesstoI/Odevices?Controlledaccesstofiles?Systemaccess?Errordetectionandresponse?AccountingQuestion9Theoperatingsystemisunusualinit’sroleasacontrolmechanism,inthat:選擇一個(gè)答案a.Itrunsonaspecialprocessor,completelyseparatedfromtherestofthesystemb.Itneverrelinquishescontrolofthesystemprocessorc.Noneoftheaboved.ItfrequentlyrelinquishescontrolofthesystemprocessorandmustdependontheprocessortoregaincontrolofthesystemFeedback:?TheOSfunctionsinthesamewayasordinarycomputersoftware;thatis,itisaprogramorsuiteofprogramsexecutedbytheprocessor.?TheOSfrequentlyrelinquishescontrolandmustdependontheprocessortoallowittoregaincontrol.P40Question10Operatingsystemsmustevolveovertimebecause選擇一個(gè)答案a.Userswillonlypurchasesoftwarethathasacurrentcopyrightdateb.Newhardwareisdesignedandimplementedinthecomputersystemc.Alloftheaboved.HardwaremustbereplacedwhenitfailsFeedback:計(jì)算機(jī)需要不斷發(fā)展的原因:硬件升級(jí)和新型硬件的出現(xiàn)、新的服務(wù)、糾正錯(cuò)誤P40/41Question11Amajorproblemwithearlyserialprocessingsystemswas:選擇一個(gè)答案a.Inabilitytogethardcopyoutputb.Setuptimec.Lackofinputdevicesd.AlloftheaboveFeedback:調(diào)度和準(zhǔn)備時(shí)間Question12Anexampleofahardwarefeaturethatisdesirableinabatch-processingsystemis選擇一個(gè)答案a.Noneoftheaboveb.Acompletelyaccessiblememoryareac.Largeclockcyclesd.PrivilegedinstructionsFeedback:內(nèi)存保護(hù)、定時(shí)器、特權(quán)指令、中斷Question13Acomputerhardwarefeaturethatisvitaltotheeffectiveoperationofamultiprogrammingoperatingsystemis:選擇一個(gè)答案a.Verylargememoryb.Multipleprocessorsc.I/OinterruptsandDMAd.AlloftheaboveFeedback:支持I/O中斷和直接存儲(chǔ)器訪(fǎng)問(wèn)Question14Theprincipleobjectiveofatimesharing,multiprogrammingsystemisto選擇一個(gè)答案a.Maximizeprocessoruseb.Noneoftheabovec.Provideexclusiveaccesstohardwared.MaximizeresponsetimeFeedback:批處理多道程序設(shè)計(jì)是為了充分使用處理器,分時(shí)多道程序設(shè)計(jì)是為了減小響應(yīng)時(shí)間Question15Whichofthefollowingmajorlineofcomputersystemdevelopmentcreatedproblemsintimingandsynchronizationthatcontributedtothedevelopmentoftheconceptoftheprocess?選擇一個(gè)答案a.Multiprogrammingbatchoperationsystemsb.Realtimetransactionsystemsc.Alloftheaboved.TimesharingsystemsFeedback:Threemajorlinesofcomputersystemdevelopmentcreatedproblemsintimingandsynchronizationthatcontributedtothedevelopmentoftheconceptoftheprocess:multiprogrammingbatchoperation,timesharing,andreal-timetransactionsystems.Question16Whichofthefollowingmajorlineofcomputersystemdevelopmentcreatedproblemsintimingandsynchronizationthatcontributedtothedevelopmentoftheconceptoftheprocess?選擇一個(gè)答案a.Multiprogrammingbatchoperationsystemsb.Realtimetransactionsystemsc.Timesharingsystemsd.AlloftheaboveMultipleChoiceQuestions3Question1Thebehaviorofaprocessorcanbecharacterizedbyexamining:選擇一個(gè)答案a.Multipleprocesstracesb.Asingleprocesstracec.Alloftheaboved.TheinterleavingoftheprocesstracesFeedback:Wecancharacterizebehavioroftheprocessorbyshowinghowthetracesofthevariousprocessesareinterleaved.P81Question2TheProcessImageelementthatcontainsthemodifiablepartoftheuserspaceiscalledthe:選擇一個(gè)答案a.UserProgramb.Noneoftheabovec.SystemStackd.ProcessControlBlockFeedback:Userdata.Question3Theprocessorexecutionmodethatuserprogramstypicallyexecuteinisreferredtoas:選擇一個(gè)答案a.Systemmodeb.Noneoftheabovec.Usermoded.KernelmodeFeedback:用戶(hù)態(tài)。Systemmode=kernelmodeQuestion4Onestepintheprocedureforcreatinganewprocessinvolves:選擇一個(gè)答案a.Assigningauniqueidentifierb.Alloftheabovec.Allocatingspacefortheprocessd.InitializingtheprocesscontrolblockFeedback:P9912345Question5Aprocessswitchmayoccurwhenthesystemencountersaninterruptcondition,suchasthatgeneratedbya:選擇一個(gè)答案a.Alloftheaboveb.Trapc.Supervisorcalld.MemoryfaultFeedback:中斷:時(shí)鐘中斷、I/O中斷、內(nèi)存失效陷阱系統(tǒng)調(diào)用Question6IntheProcessBasedO/S:選擇一個(gè)答案a.Noneoftheaboveb.Majorkernelfunctionsareorganizedasseparatefunctionsc.TheUserProcessImageincludesakernelstackd.O/ScodeanddataarecontainedinthesharedaddressspaceFeedback:主要的內(nèi)核函數(shù)被組織成獨(dú)立的進(jìn)程P103Question7InatypicalUNIXsystem,theelementoftheprocessimagethatcontainstheprocessorstatusinformationisthe:選擇一個(gè)答案a.Alloftheaboveb.System-levelcontextc.Registercontextd.User-levelcontextFeedback:處理器狀態(tài)信息保存在寄存器上下文中Question8Thebehaviorofanindividualprocesscanbecharacterizedbyexamining:選擇一個(gè)答案a.Theinterleavingoftheprocesstracesb.Alloftheabovec.Multipleprocesstracesd.AsingleprocesstraceFeedback:獨(dú)立的進(jìn)程:?jiǎn)为?dú)的進(jìn)程軌跡Question9ThebasicTwo-StateProcessModeldefinestwopossiblestatesforaprocessinrelationshiptotheprocessor:選擇一個(gè)答案a.RunningandExecutingb.RunningandNotRunningc.Noneoftheaboved.ExecutingandWaitingFeedback:運(yùn)行和非運(yùn)行兩種狀態(tài)Question10Thereareanumberofconditionsthatcanleadtoprocesstermination,including:選擇一個(gè)答案a.Normalcompletionb.Parentterminationc.Alloftheaboved.BoundsviolationFeedback:P85Question11IntheFive-StateProcessModel,thefollowingrepresentsavalidstatetransition:選擇一個(gè)答案a.Alloftheaboveb.New->Blockedc.New->Runningd.Running->BlockedFeedback:Null->New/New->Ready/Ready->Running/Running->Exit/Running->Ready/Running->Blocked/Blocked->Ready/Ready->Exit/Blocked->ExitQuestion12InaProcessModelthatimplementstwosuspendstates,avalidstatetransitionisrepresentedby:選擇一個(gè)答案a.Ready->Ready/Suspendb.Running->Ready/Suspendc.Ready/Suspend->Readyd.AlloftheaboveFeedback:P89/90Question13Theschedulingstrategywhereeachprocessinthequeueisgivenacertainamountoftime,inturn,toexecuteandthenreturnedtothequeue,unlessblockedisreferredtoas:選擇一個(gè)答案a.Round-Robinb.Prioritizationc.Alloftheaboved.LIFOFeedback:Round-Robin輪循P84Question14AMemoryTableisanO/ScontrolstructurethatisusedbytheO/Sto:選擇一個(gè)答案a.ManageI/Odevicesb.Provideinformationaboutsystemfilesc.Noneoftheaboved.ManageprocessesFeedback:Memorytablesareusedtokeeptrackofbothmain(real)andsecondary(virtual)memory.Question15TheProcessImageelementthatcontainsthecollectionofattributesneededbytheO/Stocontrolaparticularprocessiscalledthe:選擇一個(gè)答案a.UserDatab.SystemStackc.Noneoftheaboved.ProcessControlBlockFeedback:進(jìn)程控制塊MultipleChoiceQuestions4Question1Theconceptofaprocessinanoperatingsystemembodiestwoprimarycharacteristics,oneofwhichis:選擇一個(gè)答案a.Noneoftheaboveb.Resourceownershipc.Symmetricmultiprocessingd.MultithreadingFeedback:資源所有權(quán)、調(diào)度/執(zhí)行Question2Earlyoperatingsystemsthatweredesignedwithlittleconcernaboutstructurearetypicallyreferredtoas:選擇一個(gè)答案a.Monolithicoperatingsystemsb.Kerneloperatingsystemsc.Alloftheaboved.LayeredoperatingsystemsFeedback:?jiǎn)误w結(jié)構(gòu)的操作系統(tǒng)Question3Abenefitofthemicrokernelorganizationis:選擇一個(gè)答案a.Flexibilityb.Alloftheabovec.Portabilityd.ExtensibilityFeedback:一致接口、可擴(kuò)展性、靈活性、可移植性、可靠性、分布式系統(tǒng)支持、對(duì)面向?qū)ο蟛僮飨到y(tǒng)的支持Question4Inlow-levelmicrokernelmemorymanagement,anexampleofanoperationthatcansupportexternalpagingandvirtualmemorymanagementisthe:選擇一個(gè)答案a.Mapoperationb.Flushoperationc.Grantoperationd.AlloftheaboveFeedback:三個(gè)微內(nèi)核操作支持內(nèi)核外的分頁(yè)和虛存管理授權(quán)、映射、刷新P129Question5InaW2Ksystem,thestatethatathreadenterswhenithasbeenunblockedandtheresourceforwhichithasbeenblockedisnotyetavailableiscalledthe:選擇一個(gè)答案a.Waitingstateb.Standbystatec.Noneoftheaboved.TransitionstateFeedback:過(guò)渡態(tài)Question6InaSolarissystem,aUser-LevelThread(ULT)thatenterstheactivestateisassignedtoa:選擇一個(gè)答案a.Heavy-WeightProcess(HWP)b.Light-WeightProcess(LWP)c.Noneoftheaboved.KernelthreadFeedback:輕量級(jí)進(jìn)程Question7InaLinuxsystem,whenanewprocessiscloned,thetwoprocessessharethesame:選擇一個(gè)答案a.Processidentifierb.Virtualmemoryc.task_structdatastructured.AlloftheaboveFeedback:克隆后共享同一個(gè)虛存Question8Anexampleofasystemthatimplementsasingleprocesswithmultiplethreadsis:選擇一個(gè)答案a.WIN2000b.Alloftheabovec.Solarisd.

JavaFeedback:P113Question9Whichofthefollowingistrueregardingtherelationshipbetweenprocessesandthreads:選擇一個(gè)答案a.Ittakeslesstimetoswitchbetweentwodifferentprocessesthantoswitchbetweentwothreadswithinthesameprocessb.Ittakesfarlesstimetocreateanewthreadinanexistingprocessthantocreateanewprocessc.Ittakeslesstimetoterminateaprocessthanathreadd.AlloftheaboveFeedback:Nothing~Question10Thebasicthreadoperationrelatedtothechangeinthreadstatethatoccurswhenathreadneedstowaitforaneventisreferredtoasthe:選擇一個(gè)答案a.Unblockoperationb.Noneoftheabovec.Spawnoperation派生d.BlockoperationFeedback:顯然阻塞Question11OneofthedisadvantagesofUser-LevelThreads(ULTs)comparedtoKernel-LevelThreads(KLTs)is:選擇一個(gè)答案a.Alloftheaboveb.WhenaULTexecutesasystemcall,allthreadsintheprocessareblockedc.Schedulingisapplicationspecificd.ThreadswitchingdoesnotrequirekernelmodeprivilegesFeedback:P119/120Question12IntheLinuxO/S,multiplethreadsmaybecreatedandexecutedwithinasingleprocess.ThisisanexampleofthefollowingThread-to-Processrelationship:選擇一個(gè)答案a.1:Mb.1:1c.Noneoftheaboved.M:NFeedback:Thread

:Process=M

:1Question13Thecomputersystemcategorywhereasingleprocessorexecutesasingleinstructionstreamtooperateondatastoredinasinglememoryiscalled:選擇一個(gè)答案a.SingleInstructionMultipleData(SIMD)streamb.Noneoftheabovec.SingleInstructionSingleData(SISD)streamd.MultipleInstructionSingleData(MISD)streamFeedback:?jiǎn)沃噶顔螖?shù)據(jù)流Question14InaSMPsystem,eachprocessormaintainsalocalcacheandmustalertallotherprocessorsthatachangetocacheupdatehastakenplace.Thisisreferredtoasthe:選擇一個(gè)答案a.Cachecoherencyproblemb.Interconnectionmechanismproblemc.Noneoftheaboved.SynchronizationmechanismproblemFeedback:高速緩存的一致性問(wèn)題P124Question15Keyissuesinvolvedinthedesignofmultiprocessoroperatingsystemsinclude:選擇一個(gè)答案a.Alloftheaboveb.Synchronizationc.Schedulingd.ReliabilityandfaulttoleranceFeedback:P125MultipleChoiceQuestions5Question1Concurrencyplaysamajorpartinwhichofthefollowingspecificcontexts:選擇一個(gè)答案a.Multipleapplicationsb.Alloftheabove√c.Structuredapplicationsd.O/SstructureQuestion2Inordertoimplementmutualexclusiononacriticalresourceforcompetingprocesses,onlyoneprogramatatimeshouldbeallowed選擇一個(gè)答案a.Inthecriticalsectionoftheprogram√b.Noneoftheabovec.ToExhibitcooperationd.ToperformmessagepassingQuestion3Thefollowingrequirementmustbemetbyanyfacilityorcapabilitythatistoprovidesupportformutualexclusion:選擇一個(gè)答案a.Alloftheabove√b.Onlyoneprocessatatimecanbeallowedintoacriticalcodesectionc.Aprocessremainsinitscriticalcodesectionforafinitetimeonlyd.NoassumptionscanbemadeaboutrelativeprocessspeedsQuestion4Processesthataredesignedtobeabletopassexecutioncontrolbackandforthbetweenthemselvesarereferredtoas選擇一個(gè)答案a.Noneoftheaboveb.Threadsc.Coroutines√d.BusywaitingprocessesQuestion5Processesthataredesignedtobeabletopassexecutioncontrolbackandforthbetweenthemselvesarereferredtoas選擇一個(gè)答案a.Coroutines√b.Threadsc.Noneoftheaboved.BusywaitingprocessesQuestion6Inauniprocessorsystem,mutualexclusioncanbeguaranteedby選擇一個(gè)答案a.Interleavingprocessesb.Disablinginterrupts√c.Overlappingprocessesd.AlloftheaboveQuestion7Asemaphorethatdoesnotspecifytheorderinwhichprocessesareremovedfromthequeueiscalleda選擇一個(gè)答案a.Binarysemaphoreb.Weaksemaphore√c.Noneoftheaboved.StrongsemaphoreQuestion8Thefinitecircularbufferisusedtoimplementwhichofthefollowingbasicqueuingstrategies選擇一個(gè)答案a.LIFOb.FILOc.FIFO√d.NoneoftheaboveQuestion9Achiefcharacteristicofamonitoris:選擇一個(gè)答案a.Amaximumoftwoprocessesmaybeexecutinginamonitoratatimeb.Alloftheabovec.Localdatavariablesofthemonitorareaccessiblebyanyprocedurerequestinguseofthemonitord.Aprocessentersthemonitorbyinvokingoneofitsprocedures√Question10Insynchronizationinvolvingmessagepassing,thesenderofamessagecanbe選擇一個(gè)答案a.Onlyblockingb.Alloftheabovec.Onlynon-blockingd.Eitherblockingornon-blocking√Question11Inasystememployingmessagepassing,whenamessageissenttoasharedtemporarydatastructure,thisgeneralapproachisknownas選擇一個(gè)答案a.Directaddressingb.Blockingc.Indirectaddressing√d.NoneoftheaboveQuestion12Inasystememployingmessagepassing,thetypicalmessageisdividedintotwoprimarysections選擇一個(gè)答案a.Noneoftheabove√b.Bodyandmailboxc.DestinationIDandSourceIDd.HeaderandmailboxQuestion13TheReader/Writerproblemrequiresthatcertainconditionsbesatisfied,suchas:選擇一個(gè)答案a.Anynumberofreadersmaysimultaneouslyreadfromthefile√b.Noneoftheabovec.Readersmayreadfromthefilewhilewritersarewritingtoitd.MultiplewritersmaywritetothefilesimultaneouslyAnynumberofreadersmaysimultaneouslyreadfromthefileQuestion14AreasonwhytheProducer/ConsumerproblemcannotbeconsideredaspecialcaseoftheReader/Writerproblemwithasinglewriter(theproducer)andasinglereader(theconsumer)is:選擇一個(gè)答案a.Noneoftheaboveb.TheProducer/Consumerproblemdoesn’tdealwithconcurrencyissuesc.Theproducerandconsumermustbebothreaderandwriter√d.TheconsumermustperformwriteswhilethereaderperformsreadsQuestion15Examplesofsolutionstotheconcurrencyproblemthatdonotinvolvebusywaitingarethefollowing:選擇一個(gè)答案a.Noneoftheabove√b.Semaphoresandmonitorsc.Producersandconsumersd.MessagepassingandcachingQuestion16Abasicechoprocedure(thatechoesatypedcharactertothescreen)runningonamultiprocessorsystemcanproduceerroneousoutputif選擇一個(gè)答案a.Twoprocessesdeadlockwhileintheechocodeb.Accesstotheechoprocedureisunsynchronized√c.Noneoftheaboved.AccesstotheechoprocedureissynchronizedMultipleChoiceQuestions6Question1Thepermanentblockingofasetofprocessesthateithercompeteforsystemresourcesorcommunicatewitheachotheriscalled:選擇一個(gè)答案a.Starvationb.Alloftheabovec.Prioritizationd.Deadlock√死鎖是一組競(jìng)爭(zhēng)系統(tǒng)資源或互相通信的競(jìng)爭(zhēng)間相互的"永久"阻塞Question2Indeadlockedprocessrecovery,selectioncriteriaforchoosingaparticularprocesstoabortorrollbackincludesdesignatingtheprocesswiththe:選擇一個(gè)答案a.Leasttotalresourcesallocatedsofarb.Lowestpriorityc.Alloftheabove√d.Mostestimatedtimeremaining中文P196死鎖檢測(cè)后恢復(fù)過(guò)程對(duì)“犧牲”進(jìn)程的選擇Question3Oneapproachtoanintegratedstrategyfordealingwithdeadlocksinvolvestheimplementationof:選擇一個(gè)答案a.Processrollbacksb.Virtualmemoryc.Resourceclasses√d.Noneoftheabove綜合死鎖策略:資源分類(lèi)Question4TheDiningPhilosopher’sProblemisastandardtestcaseforevaluatingapproachestoimplementing:選擇一個(gè)答案a.Synchronization√b.Starvationc.Alloftheaboved.Deadlock哲學(xué)家進(jìn)餐問(wèn)題是評(píng)價(jià)同步方法的一個(gè)測(cè)試標(biāo)準(zhǔn)Question5AsoftwaremechanismthatinformsaprocessoftheoccurrencesofasynchronouseventsinUNIXarecalled:選擇一個(gè)答案a.Pipesb.Messagesc.Signals√d.Alloftheabove信號(hào)是用于通知發(fā)生一個(gè)同步事件的軟件機(jī)制Question6ThreadsynchronizationprimitivessupportedbySolarisinclude:選擇一個(gè)答案a.Conditionvariablesb.Semaphoresc.Alloftheabove√d.Mutualexclusion(mutex)locks互斥鎖、信號(hào)量、多讀者單寫(xiě)者鎖、條件變量Question7ThefamilyofsynchronizationobjectsimplementedbyW2Kinclude:選擇一個(gè)答案a.Mutexobjectsb.Eventobjectsc.Alloftheabove√d.Semaphoreobjects事件、互斥、信號(hào)量、可等待的計(jì)時(shí)器Question8Alldeadlocksinvolveconflictingneedsforresourcesby:選擇一個(gè)答案a.Threeormoreprocessesb.Oneormoreprocessesc.Noneoftheaboved.Twoormoreprocesses√兩個(gè)或多個(gè)進(jìn)程資源需求沖突Question9Aresourcethatcanbecreatedanddestroyediscalleda:選擇一個(gè)答案a.Reusableresourceb.Producibleresourcec.Consumableresource√d.Alloftheabove可重用資源

VS

可消費(fèi)資源Question10Anexampleofaconsumableresourceisthefollowing:選擇一個(gè)答案a.Alloftheaboveb.MainMemoryc.Messages√d.Printers可創(chuàng)建可銷(xiāo)毀的信息資源Question11Aconditionofpolicythatmustbepresentforadeadlocktobepossibleis:選擇一個(gè)答案a.Mutualexclusionb.Nopreemptionc.Alloftheabove√d.Holdandwait三個(gè)必要條件Question12Adirectmethodofdeadlockpreventionistopreventtheoccurrenceof:選擇一個(gè)答案a.Holdandwaitb.Alloftheabovec.Circularwait√d.Mutualexclusion死鎖預(yù)防的直接法Question13IntheResourceAllocationDenialapproachtoDeadlockAvoidance,asafestateisdefinedasoneinwhich:選擇一個(gè)答案a.Atleastonepotentialprocesssequencedoesnotresultinadeadlock√b.Noneoftheabovec.Allpotentialprocesssequencesdonotresultinadeadlock:d.Severalpotentialprocesssequencesdonotresultinadeadlock:一條安全道路便可Question14Aconservativestrategyfordealingwithdeadlocksthatinvolveslimitingaccesstoresourcesandimposingrestrictionsonprocessesiscalled:選擇一個(gè)答案a.Noneoftheaboveb.DeadlockPrevention√c.DeadlockDetectiond.DeadlockAvoidance資源預(yù)防MultipleChoiceQuestions7Question1ThetaskofsubdividingmemorybetweentheO/SandprocessesisperformedautomaticallybytheO/Sandiscalled:選擇一個(gè)答案a.Alloftheaboveb.Protectionc.MemoryManagement√d.Relocation內(nèi)存管理Question2Areferencetoamemorylocationindependentofthecurrentassignmentofdatatomemoryiscalleda:選擇一個(gè)答案a.Absoluteaddressb.Noneoftheabovec.Logicaladdress√d.Relativeaddress邏輯地址的定義Question3Anactuallocationinmainmemoryiscalleda:選擇一個(gè)答案a.Relativeaddressb.Absoluteaddress√c.Logicaladdressd.Noneoftheabove物理地址即絕對(duì)地址Q(chēng)uestion4Thepagetableforeachprocessmaintains:選擇一個(gè)答案a.Noneoftheaboveb.Theframelocationforeachpageoftheprocess√c.Thephysicalmemorylocationoftheprocessd.Thepagelocationforeachframeoftheprocess頁(yè)號(hào)對(duì)應(yīng)幀號(hào)Question5Inasystememployingapagingschemeformemorymanagement,wastedspaceisdueto:選擇一個(gè)答案a.Internalfragmentation√b.Pagesandframesofdifferentspecifiedsizesc.Noneoftheaboved.Externalfragmentation固定分區(qū)和分頁(yè)都產(chǎn)生內(nèi)部碎片Question6Inasystememployingasegmentationschemeformemorymanagement,wastedspaceisdueto:選擇一個(gè)答案a.Internalfragmentationb.Externalfragmentation√c.Noneoftheaboved.Segmentsofdifferentsizes動(dòng)態(tài)分區(qū)和分段都產(chǎn)生外部碎片Question7Inasystememployingasegmentationschemeformemorymanagement,aprocessisdividedinto:選擇一個(gè)答案a.Anumberofsegmentswhichmustbeofequalsizeb.Noneoftheabovec.Anumberofsegmentswhichneednotbeofequalsize√d.Onesegmentperthread分段:多個(gè)大小不等的塊Question8TheconceptofMemoryManagementsatisfiescertainsystemrequirements,including:選擇一個(gè)答案a.Relocationb.Physicalorganizationc.Alloftheabove√d.Protection重定位、保護(hù)、共享、邏輯組織、物理組織Question9Thepracticeinwhichaprogramanddataareorganizedinsuchawaythatvariousmodulescanbeassignedthesameregionofmemoryiscalled:選擇一個(gè)答案a.Sharingb.Noneoftheabovec.Overlaying√d.Relocation覆蓋Question10Theconceptofvirtualmemoryisbasedononeorbothoftwobasictechniques:選擇一個(gè)答案a.Segmentationandpaging√b.Noneoftheabovec.Overlayingandrelocationd.Segmentationandpartitioning虛擬=>分段分頁(yè)Question11AproblemwiththelargelyobsoleteFixedPartitioningmemorymanagementtechniqueisthatof:選擇一個(gè)答案a.Inefficientuseofmemoryb.Internalfragmentationc.AllowingonlyafixednumberofProcessesd.Alloftheabove√Question12Theproblemofinternalfragmentationcanbelessenedinsystemsemployingafixed-partitionmemorymanagementschemebyusing:選擇一個(gè)答案a.Unequalsizepartitions√b.Randomsizepartitionsc.Equalsizepartitionsd.Noneoftheabove分段解決內(nèi)部碎片,但是會(huì)引入外部碎片Question13IntheDynamicPartitioningtechniqueofmemorymanagement

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論