您好,欢迎访问三七文档
广东海洋大学2006——2007学年第二学期题号一二三四五六七八九十总分阅卷教师各题分数20202010101010100实得分数Ⅰ.Choosebestanswerforeachquestion.(1pointforeachquestion)1.Whichisnotafundamentalamongthefollowingoperatingsystemtypes?操作系统类型(D)A.BatchoperatingsystemB.TimesharingoperatingsystemC.RealtimeoperatingsystemD.Networkoperatingsystem2.Privilegedinstructionscanonlybeexecutedby特权指令(C)A.operatorB.on-lineuserC.operatingsystemD.objectmodule3.Whenexecutingasystemcallinstruction,theinterruptmechanismmakesCPU(B)A.stayinusermodeB.switchfromusermodetosupervisormodeC.stayinsupervisormodeD.switchfromsupervisormodetousermode4.Amongthefollowingoperatingsystems,whichoneisofmicrokerneltype?(A)A.MS-DOSB.Windows98C.MINIXD.UNIX5.Amongthefollowingprocessstatustransfers,whichonecannotbehappen?(C)A.Ready→RunningB.Running→ReadyC.Ready→BlockedD.Running→Blocked6.Inpagingsystem,thejobofmappingvirtualaddresstophysicaladdressisdoneby(A)A.MMUB.addresstransferprogramC.userprogramD.loadingprogram7.Infilesystem,whatdoesnotation./mean?(D)A.absolutepath.B.relativepathC.workingdirectoryD.nothing8.Whereisthephysicaladdressofafilestored?(D)A.directoryB.superblockC.bootbockD.i-node9.WhichofthefollowingisnotanumberofMINIX3components?(D)A.SystemtaskB.ClocktaskC.pmD.a.out10.Whichsignalcannotbecaughtbyuserprocess?(B)A.SIGINTB.SIGSEGVC.SIGKILLD.SIGTERM11.TomakeanewMINIXimage,inpath/usr/src/tools,wetypeinthecommand(D)A.makelibrariesB.makecleanC.makeinstallD.makeimage12.Toaccessdeviceports,inMINIX3,whosehelpdoesauserprocessfinallyaskfor?(C)A.systemtaskB.filesystemC.processmanagerD.shell13.InwhichpathdoesMINIX3filesystemlocatebydefault?(A)A./usr/src/kernelB./usr/src/deriversC./usr/src/servers/fsD./usr/src/lib14.Whatdoesglo.husuallycontain?()A.globalvariablesB.localvariables.C.constantsD.macros15.Whenakeyispressed,()A.Thekeycodeistransportedtouserprocessimmediately.B.AmessageissenttoTTYdevicedriver.C.Thecharactercorrespondingtothekeycodeisdisplayedonscreen.D.Userprocessissignaled.16.Bydefault,whichcharacterisliteralnextinMINIX?(A)A.Ctrl+DB.Ctrl+VC.Ctrl+WD.Ctrl+U17.Whichfunctiontransferskeyboardinputtouserprocess?()A.kb_readB.in_transferC.processD.do_read18.InwhatwaydoesMINIXaccessfilesystemonaCD-ROM?()A.bydriveletterB.byinstallationoffilesystemC.bymountingD.bynetwork19.WhichsystemcallisthemostquicklyinMINIX?()A.getpidB.execC.forkD.open20.Whichofthefollowingcomponentsisnotamemberofthe80X86protectionmechanism?()A.LDTB.GDTC.TSSD.CacheⅡ.Trueorfalse.Write√fortrue,╳forfalse(1pointforeachquestion)1.Opensourceoperatingsystemisbetterthanclosesourceoperatingsystemjustonlybecausethepriorsavesmoney.(x)2.Itismoredifficulttoimplementoperatingsystemon8086/8088platformthanon80X86platform,because8086/8088islackofprotectionmechanismneededinmulti-taskingsystem.(t)少了保护模式!3.Amonolithicoperatingsystemusuallyhashigherperformancethanamicro-kerneloperatingsystem.幑内核(t)4.Whenin_leftvariablereacheszero,itmeansthatkeyboardinputterminates.()5.AuserprocesscanexecuteCLIinstructiontocloseinterrupts.(t)6.WhenfilesystemsendsamessagetoTTY,itawaitsuntiluserinputrequestissatisfied.()7.Filesystemtakesadvantagesofcachetoimproveitsperformance.(t)8.BothCRandLFcharacterareneededtosignifytheendoflineinWindowsandUNIX.(t)9.Whenaprocessisforked,wehavenowaytotellthedifferencebetweenaparentprocessandchildprocess.(f)10.InMINIX3,theseventypesofmessageshavethesamesize.()11.Wesetenvironmentalvariableboottothecorrespondingimagewhenweneedtobootfromanewkernel.(t)12.SystemtasksharesCPUequallywithotherprocesses.(t)13.Bothmini_sendandNotifyfunctionblocksprocesses.(f)14./dev/memand/dev/kmemhavethesameminordevicenumber.(t)15.Pagingmanagementsystemeliminatesinternalfragmentations.(t)16.Filesystemistheuniversalinterfaceofthesecondarystoragedevicestouserprocesses.(t)17.Inboththeuser’sandthesystem’spointview,anexecutablefileisstructural.(f)18.Clockhandlergeneratesamessageforeverytick.()19.Inapracticalsystem,pagetablereducesprogramrunningspeedbecauseCPUlooksitupforeveryvirtualtophysicaladdresstranslation.(t)20.Whenaninterruptterminates,CPUcontinueswithwhateverinstructionitwasexecuting.(t)Ⅲ.Fillingtheblanks(1pointforeachblank)1.Basicallyanoperatingsystemhastwofunctions,firstitisaresourcesmanagement;seconditisaextendmachine.2.InasingleCPUandmulti-taskingsystem,onlyoneprogramisactiveanyinstant,however,themultipleprogramsarerunningalltime;thisphenomenoniscalled多道程序设计.3.Generallyspeaking,aprocesshasthreestates,running,blocked,andready.ArunningprocessistransformedintoreadystatewhenCPUquantumexpires.WhenaprocessrequestsanI/Ooperation,itisputintoblockedstate.WhentheI/Oterminationeventhappens,theblockedprocessisawakenedandputintorunningstate.4.InMINIXsourcecode,thenameofthemacrothatdifferentiatesafunctionasanansiCorK&RCis__PROTOTYPE_.5.WhenCPUhasnothingtodo,itentersaloopinprocesscalledbusywaiting.6.TheI/Osoftwaresystemiscomprisedoffivelayers,inthetop-to-bottomorder,theareuser-levelI/Osoftware,device-independentoperatingsystemsoftware,设备驱动devicedriver,中断处理器,andhardware.7.AprocesscallingEXECsystemcallreplacesitscodesegmentwiththecodeinexternalcommandfile.8.Whenitcatches
本文标题:操作系统往年试题
链接地址:https://www.777doc.com/doc-2454508 .html