版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
MultipleChoiceQuestions1Question1Thegeneralroleofanoperatingsystemisto:選擇一個答案a.Provideasetofservicestosystemusersb.Managefilesforapplicationprogramsc.Actasaninterfacebetweenvariouscomputersd.NoneoftheaboveFeedback:A.為系統(tǒng)用戶提供一系列服務(wù)B.為應(yīng)用程序管理文件(這顯然不是)C.作為多臺計算機(jī)間的接口(應(yīng)該是CPU與硬件之間的接口)D.errorQuestion2Informationthatmustbesavedpriortotheprocessortransferringcontroltotheinterrupthandlerroutineincludes:選擇一個答案a.ProgramStatusWord(PSW)&Contentsofprocessorregistersb.ProgramStatusWord(PSW)c.Noneoftheaboved.ProgramStatusWord(PSW)&LocationofnextinstructionFeedback:D.程序狀態(tài)字和下個指令的位置P14Question3Oneacceptedmethodofdealingwithmultipleinterruptsisto:選擇一個答案a.Servicetheminround-robinfashionb.Disableallinterruptsexceptthoseofhighestpriorityc.Noneoftheaboved.DefineprioritiesfortheinterruptsFeedback:處理多個中斷的方法P18Thefirstistodisableinterruptswhileaninterruptisbeingprocessed.Asecondapproachistodefineprioritiesforinterruptsandtoallowaninterruptofhigherprioritytocausealower-priorityinterrupthandlertobeinterrupted.A.輪循服務(wù)(顯然錯誤)B.只服務(wù)優(yōu)先級高的,忽視優(yōu)先級低的C.errorD.為這些中斷定義優(yōu)先級Question4Inauniprocessorsystem(單處理器系統(tǒng)),multiprogramming(多道程序設(shè)計)increasesprocessorefficiencyby:選擇一個答案a.Takingadvantageoftimewastedbylongwaitinterrupthandlingb.Eliminatingallidleprocessorcyclesc.Alloftheaboved.IncreasingprocessorspeedFeedback:A.利用等待中斷的時間P18Question5Asoneproceedsdownthememoryhierarchy(i.e.,frominboardmemorytoofflinestorage),thefollowingcondition(s)apply:選擇一個答案a.Decreasingcapacityb.Increasingaccesstimec.Alloftheaboved.IncreasingcostperbitFeedback:A.容量↑B.訪問時間↑C.errorD.價格↓Question6Small,fastmemorylocatedbetweentheprocessorandmainmemoryiscalled選擇一個答案a.WORMmemoryb.CD-RWmemoryc.Noneoftheaboved.CachememoryFeedback:D.存儲器的層次結(jié)構(gòu)由上至下依次為:寄存器(processer),高速緩存,主存儲器(memory),磁盤,磁帶Question7Whenanewblockofdataiswrittenintocachememory,thefollowingdetermineswhichcachelocationtheblockwilloccupy:選擇一個答案a.Noneoftheaboveb.Cachesizec.Blocksized.WritepolicyFeedback:Nothingwillchange.高速緩沖存儲器設(shè)計:cachesize,blocksize,mappingfunction,replacementalgorithm,writepolicy.Question8Thefourmainstructuralelementsofacomputersystemare:選擇一個答案a.Noneoftheaboveb.Processor,Registers,MainMemory&SystemBusc.Processor,MainMemory,I/OModules&SystemBusd.Processor,Registers,I/OModules&MainMemoryFeedback:計算機(jī)有四個主要的結(jié)構(gòu)化部件:處理器、主存儲器、輸入/輸出模塊、系統(tǒng)總線P6Question9Thetwobasictypesofprocessorregistersare:選擇一個答案a.User-visibleandControl/Statusregistersb.ControlandStatusregistersc.User-visibleanduser-invisibleregistersd.NoneoftheaboveFeedback:用戶可見寄存器:數(shù)據(jù)寄存器、地址寄存器、索引寄存器、段指針、棧指針控制和狀態(tài)寄存器:程序計數(shù)器PC、指令寄存器IRQuestion10Addressregistersmaycontain選擇一個答案a.Partialmemoryaddressesb.Memoryaddressesofdatac.Memoryaddressesofinstructionsd.AlloftheaboveFeedback:A.輔存地址B.數(shù)據(jù)的主存儲器地址C.指令的主存儲器地址Question11AControl/Statusregisterthatcontainstheaddressofthenextinstructiontobefetchediscalledthe:選擇一個答案a.ProgramCounter(PC)b.Alloftheabovec.InstructionRegister(IR)d.ProgramStatusWord(PSW)Feedback:A.Programcounter(PC)=AddressofinstructionC.Instructionregister(IR)=InstructionbeingexecutedD.ProgramStatusWord(PSW)=containsstatusinformationQuestion12Thetwobasicstepsusedbytheprocessorininstructionprocessingare:選擇一個答案a.Noneoftheaboveb.FetchandInstructioncyclesc.FetchandExecutecyclesd.InstructionandExecutecyclesFeedback:Initssimplestform,instructionprocessingconsistsoftwosteps:Theprocessorreads(fetches)instructionsfrommemoryoneatatimeandexecuteseachinstruction.P9Question13Afetchedinstructionisnormallyloadedintothe:選擇一個答案a.Accumulator(AC)b.Noneoftheabovec.InstructionRegister(IR)d.ProgramCounter(PC)Feedback:Instructionregister(IR)=InstructionbeingexecutedA.Accumulator(AC)=Temporarystorage臨時存儲體Question14Acommonclassofinterruptsis選擇一個答案a.Programb.I/Oc.Timerd.AlloftheaboveFeedback:Classesofinterrupts:Program,Timer,I/O,HardwarefailureQuestion15Whenanexternaldevicebecomesreadytobeservicedbytheprocessor,thedevicesendsthistypeofsignaltotheprocessor:選擇一個答案a.Handlersignalb.Noneoftheabovec.Interruptsignald.HaltsignalFeedback:請求中斷信號MultipleChoiceQuestions2Question1Aprimaryobjectiveofanoperatingsystemis:選擇一個答案a.Abilitytoevolveb.Conveniencec.Efficiencyd.AlloftheaboveFeedback:操作系統(tǒng)的三個主要目標(biāo):方便,有效,擴(kuò)展的能力Question2Thepagingsysteminamemorymanagementsystemprovidesfordynamicmappingbetweenavirtualaddressusedinaprogramand:選擇一個答案a.Arealaddressinaprogramb.Noneoftheabovec.Avirtualaddressinmainmemoryd.ArealaddressinmainmemoryFeedback:Thepagingsystemprovidesforadynamicmappingbetweenthevirtualaddressusedintheprogramandarealaddress,orphysicaladdress,inmainmemory.P51Question3Relativetoinformationprotectionandsecurityincomputersystems,accesscontroltypicallyrefersto:選擇一個答案a.Theflowofdatawithinthesystemb.Provingthatsecuritymechanismsperformaccordingtospecificationc.Regulatinguserandprocessaccesstovariousaspectsofthesystemd.NoneoftheaboveFeedback:調(diào)節(jié)用戶和進(jìn)程對系統(tǒng)方方面面的訪問權(quán)限Question4Acommonproblemwithfull-featuredoperatingsystems,duetotheirsizeanddifficultyofthetaskstheyaddress,is:選擇一個答案a.Sub-parperformanceb.Chronicallylateindeliveryc.Alloftheaboved.LatentbugsthatshowupinthefieldFeedback:一個功能完善的操作系統(tǒng)的大小和它所處理任務(wù)的困難性,導(dǎo)致了四個讓人遺憾但又普遍存在的問題:①操作系統(tǒng)在交付使用時習(xí)慣性表現(xiàn)出落后②系統(tǒng)有潛在的錯誤③總是難以達(dá)到期望的性能④不可能開發(fā)出既復(fù)雜又不易受各種安全性攻擊的操作系統(tǒng)P54Question5Atechniqueinwhichaprocess,executinganapplication,isdividedintothreadsthatcanrunconcurrentlyiscalled:選擇一個答案a.Noneoftheaboveb.Multithreadingc.Symmetricmultiprocessing(SMP)d.MultiprocessingFeedback:Multithreadingisatechniqueinwhichaprocess,executinganapplication,isdividedintothreadsthatcanrunconcurrently.P56Question6WIN2Ksupportsseveraltypesofuserapplications,including:選擇一個答案a.Linuxb.System10c.WIN32d.NoneoftheaboveFeedback:Nothing~Question7KeytothesuccessofLinuxhasbeenit’scharacterasafreesoftwarepackageavailableundertheauspicesofthe:選擇一個答案a.BerkeleySoftwareDistributionb.FreeSoftwareFoundationc.WorldWideWebConsortiumd.NoneoftheaboveFeedback:KeytothesuccessofLinuxhasbeentheavailabilityoffreesoftwarepackagesundertheauspicesoftheFreeSoftwareFoundation(FSF).P70Question8Theoperatingsystemprovidesmanytypesofservicestoend-users,programmersandsystemdesigners,including:選擇一個答案a.Built-inuserapplicationsb.Alloftheabovec.Relationaldatabasecapabilitieswiththeinternalfilesystemd.ErrordetectionandresponseFeedback:theOStypicallyprovidesservicesinthefollowingareas:?Programdevelopment?Programexecution?AccesstoI/Odevices?Controlledaccesstofiles?Systemaccess?Errordetectionandresponse?AccountingQuestion9Theoperatingsystemisunusualinit’sroleasacontrolmechanism,inthat:選擇一個答案a.Itrunsonaspecialprocessor,completelyseparatedfromtherestofthesystemb.Itneverrelinquishescontrolofthesystemprocessorc.Noneoftheaboved.ItfrequentlyrelinquishescontrolofthesystemprocessorandmustdependontheprocessortoregaincontrolofthesystemFeedback:?TheOSfunctionsinthesamewayasordinarycomputersoftware;thatis,itisaprogramorsuiteofprogramsexecutedbytheprocessor.?TheOSfrequentlyrelinquishescontrolandmustdependontheprocessortoallowittoregaincontrol.P40Question10Operatingsystemsmustevolveovertimebecause選擇一個答案a.Userswillonlypurchasesoftwarethathasacurrentcopyrightdateb.Newhardwareisdesignedandimplementedinthecomputersystemc.Alloftheaboved.HardwaremustbereplacedwhenitfailsFeedback:計算機(jī)需要不斷發(fā)展的原因:硬件升級和新型硬件的出現(xiàn)、新的服務(wù)、糾正錯誤P40/41Question11Amajorproblemwithearlyserialprocessingsystemswas:選擇一個答案a.Inabilitytogethardcopyoutputb.Setuptimec.Lackofinputdevicesd.AlloftheaboveFeedback:調(diào)度和準(zhǔn)備時間Question12Anexampleofahardwarefeaturethatisdesirableinabatch-processingsystemis選擇一個答案a.Noneoftheaboveb.Acompletelyaccessiblememoryareac.Largeclockcyclesd.PrivilegedinstructionsFeedback:內(nèi)存保護(hù)、定時器、特權(quán)指令、中斷Question13Acomputerhardwarefeaturethatisvitaltotheeffectiveoperationofamultiprogrammingoperatingsystemis:選擇一個答案a.Verylargememoryb.Multipleprocessorsc.I/OinterruptsandDMAd.AlloftheaboveFeedback:支持I/O中斷和直接存儲器訪問Question14Theprincipleobjectiveofatimesharing,multiprogrammingsystemisto選擇一個答案a.Maximizeprocessoruseb.Noneoftheabovec.Provideexclusiveaccesstohardwared.MaximizeresponsetimeFeedback:批處理多道程序設(shè)計是為了充分使用處理器,分時多道程序設(shè)計是為了減小響應(yīng)時間Question15Whichofthefollowingmajorlineofcomputersystemdevelopmentcreatedproblemsintimingandsynchronizationthatcontributedtothedevelopmentoftheconceptoftheprocess?選擇一個答案a.Multiprogrammingbatchoperationsystemsb.Realtimetransactionsystemsc.Alloftheaboved.TimesharingsystemsFeedback:Threemajorlinesofcomputersystemdevelopmentcreatedproblemsintimingandsynchronizationthatcontributedtothedevelopmentoftheconceptoftheprocess:multiprogrammingbatchoperation,timesharing,andreal-timetransactionsystems.Question16Whichofthefollowingmajorlineofcomputersystemdevelopmentcreatedproblemsintimingandsynchronizationthatcontributedtothedevelopmentoftheconceptoftheprocess?選擇一個答案a.Multiprogrammingbatchoperationsystemsb.Realtimetransactionsystemsc.Timesharingsystemsd.AlloftheaboveMultipleChoiceQuestions3Question1Thebehaviorofaprocessorcanbecharacterizedbyexamining:選擇一個答案a.Multipleprocesstracesb.Asingleprocesstracec.Alloftheaboved.TheinterleavingoftheprocesstracesFeedback:Wecancharacterizebehavioroftheprocessorbyshowinghowthetracesofthevariousprocessesareinterleaved.P81Question2TheProcessImageelementthatcontainsthemodifiablepartoftheuserspaceiscalledthe:選擇一個答案a.UserProgramb.Noneoftheabovec.SystemStackd.ProcessControlBlockFeedback:Userdata.Question3Theprocessorexecutionmodethatuserprogramstypicallyexecuteinisreferredtoas:選擇一個答案a.Systemmodeb.Noneoftheabovec.Usermoded.KernelmodeFeedback:用戶態(tài)。Systemmode=kernelmodeQuestion4Onestepintheprocedureforcreatinganewprocessinvolves:選擇一個答案a.Assigningauniqueidentifierb.Alloftheabovec.Allocatingspacefortheprocessd.InitializingtheprocesscontrolblockFeedback:P9912345Question5Aprocessswitchmayoccurwhenthesystemencountersaninterruptcondition,suchasthatgeneratedbya:選擇一個答案a.Alloftheaboveb.Trapc.Supervisorcalld.MemoryfaultFeedback:中斷:時鐘中斷、I/O中斷、內(nèi)存失效陷阱系統(tǒng)調(diào)用Question6IntheProcessBasedO/S:選擇一個答案a.Noneoftheaboveb.Majorkernelfunctionsareorganizedasseparatefunctionsc.TheUserProcessImageincludesakernelstackd.O/ScodeanddataarecontainedinthesharedaddressspaceFeedback:主要的內(nèi)核函數(shù)被組織成獨立的進(jìn)程P103Question7InatypicalUNIXsystem,theelementoftheprocessimagethatcontainstheprocessorstatusinformationisthe:選擇一個答案a.Alloftheaboveb.System-levelcontextc.Registercontextd.User-levelcontextFeedback:處理器狀態(tài)信息保存在寄存器上下文中Question8Thebehaviorofanindividualprocesscanbecharacterizedbyexamining:選擇一個答案a.Theinterleavingoftheprocesstracesb.Alloftheabovec.Multipleprocesstracesd.AsingleprocesstraceFeedback:獨立的進(jìn)程:單獨的進(jìn)程軌跡Question9ThebasicTwo-StateProcessModeldefinestwopossiblestatesforaprocessinrelationshiptotheprocessor:選擇一個答案a.RunningandExecutingb.RunningandNotRunningc.Noneoftheaboved.ExecutingandWaitingFeedback:運(yùn)行和非運(yùn)行兩種狀態(tài)Question10Thereareanumberofconditionsthatcanleadtoprocesstermination,including:選擇一個答案a.Normalcompletionb.Parentterminationc.Alloftheaboved.BoundsviolationFeedback:P85Question11IntheFive-StateProcessModel,thefollowingrepresentsavalidstatetransition:選擇一個答案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:選擇一個答案a.Ready->Ready/Suspendb.Running->Ready/Suspendc.Ready/Suspend->Readyd.AlloftheaboveFeedback:P89/90Question13Theschedulingstrategywhereeachprocessinthequeueisgivenacertainamountoftime,inturn,toexecuteandthenreturnedtothequeue,unlessblockedisreferredtoas:選擇一個答案a.Round-Robinb.Prioritizationc.Alloftheaboved.LIFOFeedback:Round-Robin輪循P84Question14AMemoryTableisanO/ScontrolstructurethatisusedbytheO/Sto:選擇一個答案a.ManageI/Odevicesb.Provideinformationaboutsystemfilesc.Noneoftheaboved.ManageprocessesFeedback:Memorytablesareusedtokeeptrackofbothmain(real)andsecondary(virtual)memory.Question15TheProcessImageelementthatcontainsthecollectionofattributesneededbytheO/Stocontrolaparticularprocessiscalledthe:選擇一個答案a.UserDatab.SystemStackc.Noneoftheaboved.ProcessControlBlockFeedback:進(jìn)程控制塊MultipleChoiceQuestions4Question1Theconceptofaprocessinanoperatingsystemembodiestwoprimarycharacteristics,oneofwhichis:選擇一個答案a.Noneoftheaboveb.Resourceownershipc.Symmetricmultiprocessingd.MultithreadingFeedback:資源所有權(quán)、調(diào)度/執(zhí)行Question2Earlyoperatingsystemsthatweredesignedwithlittleconcernaboutstructurearetypicallyreferredtoas:選擇一個答案a.Monolithicoperatingsystemsb.Kerneloperatingsystemsc.Alloftheaboved.LayeredoperatingsystemsFeedback:單體結(jié)構(gòu)的操作系統(tǒng)Question3Abenefitofthemicrokernelorganizationis:選擇一個答案a.Flexibilityb.Alloftheabovec.Portabilityd.ExtensibilityFeedback:一致接口、可擴(kuò)展性、靈活性、可移植性、可靠性、分布式系統(tǒng)支持、對面向?qū)ο蟛僮飨到y(tǒng)的支持Question4Inlow-levelmicrokernelmemorymanagement,anexampleofanoperationthatcansupportexternalpagingandvirtualmemorymanagementisthe:選擇一個答案a.Mapoperationb.Flushoperationc.Grantoperationd.AlloftheaboveFeedback:三個微內(nèi)核操作支持內(nèi)核外的分頁和虛存管理授權(quán)、映射、刷新P129Question5InaW2Ksystem,thestatethatathreadenterswhenithasbeenunblockedandtheresourceforwhichithasbeenblockedisnotyetavailableiscalledthe:選擇一個答案a.Waitingstateb.Standbystatec.Noneoftheaboved.TransitionstateFeedback:過渡態(tài)Question6InaSolarissystem,aUser-LevelThread(ULT)thatenterstheactivestateisassignedtoa:選擇一個答案a.Heavy-WeightProcess(HWP)b.Light-WeightProcess(LWP)c.Noneoftheaboved.KernelthreadFeedback:輕量級進(jìn)程Question7InaLinuxsystem,whenanewprocessiscloned,thetwoprocessessharethesame:選擇一個答案a.Processidentifierb.Virtualmemoryc.task_structdatastructured.AlloftheaboveFeedback:克隆后共享同一個虛存Question8Anexampleofasystemthatimplementsasingleprocesswithmultiplethreadsis:選擇一個答案a.WIN2000b.Alloftheabovec.Solarisd.
JavaFeedback:P113Question9Whichofthefollowingistrueregardingtherelationshipbetweenprocessesandthreads:選擇一個答案a.Ittakeslesstimetoswitchbetweentwodifferentprocessesthantoswitchbetweentwothreadswithinthesameprocessb.Ittakesfarlesstimetocreateanewthreadinanexistingprocessthantocreateanewprocessc.Ittakeslesstimetoterminateaprocessthanathreadd.AlloftheaboveFeedback:Nothing~Question10Thebasicthreadoperationrelatedtothechangeinthreadstatethatoccurswhenathreadneedstowaitforaneventisreferredtoasthe:選擇一個答案a.Unblockoperationb.Noneoftheabovec.Spawnoperation派生d.BlockoperationFeedback:顯然阻塞Question11OneofthedisadvantagesofUser-LevelThreads(ULTs)comparedtoKernel-LevelThreads(KLTs)is:選擇一個答案a.Alloftheaboveb.WhenaULTexecutesasystemcall,allthreadsintheprocessareblockedc.Schedulingisapplicationspecificd.ThreadswitchingdoesnotrequirekernelmodeprivilegesFeedback:P119/120Question12IntheLinuxO/S,multiplethreadsmaybecreatedandexecutedwithinasingleprocess.ThisisanexampleofthefollowingThread-to-Processrelationship:選擇一個答案a.1:Mb.1:1c.Noneoftheaboved.M:NFeedback:Thread
:Process=M
:1Question13Thecomputersystemcategorywhereasingleprocessorexecutesasingleinstructionstreamtooperateondatastoredinasinglememoryiscalled:選擇一個答案a.SingleInstructionMultipleData(SIMD)streamb.Noneoftheabovec.SingleInstructionSingleData(SISD)streamd.MultipleInstructionSingleData(MISD)streamFeedback:單指令單數(shù)據(jù)流Question14InaSMPsystem,eachprocessormaintainsalocalcacheandmustalertallotherprocessorsthatachangetocacheupdatehastakenplace.Thisisreferredtoasthe:選擇一個答案a.Cachecoherencyproblemb.Interconnectionmechanismproblemc.Noneoftheaboved.SynchronizationmechanismproblemFeedback:高速緩存的一致性問題P124Question15Keyissuesinvolvedinthedesignofmultiprocessoroperatingsystemsinclude:選擇一個答案a.Alloftheaboveb.Synchronizationc.Schedulingd.ReliabilityandfaulttoleranceFeedback:P125MultipleChoiceQuestions5Question1Concurrencyplaysamajorpartinwhichofthefollowingspecificcontexts:選擇一個答案a.Multipleapplicationsb.Alloftheabove√c.Structuredapplicationsd.O/SstructureQuestion2Inordertoimplementmutualexclusiononacriticalresourceforcompetingprocesses,onlyoneprogramatatimeshouldbeallowed選擇一個答案a.Inthecriticalsectionoftheprogram√b.Noneoftheabovec.ToExhibitcooperationd.ToperformmessagepassingQuestion3Thefollowingrequirementmustbemetbyanyfacilityorcapabilitythatistoprovidesupportformutualexclusion:選擇一個答案a.Alloftheabove√b.Onlyoneprocessatatimecanbeallowedintoacriticalcodesectionc.Aprocessremainsinitscriticalcodesectionforafinitetimeonlyd.NoassumptionscanbemadeaboutrelativeprocessspeedsQuestion4Processesthataredesignedtobeabletopassexecutioncontrolbackandforthbetweenthemselvesarereferredtoas選擇一個答案a.Noneoftheaboveb.Threadsc.Coroutines√d.BusywaitingprocessesQuestion5Processesthataredesignedtobeabletopassexecutioncontrolbackandforthbetweenthemselvesarereferredtoas選擇一個答案a.Coroutines√b.Threadsc.Noneoftheaboved.BusywaitingprocessesQuestion6Inauniprocessorsystem,mutualexclusioncanbeguaranteedby選擇一個答案a.Interleavingprocessesb.Disablinginterrupts√c.Overlappingprocessesd.AlloftheaboveQuestion7Asemaphorethatdoesnotspecifytheorderinwhichprocessesareremovedfromthequeueiscalleda選擇一個答案a.Binarysemaphoreb.Weaksemaphore√c.Noneoftheaboved.StrongsemaphoreQuestion8Thefinitecircularbufferisusedtoimplementwhichofthefollowingbasicqueuingstrategies選擇一個答案a.LIFOb.FILOc.FIFO√d.NoneoftheaboveQuestion9Achiefcharacteristicofamonitoris:選擇一個答案a.Amaximumoftwoprocessesmaybeexecutinginamonitoratatimeb.Alloftheabovec.Localdatavariablesofthemonitorareaccessiblebyanyprocedurerequestinguseofthemonitord.Aprocessentersthemonitorbyinvokingoneofitsprocedures√Question10Insynchronizationinvolvingmessagepassing,thesenderofamessagecanbe選擇一個答案a.Onlyblockingb.Alloftheabovec.Onlynon-blockingd.Eitherblockingornon-blocking√Question11Inasystememployingmessagepassing,whenamessageissenttoasharedtemporarydatastructure,thisgeneralapproachisknownas選擇一個答案a.Directaddressingb.Blockingc.Indirectaddressing√d.NoneoftheaboveQuestion12Inasystememployingmessagepassing,thetypicalmessageisdividedintotwoprimarysections選擇一個答案a.Noneoftheabove√b.Bodyandmailboxc.DestinationIDandSourceIDd.HeaderandmailboxQuestion13TheReader/Writerproblemrequiresthatcertainconditionsbesatisfied,suchas:選擇一個答案a.Anynumberofreadersmaysimultaneouslyreadfromthefile√b.Noneoftheabovec.Readersmayreadfromthefilewhilewritersarewritingtoitd.MultiplewritersmaywritetothefilesimultaneouslyAnynumberofreadersmaysimultaneouslyreadfromthefileQuestion14AreasonwhytheProducer/ConsumerproblemcannotbeconsideredaspecialcaseoftheReader/Writerproblemwithasinglewriter(theproducer)andasinglereader(theconsumer)is:選擇一個答案a.Noneoftheaboveb.TheProducer/Consumerproblemdoesn’tdealwithconcurrencyissuesc.Theproducerandconsumermustbebothreaderandwriter√d.TheconsumermustperformwriteswhilethereaderperformsreadsQuestion15Examplesofsolutionstotheconcurrencyproblemthatdonotinvolvebusywaitingarethefollowing:選擇一個答案a.Noneoftheabove√b.Semaphoresandmonitorsc.Producersandconsumersd.MessagepassingandcachingQuestion16Abasicechoprocedure(thatechoesatypedcharactertothescreen)runningonamultiprocessorsystemcanproduceerroneousoutputif選擇一個答案a.Twoprocessesdeadlockwhileintheechocodeb.Accesstotheechoprocedureisunsynchronized√c.Noneoftheaboved.AccesstotheechoprocedureissynchronizedMultipleChoiceQuestions6Question1Thepermanentblockingofasetofprocessesthateithercompeteforsystemresourcesorcommunicatewitheachotheriscalled:選擇一個答案a.Starvationb.Alloftheabovec.Prioritizationd.Deadlock√死鎖是一組競爭系統(tǒng)資源或互相通信的競爭間相互的"永久"阻塞Question2Indeadlockedprocessrecovery,selectioncriteriaforchoosingaparticularprocesstoabortorrollbackincludesdesignatingtheprocesswiththe:選擇一個答案a.Leasttotalresourcesallocatedsofarb.Lowestpriorityc.Alloftheabove√d.Mostestimatedtimeremaining中文P196死鎖檢測后恢復(fù)過程對“犧牲”進(jìn)程的選擇Question3Oneapproachtoanintegratedstrategyfordealingwithdeadlocksinvolvestheimplementationof:選擇一個答案a.Processrollbacksb.Virtualmemoryc.Resourceclasses√d.Noneoftheabove綜合死鎖策略:資源分類Question4TheDiningPhilosopher’sProblemisastandardtestcaseforevaluatingapproachestoimplementing:選擇一個答案a.Synchronization√b.Starvationc.Alloftheaboved.Deadlock哲學(xué)家進(jìn)餐問題是評價同步方法的一個測試標(biāo)準(zhǔn)Question5AsoftwaremechanismthatinformsaprocessoftheoccurrencesofasynchronouseventsinUNIXarecalled:選擇一個答案a.Pipesb.Messagesc.Signals√d.Alloftheabove信號是用于通知發(fā)生一個同步事件的軟件機(jī)制Question6ThreadsynchronizationprimitivessupportedbySolarisinclude:選擇一個答案a.Conditionvariablesb.Semaphoresc.Alloftheabove√d.Mutualexclusion(mutex)locks互斥鎖、信號量、多讀者單寫者鎖、條件變量Question7ThefamilyofsynchronizationobjectsimplementedbyW2Kinclude:選擇一個答案a.Mutexobjectsb.Eventobjectsc.Alloftheabove√d.Semaphoreobjects事件、互斥、信號量、可等待的計時器Question8Alldeadlocksinvolveconflictingneedsforresourcesby:選擇一個答案a.Threeormoreprocessesb.Oneormoreprocessesc.Noneoftheaboved.Twoormoreprocesses√兩個或多個進(jìn)程資源需求沖突Question9Aresourcethatcanbecreatedanddestroyediscalleda:選擇一個答案a.Reusableresourceb.Producibleresourcec.Consumableresource√d.Alloftheabove可重用資源
VS
可消費(fèi)資源Question10Anexampleofaconsumableresourceisthefollowing:選擇一個答案a.Alloftheaboveb.MainMemoryc.Messages√d.Printers可創(chuàng)建可銷毀的信息資源Question11Aconditionofpolicythatmustbepresentforadeadlocktobepossibleis:選擇一個答案a.Mutualexclusionb.Nopreemptionc.Alloftheabove√d.Holdandwait三個必要條件Question12Adirectmethodofdeadlockpreventionistopreventtheoccurrenceof:選擇一個答案a.Holdandwaitb.Alloftheabovec.Circularwait√d.Mutualexclusion死鎖預(yù)防的直接法Question13IntheResourceAllocationDenialapproachtoDeadlockAvoidance,asafestateisdefinedasoneinwhich:選擇一個答案a.Atleastonepotentialprocesssequencedoesnotresultinadeadlock√b.Noneoftheabovec.Allpotentialprocesssequencesdonotresultinadeadlock:d.Severalpotentialprocesssequencesdonotresultinadeadlock:一條安全道路便可Question14Aconservativestrategyfordealingwithdeadlocksthatinvolveslimitingaccesstoresourcesandimposingrestrictionsonprocessesiscalled:選擇一個答案a.Noneoftheaboveb.DeadlockPrevention√c.DeadlockDetectiond.DeadlockAvoidance資源預(yù)防MultipleChoiceQuestions7Question1ThetaskofsubdividingmemorybetweentheO/SandprocessesisperformedautomaticallybytheO/Sandiscalled:選擇一個答案a.Alloftheaboveb.Protectionc.MemoryManagement√d.Relocation內(nèi)存管理Question2Areferencetoamemorylocationindependentofthecurrentassignmentofdatatomemoryiscalleda:選擇一個答案a.Absoluteaddressb.Noneoftheabovec.Logicaladdress√d.Relativeaddress邏輯地址的定義Question3Anactuallocationinmainmemoryiscalleda:選擇一個答案a.Relativeaddressb.Absoluteaddress√c.Logicaladdressd.Noneoftheabove物理地址即絕對地址Question4Thepagetableforeachprocessmaintains:選擇一個答案a.Noneoftheaboveb.Theframelocationforeachpageoftheprocess√c.Thephysicalmemorylocationoftheprocessd.Thepagelocationforeachframeoftheprocess頁號對應(yīng)幀號Question5Inasystememployingapagingschemeformemorymanagement,wastedspaceisdueto:選擇一個答案a.Internalfragmentation√b.Pagesandframesofdifferentspecifiedsizesc.Noneoftheaboved.Externalfragmentation固定分區(qū)和分頁都產(chǎn)生內(nèi)部碎片Question6Inasystememployingasegmentationschemeformemorymanagement,wastedspaceisdueto:選擇一個答案a.Internalfragmentationb.Externalfragmentation√c.Noneoftheaboved.Segmentsofdifferentsizes動態(tài)分區(qū)和分段都產(chǎn)生外部碎片Question7Inasystememployingasegmentationschemeformemorymanagement,aprocessisdividedinto:選擇一個答案a.Anumberofsegmentswhichmustbeofequalsizeb.Noneoftheabovec.Anumberofsegmentswhichneednotbeofequalsize√d.Onesegmentperthread分段:多個大小不等的塊Question8TheconceptofMemoryManagementsatisfiescertainsystemrequirements,including:選擇一個答案a.Relocationb.Physicalorganizationc.Alloftheabove√d.Protection重定位、保護(hù)、共享、邏輯組織、物理組織Question9Thepracticeinwhichaprogramanddataareorganizedinsuchawaythatvariousmodulescanbeassignedthesameregionofmemoryiscalled:選擇一個答案a.Sharingb.Noneoftheabovec.Overlaying√d.Relocation覆蓋Question10Theconceptofvirtualmemoryisbasedononeorbothoftwobasictechniques:選擇一個答案a.Segmentationandpaging√b.Noneoftheabovec.Overlayingandrelocationd.Segmentationandpartitioning虛擬=>分段分頁Question11AproblemwiththelargelyobsoleteFixedPartitioningmemorymanagementtechniqueisthatof:選擇一個答案a.Inefficientuseofmemoryb.Internalfragmentationc.AllowingonlyafixednumberofProcessesd.Alloftheabove√Question12Theproblemofinternalfragmentationcanbelessenedinsystemsemployingafixed-partitionmemorymanagementschemebyusing:選擇一個答案a.Unequalsizepartitions√b.Randomsizepartitionsc.Equalsizepartitionsd.Noneoftheabove分段解決內(nèi)部碎片,但是會引入外部碎片Question13IntheDynamicPartitioningtechniqueofmemorymanagement
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 二零二五版房地產(chǎn)抵押回購交易合同范本3篇
- 二零二五年度預(yù)應(yīng)力鋼筋進(jìn)出口代理合同3篇
- 室內(nèi)設(shè)計公司2025年度市場推廣合同2篇
- 二零二五年度船舶設(shè)備個人買賣合同2篇
- 二零二五年度高空作業(yè)安全責(zé)任免除服務(wù)合同3篇
- 二零二五版保姆雇傭合同與雇主合作共贏協(xié)議3篇
- 二零二五版抵債協(xié)議:債權(quán)債務(wù)清算與資產(chǎn)轉(zhuǎn)讓合同3篇
- 2025版超薄浮法玻璃出口貿(mào)易合同范本3篇
- 二零二五版建筑外墻防水涂料研發(fā)與銷售合同3篇
- 二零二五版快遞物流企業(yè)碳排放管理與減排協(xié)議合同3篇
- 【S洲際酒店婚禮策劃方案設(shè)計6800字(論文)】
- 醫(yī)養(yǎng)康養(yǎng)園項目商業(yè)計劃書
- 《穿越迷宮》課件
- 《C語言從入門到精通》培訓(xùn)教程課件
- 2023年中國半導(dǎo)體行業(yè)薪酬及股權(quán)激勵白皮書
- 2024年Minitab全面培訓(xùn)教程
- 社區(qū)電動車棚新(擴(kuò))建及修建充電車棚施工方案(純方案-)
- 項目推進(jìn)與成果交付情況總結(jié)與評估
- 鐵路項目征地拆遷工作體會課件
- 醫(yī)院死亡報告年終分析報告
- 建設(shè)用地報批服務(wù)投標(biāo)方案(技術(shù)方案)
評論
0/150
提交評論