版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1/1NIIT1終極資料-小學教育
1.Whichofthefollowingisnotanapplication(應用程序)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(語句),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(使恢復)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ù)庫)objectwillyoucreatetoenforce(實施)businessrule?
A)StoredProcedures(存儲程序)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. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2026上半年云南昆明市盤龍區(qū)青少年活動中心招聘編制外工作人員2人備考題庫有答案詳解
- 2026恒豐銀行博士后科研工作站博士后研究人員招聘10人備考題庫(含答案詳解)
- 2025安徽蕪湖市鏡湖區(qū)改制企業(yè)管理辦公室招聘2人備考題庫有答案詳解
- 2026河北唐山楓華高中招聘儲備教師9人備考題庫完整參考答案詳解
- 2026廣東廣州市天河區(qū)東風實驗小學招聘語文、數(shù)學、音樂(舞蹈)教師備考題庫及答案詳解一套
- 金融投資合作協(xié)議履約保證承諾書5篇
- 純血動物繁育標準承諾函(5篇)
- 藝術(shù)品收藏鑒證交易承諾書范文9篇
- XX學校2025-2026學年第一學期節(jié)能減排工作總結(jié)
- 生產(chǎn)流程管理操作指南手冊
- 國家電網(wǎng)公司招聘高校畢業(yè)生應聘登記表
- 見證取樣手冊(智能建筑分部)
- DZ∕T 0353-2020 地球化學詳查規(guī)范(正式版)
- 脊柱與四肢檢查課件
- 2024年河北省供銷合作總社招聘筆試參考題庫附帶答案詳解
- 醫(yī)療衛(wèi)生輿情課件
- 2023-2024學年宜賓市高一數(shù)學上學期期末質(zhì)量監(jiān)測試卷附答案解析
- 數(shù)據(jù)安全保護與隱私保護
- 實用的標準氧化還原電位表
- 英語口語8000句(情景模式)
- GB/T 17640-2008土工合成材料長絲機織土工布
評論
0/150
提交評論