版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
經(jīng)典word整理文檔,僅參考,雙擊此處可刪除頁(yè)眉頁(yè)腳。本資料屬于網(wǎng)絡(luò)整理,如有侵權(quán),請(qǐng)聯(lián)系刪除,謝謝!WuxiDevelopmentCenterscreeningexams(90minutes)Name:___________________;Score:PartI___,PartII____,PartIII____:Total_____PartI--Skill1.Ifamethodismarkedasprotectedinternalwhocanaccessit?A)ClassesthatarebothinthesameassemblyandderivedfromthedeclaringclassB)Classeswithinthesameassembly,andclassesderivedfromthedeclaringC)OnlymethodsthatareinthesameclassasthemethodinquestionD)Internalmethodscanbeonlycalledusingrelection2.InObjectOrientedProgramming,howwouldyoudescribeencapsulation?A)TheconversionofonetypeofobjecttoB)Theruntimeresolutionofmethodcalls.C)Theexpositionofdata.D)Theseparationofinterfaceandimplementation.3.WhencreatingaC#ClassLibraryproject,what’sthenameofthesupplementaryfilethatVisualStuidio.NETcreatesthatcontainsGeneralInformationabouttheassembly?A)AssemblyInfo.xmlB)AssemblyInfo.csC)AssemblyInformation.csD)AssemblyAttributes.cs4.Whatisadelegate?A)AstronglytypedfunctionpointerB)AlightweightthreadorprocessthatcancallasinglemethodC)AreferencetoanobjectinadifferentprocessD)Aninter-processmessagechannel5.Whatisboxing?A)Encapsulatinganobjectinavaluetype.B)Encapsulatingacopyofanobjectinavaluetype.C)Encapsulatingavaluetypeinanobject.D)Encapsulatingacopyofavaluetypeinanobject.6.WhichofthefollowingisnotamethodofSystem.Object?A)B)C)EqualsD)Clone7.Whichofthefollowingisavaluetype,andnotareferencetype?共1頁(yè)共8頁(yè)A)arrayB)delegateC)enumD)class8.WhatisasatelliteAssembly?A)Aperipheralassemblydesignedtomonitorpermissionsrequestsfromanapplication.B)AnyDLLfileusedbyanEXEfile.C)Anassemblycontaininglocalizedresourcesforanotherassembly.D)Anassemblydesignedtoaltertheappearanceor.skin.ofanapplication.9.HowtoimplementMultipleInheritancesinC#?A)UsingInterfaceB)UsingAbstractClassC)UsingDelegatesD)UsingEvents10.Whichofthesestatementscorrectlydeclaresatwo-dimensionalarrayinC#?A)int[,]myArray;B)int[][]myArray;C)int[2]myArray;D)System.Array[2]myArray;11.Whichinterfaceallowsacollectiontobenavigatedusingtheforeachstatement?A)INavigatorB)ICollectionC)IEnumeratorD)IEnumerable12.C#typesaredefinedin____,organizedby____,compliedinto____,andthengroupedinto____.A)files,modules,namespaces,assembliesB)files,namespaces,assemblies,modulesC)files,assembiles,namespaces,modulesD)files,namespaces,modules,assemblies13.InADO.NET,forCommandobject’smethodExecuteNonQuery()andExecuteReader(),whichofthefollowingstatementiswrong?A)insert,updateanddeleteisexecutedmainlyusingExecuteNonQuery()B)ExecuteNonQuery()willreturnthenumberofrowsthatisaffectedbytheexecutedsqlC)selectcanonlyexecutedbyExecuteReader()D)ExecuteReader()willreturnaDataRederobject14.WhichofthefollowingoperationscanyouNOTperformonanADO.NETDataSet?A)aDataSetcanbesynchronisedwithaRecordSet.B)aDataSetcanbesynchronisedwiththedatabase.共2頁(yè)共8頁(yè)C)aDataSetcanbeconvertedtoXML.D)caninfertheschemafromaDataSet15.InC#,thegeneralstepsofnetworkcommunicationprogrammingwithSocketis:createSocketlistener,()andsendorreceivedatabySocket。A)createSocketconnectionB)getportnumberC)getIPaddressD)gethostname16.Whichofthefollowingisthecorrectwaytodisablesessionstateinanpage?A)<%@PageSessionState="false"%>B)<%@PageUseSessionState="false"%>C)<%@PageDisableSessionState="true"%>D)<%@PageEnableSessionState="false"%>17.Whichofthefollowingisnotserversidecontrol?A)HtmlInputButtonB)RadioButtonC)DropDownListD)CheckBox18.Ifwemustmakesurethattheclientinputvalueisgreatthan30,whichvalidationcontrolshoulduse?A)RequiredFieldValidatorC)RangeValidatorB)CompareValidatorD)RegularExpressionValidator19.Therearemanymethodtomaintainstateinwhichofthefollowingisonclientside?A)20.HowlongisthedefaultlifecycleofCookies?A)20minutesB)30minutesC)onedayB)SESSIONC)APPLICATIOND)CACHED)invalidwhenbrowserclose21.getuserIPofpageswithoutputcacheinrealtime,whichofthefollowingeventcanweuse?A)Page.InitB)HttpApplication.BeginRequestD)NoneofaboveC)Page.Load22.In,whichofthefollowingstatementaboutVaryByParampropertyusedwhensetpagecacheisright?A)representthetimethatpageistobecached,measuredbysecondB)itisusedtospecifytheplaceofoutputcacheC)thispropertycanbesetto"none"共3頁(yè)共8頁(yè)D)itisusedtochangeoutputcacheofusercontrol23.Readthefollowingstatementabout(1)eachHttprequestcontainstwopart:headandbody(2)ifHttprequesttypeisGet,thedataissendbybody,ifrequesttypeispost,thedataissendbyheadA)(1)right,(2)rightB)(1)right,(2)wrongC)(1)wrong,(2)rightD)(1)wrong,(2)wrong24.What’sthetransportprotocolyouusetocallaWebservice?A)HTTPandSOAPB)TCPandHTTPC)UDPandSOAPD)TCPandFTP25.AcompleteHTMLdocumentmustcontain3elements,theyarehead,htmland(A)script26.Whichpseudo-classcandefinethestylewhenmouseisoveralink?A)a:visitedB)a:linkC)a:hoverD)a:active27.WhichofthefollowingisnotCSSselector?B)bodyC)titleD)linkA)HTMLtagC)classB)variableD)ID28.Whichofthefollowingjavascriptcanpopupaalertdialogbox?A)document.alert(test)B)C)document.alert('test')D)window.alert('test')29.What’stheoutputofthefollowing(JavaScript)?varaa=newArray(1,2,4,5,3,6);varc=0;for(vari=0;i<aa.length;++i){c+=aa.pop();}document.write(c);Note:Array.pop()istoremoveandreturnthelastelementofthearrayA)7B)14C)21D)Noneofabove30.Forregularexpression([0-9a-z]{4,})|(\..{3,6}),whichofthefollowingdosenotmatch?共4頁(yè)共8頁(yè)A)2asdB).&8#C)avdf*D).adsPartII--ProgramSkill1.Nowthereisatablenamed“tree”,itsstructureis:parentIDintNameisDeletebitIntVarcharThefollowingprogramistodeleteagiventreenodeandallofitschildnode,allexceptionhandlingcodehavebeenomitted.Pleasefillblanksintheprogram,notethatyoucanwriteonlyonestatementineachblank.publicclass{privateintID;privateintparentID;privatestringname;privateboolisDelete;publicvoiddeleteNode(){DBUtil.execUpdate(“UPDATEtreeSETisDELETE=1WHEREID=”+this.ID);}publicboolhasChildren(){returnstatement1;}publicgetChildren(){returnDBUtil.execQuery(“SELECT*FROMtreeWHEREisDelete=0andparentID=”+this.ID);}publicvoiddelete(){if(!hasChildren())statement2;else{childingetChildren())statement;deleteNode();}}}publicclassDBUtil共5頁(yè)共8頁(yè){//executespecificsqlqueryandassemblyreturneddatatoarraypublicstaticexecQuery(stringsql){//codeomitted}/***executeupdatesql**/publicstaticvoidexecUpdate(stringsql){//codeomitted}}2.ThefollowingprogramistojudgewhetherthereisamainelementisaintegerarrayT[n].Mainelementistheelementwho’soccurrencetimeismorethann/2.Fillblanksintheprogram;notethatyoucanwriteonlyonestatementineachblank.privatestaticbooleanhasMaster(intdata[]){intn=data.Length;intcount=0;intseed;seed=data[0];for(inti=1;i<n;i++){if(seed==data[i])count++;else{if(count>0)count--;elsestatement;}}count=0;for(inti=0;i<data.n;i++){if(seed==data[i])statement2}statement3returntrue;returnfalse;}共6頁(yè)共8頁(yè)P(yáng)artIII--LogicSkill一、數(shù)字推理給你一個(gè)數(shù)列,但其中缺少一項(xiàng),要求你仔細(xì)觀察數(shù)列的排列規(guī)律,然后從四個(gè)供選擇的答案中選擇你認(rèn)為最合理的一項(xiàng),來(lái)填補(bǔ)空缺項(xiàng),使之符合原數(shù)列的排列規(guī)律(只有一個(gè)最佳答案)。1.
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 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ì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 《證券基礎(chǔ)知識(shí)培訓(xùn)》課件
- 單位管理制度合并選集【員工管理】十篇
- 《服裝供應(yīng)鏈》課件
- 單位管理制度范例選集人員管理篇
- 《易制毒管理?xiàng)l例》課件
- 農(nóng)學(xué)研究的探索與突破
- 世界環(huán)境日節(jié)能減排保護(hù)環(huán)境綠色低碳環(huán)保主題42
- 語(yǔ)言譜系演變機(jī)制研究-洞察分析
- 業(yè)務(wù)對(duì)象模型的預(yù)測(cè)算法研究-洞察分析
- 網(wǎng)絡(luò)自動(dòng)化運(yùn)維技術(shù)-洞察分析
- 2024年海南省中考數(shù)學(xué)試題卷(含答案解析)
- 10MWP太陽(yáng)能光伏并網(wǎng)發(fā)電電站項(xiàng)目電站的技術(shù)設(shè)計(jì)方案
- 孤殘兒童護(hù)理員技能鑒定考試題庫(kù)(含答案)
- 2024新冀教版英語(yǔ)初一上單詞默寫表
- ISO∕TR 56004-2019創(chuàng)新管理評(píng)估-指南(雷澤佳譯-2024)
- 2024年全國(guó)房地產(chǎn)估價(jià)師之估價(jià)原理與方法考試高頻題(附答案)
- DL-T5142-2012火力發(fā)電廠除灰設(shè)計(jì)技術(shù)規(guī)程
- 2024年晉城職業(yè)技術(shù)學(xué)院?jiǎn)握新殬I(yè)傾向性測(cè)試題庫(kù)附答案
- 小學(xué)舞蹈課學(xué)情分析
- GB 31825-2024制漿造紙單位產(chǎn)品能源消耗限額
- 第15課 十月革命與蘇聯(lián)社會(huì)主義建設(shè)(教學(xué)設(shè)計(jì))-【中職專用】《世界歷史》
評(píng)論
0/150
提交評(píng)論