NIIT1終極資料小學(xué)教育_第1頁(yè)
NIIT1終極資料小學(xué)教育_第2頁(yè)
NIIT1終極資料小學(xué)教育_第3頁(yè)
NIIT1終極資料小學(xué)教育_第4頁(yè)
NIIT1終極資料小學(xué)教育_第5頁(yè)
已閱讀5頁(yè),還剩2頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(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ì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論