电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

历年全国计算机数据库四级考试(2)VIP免费

历年全国计算机数据库四级考试(2)_第1页
1/37
历年全国计算机数据库四级考试(2)_第2页
2/37
历年全国计算机数据库四级考试(2)_第3页
3/37
D)TheaddressofnextexecutioninstructionItems(58)and(59)arebasedonthefollowingPascalcode.FORi:=1TOn-1doBEGINk:=i:FORj:=i+1TOnDOIFA[j]iTHENBEGINX:=A[k];A[k]:=A[i];A[i]:=xENDEND;(58)ThesortingmethoddescribedbythecodeiscalledA)InsertionsortB)SelectionsortC)RadixsortD)Mergesort(59)SupposeelementsinarrayAarealreadysortedascendingorderoftheirvalueswhenthecodebeginstorun,thenexecutiontimeofthecodewillbeA)O(log2n)B)O(n)C)O(nlog2n)D)O(n2)(60)AssumethatN=2MandFIFOisused.Ifthestringp1,p2,…,pNisrepeatedthreetimes,thenthenumberofpagefaultsisA)N/2B)NC)2ND)3N(61)Chang,TianandAnarethreeusersofthesystem.ChangandAnareinthesamegroup.TianisaSuperUser.Whichofthefollowingrightsisinconsistentwiththegivenpolicies?A)TianhasW(write)accesstoAn'sMailfilesB)TianhasE(execute)accesstoAn'sMailfilesC)ChianhasR(read)accesstoAn'stextfilesD)TianhasE(execute)accesstoChang'sBinaryfiles(62)SoftwareEngineeringEconomyisaneffectivepartofsoftwareengineering,whichofthefollowingcontentistheresearchcomtentofsoftwareengineeringeconomy?Ⅰ.EstimationofsoftwaredevelopmentcostⅡ.Earn&CostanalysisofsoftwaredevelopmentⅢ.AdjustmentofsoftwaredevelopmentprogressA)ⅢonlyB)ⅡandⅢC)ⅠandⅡD)all(63)Prototypemethodisoneofthesoftwareengineeringmethodsfrequentlyused,whichofthefollowingitemisthenecessaryconditionforimplementingprototypemethod?Ⅰ.CanacquiretheuserrequirementquicklyⅡ.HavethetoolsforbuildingsoftwarefastⅢ.HaveacertainaccumulationofprototypesystemsA)ⅠonlyB)ⅠandⅡC)ⅡandⅢD)all1(64)ORACLERDBMSisadistributedDBMS.Whichofthefollowingtechniquesadaptedensureatomicityofdistributedtransaction?A)remoteprocedurecall(RPC)B)Two_phasescommit(2PC)C)SnapshotsD)triggers(65)Inordertogetnamesofschoolboys(SEX='M')whoseage=22,fromarelationS(SNO,SNAME,SEX,AGE),whichofthefollowingexpressionsis(are)correct?Ⅰ.?sname(?sex='M'^age=22(S))Ⅱ.?sex='M'^age=22(?sname(S))A)ⅠonlyB)ⅡonlyC)ⅠandⅡD)neither(66)Inordertoimprovetheperformanceofanetworkserver,youneedtoselectbusorlocalbus.TheappropriatelocalbusisA)VESAB)PCIC)EISAD)ISA(67)IntermsofM.J.Flynn'staxonomy,thesystolicarrayfallsintoA)SISDB)MIMDC)SIMDD)MISD(68)IntheWAN,whenapoint-to-pointsubnetisused,animportantdesignissueistheroucerinterconnectionA)topologyB)computerC)serviceD)lines(69)IntheEthernetLAN,analgorithmwaschosentodynarnicallyadapttothenumberofstationstryingtosend.ItiscalledA)backwardlearningB)binaryexponentialbackoffC)spanningtreeD)CRC(70)Thetypicalfirewallconsistsoftwopacketfiltersanda(an)A)routerB)bridgeC)applicationD)server二、论述题(四个论述题可任选其一,并只选其一,多选无效,满分30分)论述题1设计一个用于管理会议室的数据库。经调查分析,得到的数据项列出如下:房间号r#CHAR(4),部门号d#CHAR(3),部门名称dnameCHAR(20),房间容量contentINT,部门主管dmanagerCHAR(8),开会日期mdateDATE,会议名称cnameCHAR(20),会议主题(subject)CHAR(80),会议类型(type),部门人数dnumINT,当前房间状态stateCHAR(1),并确定以会议室(room)信息,部门(department)信息,会议(conference)信息为实体,它们通过"开会(meeting)"联系起来。为了简化问题做如下假定:l会议以部门召开,但一个部门在同一会议室不能重复召开同一个会议。l会议室按部门借用,且不预借。l当前房间状态取值为'1'表示该会议室当前正在开会,取值为'0'表示该会议室当前未被借用。数据库概念设计的只包含主键属性的简化E-R图如下:要求:⑴数据库的逻辑结构设计:给出相应的表名、表的属性名(数据类型可省)、主键。(14分)⑵给出下列查询的SQL语句:(16分,每小题4...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

历年全国计算机数据库四级考试(2)

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部