《2021重庆软件水平考试考试真题卷(4).docx》由会员分享,可在线阅读,更多相关《2021重庆软件水平考试考试真题卷(4).docx(27页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、2021重庆软件水平考试考试真题卷(4)本卷共分为1大题50小题,作答时间为180分钟,总分100分,60分及格。一、单项选择题(共50题,每题2分。每题的备选项中,只有一个最符合题意) 1.以下软件质量保证的目标中,()是错误的。A通过监控软件开发过程保证产品质量B保证开发出来的软件和软件开发过程符合相应标准与规程,不存在软件缺陷C保证软件产品、软件过程中存在的问题得到处理,必要时将问题反映给高级管理者D确保项目组制定的计划、标准和规程适合项目组需要,同时满足评审和审计需要2.以下控制流图的圈复杂度V(g)为()A4B6C8D103.关于白盒测试的测试用例设计方法叙述,正确的是()A完成SC
2、(语句判定)所需的测试用例数目一定多于完成DC(逻辑判定)所需的测试用例数目B达到100%CC(条件判定)要求就一定能够满足100%SC的要求C达到100%CDC(条件判定组合覆盖)要求就一定能够满足100%CC的要求D任何情况下,都可以达到100%路径覆盖的要求4.Web应用系统负载压力测试中,()不是衡量业务执行效率的指标。A并发请求数B每秒点击率C交易执行吞吐量D交易执行响应时间5.能够主动采集信息,分析网络攻击行为和误操作的实时保护策略是指()A安全日志B入侵检测C隔离防护D防火墙6.软件测试的基本方法包括白盒测试和黑盒测试方法,以下关于二者之间关联的叙述,错误的是()A黑盒测试与白盒
3、测试是设计测试用例的两种基本方法B在集成测试阶段是采用黑盒测试与白盒测试相结合的方法C针对相同的系统模块,执行黑盒测试和白盒测试对代码的覆盖率都能够达到100%D应用系统负载压力测试一般采用黑盒测试方法7.针对下列程序段,需要()个测试用例可以满足分支覆盖的要求。int IsLeap(int year)if (year % 4=0)if ( (year % 100=0)if (year % 400=0)leap=1;elseleap=0;elseleap=l;elseleap=0;return leap;A3B4C6D78.()不属于网站渗透测试的内容。A防火墙日志审查B防火墙远程探测与攻击C
4、跨站攻击DSQL注入9.为验证某音乐会订票系统是否能够承受大量用户同时访问,测试工程师一般采用()测试工具。A故障诊断B代码C负载压力D网络仿真10.黑盒测试中,()是根据输出对输入的依赖关系设计测试用例。A基本路径法B等价类C因果图D功能图法11.下列设备和技术中,()不属于数据安全策略范畴。ASANB异地容灾C数字证书D双机容错12.以下对用户口令进行限定的措施中,()对提高安全性来说是无用的。A最小改变口令的时限B最短口令长度C口令不能全为数字或小写字母之外的字符D首次登录必须改变口令13.集线器是一种物理层联网设备,下面有关集线器的叙述中,错误的是()A集线器没有自动寻址能力B连接在集
5、线器上的故障设备不会影响其他节点通信C集线器可以隔离广播风暴D连接在集线器上的所有节点构成一个冲突域14.For nearly ten years, the Unified Modeling Language (UML) has been the industry standard for visualizing, specifying, constructing, and documenting the ()of a software-intensive system. As the()standard modeling language, the UML facilitates commu
6、nication and reduces confusion among project(). The recent standardization of UML 2.0 has further extended the language’s scope and viability. Its inherent expressiveness allows users to()everything from enterprise information systems and distributed Web-based applications to real-time embedde
7、d systems.The UML is not limited to modeling software. In fact, it is expressive enough to model()systems, such as workflow in the legal system, the structure and behavior of a patient healthcare system, software engineering in aircraft combat systems, and the design of hardware.To understand the UM
8、L, you need to form a conceptual model of the language, and this requires learning three major elements: the UML’s basic building blocks, the rules that dictate how those building blocks may be put together, and some common mechanisms that apply throughout the UML.and documenting the ()of a so
9、ftware-intensive systemAclassesBcomponentsCsequencesDartifacts15.用户访问某Web网站,浏览器上显示“HTTP-404”错误,则故障原因是()A默认路由器配置不当B所请求当前页面不存在CWeb服务器内部出错D用户无权访问16.()不属于用户认证机制。A用户名和密码B数字证书CSSLDUser Key17.在Windows系统中设置默认路由的作用是()A当主机接收到一个访问请求时首先选择的路由B当没有其他路由可选时最后选择的路由C访问本地主机的路由D必须选择的路由18.For nearly ten years, the Unifie
10、d Modeling Language (UML) has been the industry standard for visualizing, specifying, constructing, and documenting the ()of a software-intensive system. As the()standard modeling language, the UML facilitates communication and reduces confusion among project(). The recent standardization of UML 2.0
11、 has further extended the language’s scope and viability. Its inherent expressiveness allows users to()everything from enterprise information systems and distributed Web-based applications to real-time embedded systems.The UML is not limited to modeling software. In fact, it is expressive enou
12、gh to model()systems, such as workflow in the legal system, the structure and behavior of a patient healthcare system, software engineering in aircraft combat systems, and the design of hardware.To understand the UML, you need to form a conceptual model of the language, and this requires learning th
13、ree major elements: the UML’s basic building blocks, the rules that dictate how those building blocks may be put together, and some common mechanisms that apply throughout the UML.As the()standard modeling language.ArealBlegalCde factoDillegal19.For nearly ten years, the Unified Modeling Langu
14、age (UML) has been the industry standard for visualizing, specifying, constructing, and documenting the ()of a software-intensive system. As the()standard modeling language, the UML facilitates communication and reduces confusion among project(). The recent standardization of UML 2.0 has further ext
15、ended the language’s scope and viability. Its inherent expressiveness allows users to()everything from enterprise information systems and distributed Web-based applications to real-time embedded systems.The UML is not limited to modeling software. In fact, it is expressive enough to model()sys
16、tems, such as workflow in the legal system, the structure and behavior of a patient healthcare system, software engineering in aircraft combat systems, and the design of hardware.To understand the UML, you need to form a conceptual model of the language, and this requires learning three major elemen
17、ts: the UML’s basic building blocks, the rules that dictate how those building blocks may be put together, and some common mechanisms that apply throughout the UML.the UML facilitates communication and reduces confusion among project()AinvestorsBdevelopersCdesignersDstakeholders20.For nearly t
18、en years, the Unified Modeling Language (UML) has been the industry standard for visualizing, specifying, constructing, and documenting the ()of a software-intensive system. As the()standard modeling language, the UML facilitates communication and reduces confusion among project(). The recent standa
19、rdization of UML 2.0 has further extended the language’s scope and viability. Its inherent expressiveness allows users to()everything from enterprise information systems and distributed Web-based applications to real-time embedded systems.The UML is not limited to modeling software. In fact, i
20、t is expressive enough to model()systems, such as workflow in the legal system, the structure and behavior of a patient healthcare system, software engineering in aircraft combat systems, and the design of hardware.To understand the UML, you need to form a conceptual model of the language, and this
21、requires learning three major elements: the UML’s basic building blocks, the rules that dictate how those building blocks may be put together, and some common mechanisms that apply throughout the UML.Its inherent expressiveness allows users to()everything from enterprise information systems an
22、d distributed Web-based applications to real-time embedded systems.AmodelBcodeCtestDmodify21.For nearly ten years, the Unified Modeling Language (UML) has been the industry standard for visualizing, specifying, constructing, and documenting the ()of a software-intensive system. As the()standard mode
23、ling language, the UML facilitates communication and reduces confusion among project(). The recent standardization of UML 2.0 has further extended the language’s scope and viability. Its inherent expressiveness allows users to()everything from enterprise information systems and distributed Web
24、-based applications to real-time embedded systems.The UML is not limited to modeling software. In fact, it is expressive enough to model()systems, such as workflow in the legal system, the structure and behavior of a patient healthcare system, software engineering in aircraft combat systems, and the
25、 design of hardware.To understand the UML, you need to form a conceptual model of the language, and this requires learning three major elements: the UML’s basic building blocks, the rules that dictate how those building blocks may be put together, and some common mechanisms that apply througho
26、ut the UML.it is expressive enough to model()systemsAnon-hardwareBnon-softwareChardwareDsoftware22.将Students表的插入权限赋予用户UserA,并允许其将该权限授予他人,应使用的SQL语句为:GRANT (1) TABLE Students TO UserA (2) ;(1)应选入()。AUPDATEBUPDATE ONCINSERTDINSERTON23.某企业生产流水线M共有两位生产者,生产者甲不断地将其工序上加工的半成品放入半成品箱,生产者乙从半成品箱取出继续加工。假设半成品箱可存放n
27、件半成品,采用PV操作实现生产者甲和生产者乙的同步可以设置三个信号量S、S1和S2,其同步模型如下图所示。信号量S是一个互斥信号量,初值为 (6) ;S1、S2的初值分别为 (7) 。(6)应选入()。A0B1CnD任意正整数24.若有关系R (A,B,C,D)和S(C,D,E),则与表达式π3,4,7(σ45(R×S)等价的SQL语句如下:SELECT (3) FROM (4) WHERE (5) ;(3)应选入()。AA,B,C,D,EBC,D,ECR.A, R.B,R.C, R.D, S.EDR.C,R.D,S.E25.TCP是互联网中的 (12) 协议,使
28、用 (13) 次握手协议建立连接。(12)应选入()。A传输层B网络层C会话层D应用层26.Extreme Programming (XP) is a discipline of software development with (14) of simplicity, communication, feedback and courage. Successful software development is a teameffort - not just the development team, but the larger team consisting of customer,man
29、agement and developers. XP is a simple process that brings these people together andhelps them to succeed together. XP is aimed primarily at object-oriented projects using teamsof a dozen or fewer programmers in one location. The principles of XP apply to any (15) project that needs to deliver quali
30、ty software rapidly and flexibly.An XP project needs a(an) (16) customer to provide guidance. Customers, programmers, managers, are all working (17) to build the system that’sneedeD Customers - those who have software that needs to be developed - will learn simple,effective ways to (18) what t
31、hey need, to be sure that they are getting what they need,and to steer the project to success.(14)应选入()。AimportanceBkeysCrolesDvalues27.若某文件系统的目录结构如下图所示,假设用户要访问文件f1.java,且当前工作目录为Program,则该文件的全文件名为 (8) ,其相对路径为 (9) 。(8)应选入()。Af1.javaBDocumentJava-progf1.javaCD:ProgramJava-progf1.javaDProgramUava-progf
32、1.java28.A类网络是很大的网络,每个A类网络中可以有 (10) 个网络地址。实际使用中必须把A类网络划分为子网,如果指定的子网掩码为255.255.192.0,则该网络被划分为 (11) 个子网。(10)应选入()。A.210B.212C.220D.22429.若有关系R (A,B,C,D)和S(C,D,E),则与表达式π3,4,7(σ45(R×S)等价的SQL语句如下:SELECT (3) FROM (4) WHERE (5) ;(4)应选入()。ARBSCR,SDRS30.将Students表的插入权限赋予用户UserA,并允许其将该权限授予他人,应使
33、用的SQL语句为:GRANT (1) TABLE Students TO UserA (2) ;(2)应选入()。AFORALLBPUBLICCWITH CHECK OPTIONDWITH GRANT OPTION31.某企业生产流水线M共有两位生产者,生产者甲不断地将其工序上加工的半成品放入半成品箱,生产者乙从半成品箱取出继续加工。假设半成品箱可存放n件半成品,采用PV操作实现生产者甲和生产者乙的同步可以设置三个信号量S、S1和S2,其同步模型如下图所示。信号量S是一个互斥信号量,初值为 (6) ;S1、S2的初值分别为 (7) 。(7)应选入()。An、0B0、nC1、nDn、132.TC
34、P是互联网中的 (12) 协议,使用 (13) 次握手协议建立连接。(13)应选入()。A1B2C3D433.A类网络是很大的网络,每个A类网络中可以有 (10) 个网络地址。实际使用中必须把A类网络划分为子网,如果指定的子网掩码为255.255.192.0,则该网络被划分为 (11) 个子网。(11)应选入()。A128B256C1024D204834.Extreme Programming (XP) is a discipline of software development with (14) of simplicity, communication, feedback and cou
35、rage. Successful software development is a teameffort - not just the development team, but the larger team consisting of customer,management and developers. XP is a simple process that brings these people together andhelps them to succeed together. XP is aimed primarily at object-oriented projects u
36、sing teamsof a dozen or fewer programmers in one location. The principles of XP apply to any (15) project that needs to deliver quality software rapidly and flexibly.An XP project needs a(an) (16) customer to provide guidance. Customers, programmers, managers, are all working (17) to build the syste
37、m that’sneedeD Customers - those who have software that needs to be developed - will learn simple,effective ways to (18) what they need, to be sure that they are getting what they need,and to steer the project to success.(15)应选入()。Asmall-sizedBmoderately-sizedClarge-sizedDhuge-sized35.若某文件系统的目
38、录结构如下图所示,假设用户要访问文件f1.java,且当前工作目录为Program,则该文件的全文件名为 (8) ,其相对路径为 (9) 。(9)应选入()。AJava-progBJava-progCProgramJava-progDProgramJava-prog36.若有关系R (A,B,C,D)和S(C,D,E),则与表达式π3,4,7(σ45(R×S)等价的SQL语句如下:SELECT (3) FROM (4) WHERE (5) ;(5)应选入()。ADCBR.DS.CCR.DR.CDS.DR.C37.Extreme Programming (XP) i
39、s a discipline of software development with (14) of simplicity, communication, feedback and courage. Successful software development is a teameffort - not just the development team, but the larger team consisting of customer,management and developers. XP is a simple process that brings these people
40、together andhelps them to succeed together. XP is aimed primarily at object-oriented projects using teamsof a dozen or fewer programmers in one location. The principles of XP apply to any (15) project that needs to deliver quality software rapidly and flexibly.An XP project needs a(an) (16) customer
41、 to provide guidance. Customers, programmers, managers, are all working (17) to build the system that’sneedeD Customers - those who have software that needs to be developed - will learn simple,effective ways to (18) what they need, to be sure that they are getting what they need,and to steer t
42、he project to success.(16)应选入()。Apart-timeBcasualCseldomDfull-time38.Extreme Programming (XP) is a discipline of software development with (14) of simplicity, communication, feedback and courage. Successful software development is a teameffort - not just the development team, but the larger team con
43、sisting of customer,management and developers. XP is a simple process that brings these people together andhelps them to succeed together. XP is aimed primarily at object-oriented projects using teamsof a dozen or fewer programmers in one location. The principles of XP apply to any (15) project that
44、 needs to deliver quality software rapidly and flexibly.An XP project needs a(an) (16) customer to provide guidance. Customers, programmers, managers, are all working (17) to build the system that’sneedeD Customers - those who have software that needs to be developed - will learn simple,effect
45、ive ways to (18) what they need, to be sure that they are getting what they need,and to steer the project to success.(17)应选入()。AtogetherBby themselvesCseparatelyDalone39.Extreme Programming (XP) is a discipline of software development with (14) of simplicity, communication, feedback and courage. Suc
46、cessful software development is a teameffort - not just the development team, but the larger team consisting of customer,management and developers. XP is a simple process that brings these people together andhelps them to succeed together. XP is aimed primarily at object-oriented projects using team
47、sof a dozen or fewer programmers in one location. The principles of XP apply to any (15) project that needs to deliver quality software rapidly and flexibly.An XP project needs a(an) (16) customer to provide guidance. Customers, programmers, managers, are all working (17) to build the system that’sneedeD Customers - those who have software that needs to be developed - will learn simple,effective ways to (18) what they need, to be sure that they are gett