资源描述:
《2002年程序员试卷(上)(programmer's test paper in 2002 (part one))》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、2002年程序员试卷(上)(Programmer'stestpaperin2002(Partone))Programmer'stestpaperin2002(Partone)Digitalsignaturetechnologycanbeusedtoverifyandidentifytheauthenticityoftheuser'sidentityorinformation,butthefollowing(L)behaviorcannotbesolvedbydigitalsignaturetechnology.(1):A.deniesB.forgery,C.tamperD,eave
2、sdroppingSoftwareisakindof(2)product.Forthehealthydevelopmentofsoftwareindustry,theprotectionofsoftwareproducts(3)shouldbecarriedout.(2)A,easytocopyB,easytodamageC,easytodevelopD,easytouse(3)A,technologyB,copyrightC,developmentD,instructionsforuseTheuserrequestsandprovidesthefundstoentrustthes
3、oftwarecompanytodevelopthesoftware.Iftheagreementisnotinvolvedintheownershipofthesoftwarecopyright,thesoftwarecopyrightbelongsto(4)all.(4)A,userB,softwarecompanyC,user,softwarecompanyF,andthepartyconfirmedbytheaward(5)isthemainfeatureofobjectorientedprogramminglanguagedifferentfromotherlanguag
4、es.Whethertoestablisharich(6)isanimportantsymboltomeasurewhetheranobjectorientedprogramminglanguageisheatedornot.(7)amechanismforautomaticallysharingdataandmethodsbetweenclassesandsubclasses.(5)A,inheritanceB,messagepassingC,polymorphismD,staticjoin(6)A,functionlibraryB,classlibraryC,typelibra
5、ryD,FangFaku(7)A,callB,referenceC,messagepassingD,inheritance(9)thetwotreeofthepreordertraversalsequenceisthesameasthatoftheinordertraversalsequence(8),andthetwobinarytreeofthepreordertraversalsequenceandthepreordertraversalsequenceis(2).(8)thetwotreeofAandrootnodewithoutleftsubtreeTwotreeofBa
6、ndrootnodewithoutrightsubtreeC,theonlytwotreeornonleafnodeoftherootnodeisonlythetwotreeoftheleftsubtreeD,onlytwotreeofrootnodeornonleafnode,onlytwotreeofrightsubtree(9)AandnonleafnodeshaveonlytwobranchesoftheleftsubtreeB,twotreewithrootnodeonlyTwotreeofCandrootnodewithoutrightsubtreeD,nonleafn
7、odeonlyrightsubtreetwoforktreeSupposethatthepreordertraversalsequenceofatwobinarytreeisDGJHEBIFCA,andthepreordertraversalsequenceisDBGEHJACIF,thenitspreordertraversalsequenceis(10).(10)A,ABCDEFGHIJB,ABDEGHJCFIC,ABDEGHJFICD,ABDEGJHCFIAkn