MultipleChoiceQuestions6Question1Thepermanentblockingofasetofprocessesthateithercompeteforsystemresourcesorcommunicatewitheachotheriscalled:选择一个答案a.Starvationb.Alloftheabovec.Prioritizationd.Deadlock√死锁是一组竞争系统资源或互相通信的竞争间相互的永久阻塞Question2Indeadlockedprocessrecovery,selectioncriteriaforchoosingaparticularprocesstoabortorrollbackincludesdesignatingtheprocesswiththe:选择一个答案a.Leasttotalresourcesallocatedsofarb.Lowestpriorityc.Alloftheabove√d.Mostestimatedtimeremaining中文P196死锁检测后恢复过程对“牺牲”进程的选择Question3Oneapproachtoanintegratedstrategyfordealingwithdeadlocksinvolvestheimplementationof:选择一个答案a.Processrollbacksb.Virtualmemoryc.Resourceclasses√d.Noneoftheabove综合死锁策略:资源分类Question4TheDiningPhilosopher’sProblemisastandardtestcaseforevaluatingapproachestoimplementing:选择一个答案a.Synchronization√b.Starvationc.Alloftheaboved.Deadlock哲学家进餐问题是评价同步方法的一个测试标准Question5AsoftwaremechanismthatinformsaprocessoftheoccurrencesofasynchronouseventsinUNIXarecalled:选择一个答案a.Pipesb.Messagesc.Signals√d.Alloftheabove信号是用于通知发生一个同步事件的软件机制Question6ThreadsynchronizationprimitivessupportedbySolarisinclude:选择一个答案a.Conditionvariablesb.Semaphoresc.Alloftheabove√d.Mutualexclusion(mutex)locks互斥锁、信号量、多读者单写者锁、条件变量Question7ThefamilyofsynchronizationobjectsimplementedbyW2Kinclude:选择一个答案a.Mutexobjectsb.Eventobjectsc.Alloftheabove√d.Semaphoreobjects事件、互斥、信号量、可等待的计时器Question8Alldeadlocksinvolveconflictingneedsforresourcesby:选择一个答案a.Threeormoreprocessesb.Oneormoreprocessesc.Noneoftheaboved.Twoormoreprocesses√两个或多个进程资源需求冲突Question9Aresourcethatcanbecreatedanddestroyediscalleda:选择一个答案a.Reusableresourceb.Producibleresourcec.Consumableresource√d.Alloftheabove可重用资源VS可消费资源Question10Anexampleofaconsumableresourceisthefollowing:选择一个答案a.Alloftheaboveb.MainMemoryc.Messages√d.Printers可创建可销毁的信息资源Question11Aconditionofpolicythatmustbepresentforadeadlocktobepossibleis:选择一个答案a.Mutualexclusionb.Nopreemptionc.Alloftheabove√d.Holdandwait三个必要条件Question12Adirectmethodofdeadlockpreventionistopreventtheoccurrenceof:选择一个答案a.Holdandwaitb.Alloftheabovec.Circularwait√d.Mutualexclusion死锁预防的直接法Question13IntheResourceAllocationDenialapproachtoDeadlockAvoidance,asafestateisdefinedasoneinwhich:选择一个答案a.Atleastonepotentialprocesssequencedoesnotresultinadeadlock√b.Noneoftheabovec.Allpotentialprocesssequencesdonotresultinadeadlock:d.Severalpotentialprocesssequencesdonotresultinadeadlock:一条安全道路便可Question14Aconservativestrategyfordealingwithdeadlocksthatinvolveslimitingaccesstoresourcesandimposingrestrictionsonprocessesiscalled:选择一个答案a.Noneoftheaboveb.DeadlockPrevention√c.DeadlockDetectiond.DeadlockAvoidance资源预防