版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1/1NIIT1終極資料-小學(xué)教育
1.Whichofthefollowingisnotanapplication(應(yīng)用程序)software?________A)MSVisualStudioB)LinuxC)PhotoShopD)MSOffice2.Whichofthefollowingisaninputdevice(輸入設(shè)備)?______
A)PrinterB)MicrophoneC)SpeakerD)VDU(圖像顯示部件)
3.Whichmouseissensitivetopressureandmotion?_____
A)WirelessB)LightPenMouseC)TouchPadMouseD)TrackballMouse4.WhichofthefollowingWebBrowerrequiredverylittleharddiskspace?A)InternetExplorerB)NetscapeNavigatorC)OperaD)Mozilla
5.Whichisadifferencebetweenanalgorithm(算法)andaflowchart(流程圖)?_____A)AflowchartisapartofanalgorithmB)Bothcannotbecompared
C)Algorithmisthegraphicalrepresentationofaflowchart
D)Flowchartisagraphicalrepresentation(圖形化表示形式)ofaprogram6.Convert(轉(zhuǎn)換)isa?
A)NamespaceB)ClassC)Function(函數(shù))D)Escape(逸出)sequence(數(shù)組)character
7.Inthestatement(語(yǔ)句),usingSystem,Systemisa?
A)Namespace(命名空間)B)ClassC)ObjectD)Keyword
8.ifanarrayisdeclaredas,intarr=newint[5],thetotalnumberofelementsinthearrayis?
A)5B)2C)1D)0
9.whichofthefollowingisanexampleoffunctionoverloading?A)voidfuncharfunB)voidfunvoidfun1C)voidfun(int)voidfun(char)
D)voidfun1(int,int)voidfun2(char,char)
10.whichofthefollowingistrueaboutabstract(抽象)classes?A)AnabstractclassdefinespropertiescommontotheclassesderivedfromitB)AnabstractclasscanbedeclaredasfinalC)Abstractclassescannotbeextended
D)Classesdeclaredusingtheabstractkeywordcanbeinstantiated
11.IdentifytheSQLstatement,whichwillretrieve(使恢復(fù))alistofEmployeesfrom
thetableEmployeeswiththecolumnheadingforemp_idasEmployeeIdentityNumber.A)SELECTDISTINCTemp_id(EmployeeIdentityNumber)fromEmployeesB)SELECTemp_idLIKEEmployeeIdentityNumberfromEmployeesC)SELECTemp_idAS[EmployeeIdentityNumber]fromEmployeesD)SELECTemp_id=EmployeeIdentityNumberfromEmployees
12.WhichofthefollowingpropertiesdoesatransactionNOTposses?A)AtomicityB)ConsistencyC)IsolationD)Separation
13.Whichdatabase(數(shù)據(jù)庫(kù))objectwillyoucreatetoenforce(實(shí)施)businessrule?
A)StoredProcedures(存儲(chǔ)程序)B)Views(視圖)C)TriggersD)Indexes(索引)
14.Whichdatefunctionwouldyouusetoextract(引出)aspecified(指定的)part,suchasday,month,oryearfromthespecifieddate?A)DATEPARTB)DATEADDC)DATEDIFFD)DATENAME
15.Inwhichsituationyoumustcreateaclusteredindex?A)DatabaseusesdecisionsupportsystemB)Columnstoressequentialdata
C)QuerycoversallthecolumnsinatableD)QuerycontainsaWHEREclause
16.WhichofthefollowingisnotaDBMS?_____
A)OracleB)LinuxC)MicrosoftSQLServerD)Sybase
17.”ColumnPriceshouldbegreaterthan$1000andlowerthan$2000”.Thiskindofconstraintbelongsto_________functionofDBMS.
A)restoreB)synchronousC)securityD)integrityconstraint18.WhatistherightresultafterexecutionofSQLstatements“Selectdateadd(dd,12,'2023-12-10')”?____
A)2023-12-22B)2023-12-10C)2023-12-12D)2023-6-1019.WhichofthefollowingSQLstatementscanbeusedtocreatenewdatabaseobjects?____
A)DDLB)DMLC)DCLD)DQL
20.Whichofthefollowingoperatorsisusedtodisplayasetofrecords(記錄)thatcontainvalueswithinarangeinacolumn(列)?______
A)ORB)>=C)BETWEEN..ANDD)%
21.Whichofthefollowingwildcard(字符)representsasinglecharacter?_____A)%B)_C)[]D)[^]
22.Whichofthefollowingisnotavalidtypeoftrigger?______A)InsertTriggerB)UpdateTriggerC)DeleteTriggerD)BeforeTrigger23.The?complierisusedforC#
A)ccB)cscC)c++D)csn24.intNumber1=0;intNumber2=0;
intArray1=newint{2,3,4,5,6,7,8,9,10,11};foreach(intCtrinArray1){if(Ctr%2==1)
Number1++;else
{Number2++;
Console.Write(Ctr);}}
Whatistheoutputofthecode?
A)357911B)246810C)CtrD)234567891011
25.Whichofthefollowinglocksenableotherstoviewthedatabeingmodified(修改的)bythecurrenttransaction?A)sharedlockB)exclusivelockC)updatelockD)intentlock
26.WhichofthefollowingcomponentsofSQLServer2023isusedtocopyanddistribute(區(qū)分)dataanddatabaseobjectsfromonedatabaseservertoanother?A)ReplicationB)ServicebrokerC)Full-textsearchD)Notificationservices
二、閱讀程序?qū)懡Y(jié)果(每小題5分,共10分)1.
usingSystem;
usingSystem.Collections.Generic;usingSystem.Text;namespaceMultiArray{
classMultiArryExample
{staticvoidMain(stringargs){intn=0;intsum=0;introwsum;
int[,]mArray=newint[2,4]{{1,2,3,4},{5,6,7,8}};for(introw=0;row0)n++;
Console.Write(\rowsum=rowsum+mArray[row,col];}
sum=sum+rowsum;
Console.Write(\Console.WriteLine;}
Console.WriteLine(\
Console.WriteLine(\Console.ReadLine;}}}2.
usingSystem;publicclassA
{
publicvirtualvoidFun1(inti){
Console.WriteLine(i);}
publicvoidFun2(Aa){
a.Fun1(1);Fun1(5);}}
publicclassB:A{
publicoverridevoidFun1(inti){
base.Fun1(i+1);}
publicstaticvoidMain{
Bb=newB;Aa=newA;a.Fun2(b);b.Fun2(a);
Console.ReadLine;}}
//b.Fun1(1);2//Fun1(5);5//a.Fun1(1)1
//Fun1(5)->base.Fun1(5+1)6
三、程序填空(每空2分,共10分)
/*ThefunctionoffollowingprogramisthatCalculatethefactorialofthenumberenteredbyauser.(Thelimitofusersinputshouldbe1-20)*/usingSystem;classFactorial{
staticlongFac1;
publicstaticboolFac(longn,outlonganswer){
longk;
boolok=true;
if()//userinputshouldbe1-20{ok=false;}else
{
;for(k=2;k<=n;++k){
;}}
;returnok
溫馨提示
- 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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025版水泥磚生產(chǎn)成本控制與效益分析購(gòu)銷(xiāo)合同2篇
- 2024年中國(guó)半泡殼套刷市場(chǎng)調(diào)查研究報(bào)告
- 2024年中國(guó)全自動(dòng)變頻調(diào)速消防給水設(shè)備市場(chǎng)調(diào)查研究報(bào)告
- 2024年中國(guó)中華獼猴桃濃縮汁市場(chǎng)調(diào)查研究報(bào)告
- 無(wú)線充電電子課程設(shè)計(jì)
- 空調(diào)課程設(shè)計(jì)問(wèn)題
- 2025至2030年中國(guó)鮮味膨松劑行業(yè)投資前景及策略咨詢(xún)研究報(bào)告
- 生物信息密碼課程設(shè)計(jì)
- 2025至2030年中國(guó)面包高效保險(xiǎn)劑行業(yè)投資前景及策略咨詢(xún)研究報(bào)告
- 2024年版房屋征收銷(xiāo)售協(xié)議版
- 《微機(jī)系統(tǒng)與匯編語(yǔ)言》-課程設(shè)計(jì)-實(shí)時(shí)時(shí)鐘的設(shè)計(jì)與實(shí)現(xiàn)
- 廣東省深圳市龍崗區(qū)2023-2024學(xué)年四年級(jí)上學(xué)期期末數(shù)學(xué)試卷+
- 安全標(biāo)準(zhǔn)化示范班組建設(shè)匯報(bào)
- 智能電網(wǎng)建設(shè)與發(fā)展趨勢(shì)
- 華為公司管理層選拔機(jī)制解析
- 005獨(dú)立避雷針基礎(chǔ)施工方案
- 第三方代付工程款協(xié)議書(shū)范本
- 外研版英語(yǔ)九年級(jí)上冊(cè) Module1-12作文范文
- 公路工程勘察設(shè)計(jì)投標(biāo)方案(技術(shù)方案)
- 小米科技公司的供應(yīng)鏈管理策略分析(全面完整版)
- 南京市七年級(jí)上冊(cè)地理期末試卷(含答案)
評(píng)論
0/150
提交評(píng)論