版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1/1NIIT1终极资料-小学教育
1.Whichofthefollowingisnotanapplication(应用程序)software?________A)MSVisualStudioB)LinuxC)PhotoShopD)MSOffice2.Whichofthefollowingisaninputdevice(输入设备)?______
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(转换)isa?
A)NamespaceB)ClassC)Function(函数)D)Escape(逸出)sequence(数组)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(数据库)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(区分)dataanddatabaseobjectsfromonedatabaseservertoanother?A)ReplicationB)ServicebrokerC)Full-textsearchD)Notificationservices
二、阅读程序写结果(每小题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. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 深度解析(2026)GBT 38205.1-2025液压传动 16MPa系列单出杆缸的安装尺寸 第1部分:中型系列 (2026年)深度解析
- 深度解析(2026)《GBT 34670-2017技术转移服务规范》
- 深度解析(2026)《GBT 34235-2017涤纶浸胶帆布技术条件和评价方法》
- 2026年贺州市钟山县钟山中学招聘备考题库完整参考答案详解
- 2026年广东惠州综合高中(普通高中)招聘教师备考题库有答案详解
- 2026年重庆机床(集团)有限责任公司磐联传动科技分公司招聘备考题库及答案详解(新)
- 2026年重庆长江轴承股份有限公司招聘13人备考题库及参考答案详解
- 2026年泸州市龙马高中招聘教职工4名备考题库完整参考答案详解
- 2026年东莞滨海湾未来学校招聘科创实验室研究员备考题库及完整答案详解1套
- 2026年北京林业大学雄安校区规划建设指挥部招聘备考题库及参考答案详解1套
- 部编版语文七年级上册单元集体备课教案(全册)
- 期末复习知识点-2024-2025学年统编版道德与法治九年级上册
- 天津市滨海新区2024-2025学年高二政治上学期期末考试试题
- 质保保证书设备
- 港口货物装卸合同
- 2024-2029年米酒项目融资商业计划书
- 中华民族风俗文化智慧树知到期末考试答案2024年
- 六宫格数独100题
- 建筑工程类竞争性谈判文件范本
- 输电线路工程导线压接技术培训
- 店铺搬迁通知文案(7篇)
评论
0/150
提交评论