




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)
文檔簡介
經(jīng)典word整理文檔,僅參考,雙擊此處可刪除頁眉頁腳。本資料屬于網(wǎng)絡(luò)整理,如有侵權(quán),請聯(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頁共8頁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頁共8頁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頁共8頁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頁共8頁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頁共8頁{//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頁共8頁PartIII--LogicSkill一、數(shù)字推理給你一個數(shù)列,但其中缺少一項,要求你仔細(xì)觀察數(shù)列的排列規(guī)律,然后從四個供選擇的答案中選擇你認(rèn)為最合理的一項,來填補空缺項,使之符合原數(shù)列的排列規(guī)律(只有一個最佳答案)。1.
溫馨提示
- 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)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年山西省建筑安全員考試題庫
- 2025-2030年中國金屬錫產(chǎn)業(yè)運行動態(tài)與發(fā)展戰(zhàn)略分析報告
- 2025-2030年中國配電變壓器市場運營狀況及發(fā)展前景分析報告
- 2025-2030年中國船舶修理行業(yè)市場競爭狀況及發(fā)展現(xiàn)狀分析報告
- 2025-2030年中國經(jīng)編機行業(yè)運行現(xiàn)狀及發(fā)展前景分析報告
- 2025-2030年中國等離子廢氣凈化器市場發(fā)展現(xiàn)狀規(guī)劃研究報告
- 2025-2030年中國祛痘護膚品市場需求狀況及發(fā)展盈利分析報告
- 2025-2030年中國硼酸市場發(fā)展現(xiàn)狀與十三五規(guī)劃研究報告
- 2025-2030年中國畜牧機械市場運行狀況及發(fā)展前景分析報告
- 11.2化學(xué)與可持續(xù)發(fā)展教學(xué)設(shè)計-2024-2025學(xué)年九年級化學(xué)人教版(2024)下冊
- 《電子技能與實訓(xùn)》課件
- 基礎(chǔ)攝影培訓(xùn)
- 高一政治學(xué)科期末考試質(zhì)量分析報告(7篇)
- 《面試官培訓(xùn)》課件
- 導(dǎo)管相關(guān)性血流感染-7
- 汽車維修保養(yǎng)協(xié)議三篇
- 2024年銀行、金融反詐騙必知知識試題與答案
- 2024年匯算清繳培訓(xùn)
- 幼兒園監(jiān)控項目技術(shù)方案
- 《智能家居系統(tǒng)》課件
評論
0/150
提交評論