image

编辑人: 桃花下浅酌

calendar2025-06-14

message4

visits503

2021年软件评测师 上午参考答案

一、单选题

1、CPU包括运算器、控制器等部件,其中运算器的核心部件是(  )。

A、数据总线

B、算术逻辑单元

C、状态寄存器

D、累加寄存器


2、在寄存器间接寻址方式下,操作数存放在(  )中。

A、栈空间

B、指令寄存器

C、主存单元

D、通用寄存器


3、CPU向外设(例如打印机)输出数据的速度很快,会导致外设不能及时处理收到的数据,采用(  )可解决这种工作速度不匹配的矛盾。

A、并发技术

B、缓冲技术

C、虚拟技术

D、流水技术


4、以下关于计算机系统总线的说法中,错误的是(  )。

A、地址总线宽度决定了CPU能直接访问的内存单元的个数

B、数据总线的宽度决定了在主存储器和CPU之间数据交换的效率

C、地址总线的宽度越小,则允许直接访问主存储器的物理空间越大

D、数据总线的宽度决定了通过它能并行传递的二进制位数


5、以下关于著作权的叙述中,错误的是(  )。

A、计算机软件在我国由著作权和专利权进行双重保护

B、著作权的内容包括著作人身权和财产权

C、职务作品的著作权归属认定与该作品的创作是否属于作者的职责范围无关

D、对于受委托创作的作品,可由委托人和受托人通过合同约定其著作权的归属


6、某企业举行的一次软件设计大赛中,有甲、乙两位职员针对同一项目,按照规定的技术标准、采用相同的程序设计语言、利用相同的开发环境完成了软件开发。他们开发的软件相似,职员甲先提交,职员乙的设计构思优于甲。以下表述中,正确的是(  )。

A、职员甲享有其所设计软件的著作权,乙不享有

B、职员乙享有其所设计软件的著作权,甲不享有

C、职员甲和乙都享有各自所设计软件的著作权

D、职员甲和乙都不享有软件著作权


7、在进行软件模块设计时,有一些启发式原则,不正确的是(  )。

A、模块应具有较强的独立性,即高内聚和低耦合

B、模块的作用范围应该在其控制范围之内

C、模块的规模越小越好,便于修改和维护

D、避免或减少模块之间的病态连接


8、通常将防火墙分为内网、外网和DMZ三个区域,按照受保护程度从低到高的排列次序为 (  )。

A、内网、外网和DMZ

B、外网、DMZ和内网

C、DMZ、内网和外网

D、内网、DMZ和外网


9、专门针对后缀名为docx文件的病毒是(  )。

A、脚本病毒

B、宏病毒

C、蠕虫病毒

D、文件病毒


10、可以有效防治计算机病毒的策略是(  )。

A、部署防火墙

B、部署入侵检测系统

C、安装并及时升级杀毒软件

D、定期备份数据文件


11、已知二进制正整数X=1010111,若码长为8,则[-X]补码表示为(  )。

A、01010111

B、11010111

C、10101001

D、10101000


12、某DRAM芯片的存储容量为512K*16位,则该芯片的地址线和数据线宽度分别为(   )。

A、9,16

B、19,16

C、10,16

D、512,16


13、一个程序的控制流图中有15个节点,19条边,在测试用例数最少的情况下,确保程序中每个可执行语句至少执行一次所需要的测试用例数的上限是(  )。

A、4

B、5

C、6

D、7


14、在操作系统进程管理中,若进程P运行的时间片到了,则意味着(  )。

A、P将进入等待队列

B、P的优先级变为最高

C、P将进入就绪队列

D、P从等待队列中被唤醒


二、完形类单选题

15、假设系统中有进程Pi(i=1,2,3,4),资源Rj(j=1,2,3),且资源R1、R2、R3的可用数分别为2、3、2。系统的进程资源图如下图所示,当有向边由Pi指向Rj时,表示进程Pi申请一个资源Rj;当有向边由Rj指向Pi时,表示将一个资源Rj分配给进程Pi。如果进程申请的资源得不到满足,则该进程处于等待状态;否则该进程处于非等待状态。该图表明(1)。对该进程资源图可以进行化简,其正确的化简顺序为(2)。(注:化简是指图中的进程得到所需资源,可运行完毕并释放所占用的资源)。

A、P1为非等待状态,P2、P3和P4为等待状态

B、P1、P3和P4为等待状态,P2为非等待状态

C、P1、P2和P3为等待状态,P4为非等待状态

D、P1、P2和P4为等待状态,P3为非等待状态


16、假设系统中有进程Pi(i=1,2,3,4),资源Rj(j=1,2,3),且资源R1、R2、R3的可用数分别为2、3、2。系统的进程资源图如下图所示,当有向边由Pi指向Rj时,表示进程Pi申请一个资源Rj;当有向边由Rj指向Pi时,表示将一个资源Rj分配给进程Pi。如果进程申请的资源得不到满足,则该进程处于等待状态;否则该进程处于非等待状态。该图表明(1)。对该进程资源图可以进行化简,其正确的化简顺序为(2)。(注:化简是指图中的进程得到所需资源,可运行完毕并释放所占用的资源)。

A、P1->P2->P3->P4

B、P2->P3->P4->P1

C、P3->P4->P2->P1

D、P4->P3->P2->P1


三、单选题

17、以下关于C语言程序与Python语言程序的叙述中,正确的是(  )。

A、C程序通过编译方式运行,Python程序通过解释方式运行

B、C程序通过解释方式运行,Python程序通过编译方式运行

C、C程序和Python程序都通过编译方式运行

D、C程序和Python程序都通过解释方式运行


18、在C程序中表示关系式x≤y≤z的正确表达式是(   )。

A、x≤y≤z

B、x<=y<=z

C、(x≤y) && (y≤z)

D、(x<=y)&&(y<=z)


19、若某C程序中有数组a的定义如下,则元素a[2][2]的值是(  )。

int a[ ][3]={{0,1,2},{3,4,5},{6,7},{0}};


A、0

B、2

C、4

D、5


20、在某C程序中有如下程序段:int n=10; while(n=0) --n;以下关于该程序段的叙述中,正确的是(  )。

A、循环体语句“--n;”执行10次

B、循环体语句“--n;”执行0次

C、该 while 语句会执行无穷多次

D、该 while 语句存在语法错误


21、在面向对象方法中,现实世界中的每个实体都看作是对象(如电视机、学生等),并为对象定义对应的类。对于电话、移动电话、华为Mate手机、小米手机等,可将它们对应的类用(  )关系来合理组织。

A、组合

B、聚合

C、继承

D、关联


22、采用面向对象方法,可将订单支付设计为一般父类,支付方法设计为pay(),并针对微信支付、支付宝支付、银行卡支付等方式分别设计对应的具体子类,各自实现pay()方法,在实际支付订单时根据用户所选的支付方式调用对应类的pay()方法进行支付。面向对象语言采用(   )机制来支持pay()方法的这种调用。

A、静态绑定

B、编译器绑定

C、重载

D、动态绑定


23、进行面向对象系统分析时,必须完成的任务中不包括(  )。

A、标识类

B、刻画类层次结构

C、确定编程语言

D、表示类(对象)之间的关系


24、良好的编程习惯不包括(  )。

A、对复杂的表达式应尽量利用括号或拆分成多个表达式

B、尽量提高单个函数的代码规模以限制整个软件中的函数个数

C、尽量使用标准库函数

D、不要随意定义全局变量,尽量使用局部变量


25、某以下关于信息系统维护的叙述中,正确的是(  )。

A、系统维护的主要目标是改正错误

B、应坚持“由设计者来维护”这条原则

C、设计系统时就要考虑易于修改

D、系统维护的费用低于开发费用


26、在关系型数据库管理系统中,数据模型通常由数据结构、(  )三要素构成。

A、网状模型、关系模型

B、网状模型、面向对象模型

C、数据操纵、关系模型

D、数据操纵、完整性约束


27、以下SQL数据定义命令中,(  )命令用来定义关系模式。

A、ALTER TABLE

B、CREATE INDEX

C、CREATE TABLE

D、CREATE VIEW


28、若要将表 Emp 的插入权限赋给用户 UserA,则可采用(  )语句。

A、GRANT INSERT TO TABLE Emp ON UserA

B、GRANT INSERT ON TABLE Emp TO UserA

C、REVOKE INSERT ON TABLE Emp FROM UserA

D、REVOKE INSERT FROM TABLE Emp ON UserA


29、某高校人力资源管理系统的数据库中,教师关系模式为T(教师号,姓名,部门号,岗位,联系地址,薪资),函数依赖集F={教师号→(姓名,部门号,岗位,联系地址),岗位→薪资}。以下叙述中,正确的是(  )。

A、关系T的主键为教师号,T存在冗余

B、关系T的主键为教师号,不存在冗余

C、关系T的主键为(教师号,岗位),T存在冗余

D、关系T的主键为(教师号,岗位),不存在冗余


30、用户在电子商务网站上使用网上银行支付,必须通过(  )在Internet 与银行专用网之间进行数据交换。

A、支付网关

B、防病毒网关

C、出口路由器

D、堡垒主机


31、以太网使用的介质访问控制协议是(  )。

A、UDP

B、X.25

C、CSMA/CD

D、TCP/IP


32、在发送电子邮件时,附加多媒体数据使用的协议是(  )。

A、SMTP

B、POP

C、IMAP

D、MIME


33、软件工程的基本要素包括方法、工具和 (  )。

A、软件环境

B、硬件环境

C、过程

D、人员


34、以下关于基于构件的过程模型的叙述中,不正确的是(  )。

A、开发效率高、成本低

B、构件可以是组织内部开发的构件

C、构件可以是商品化软件构件

D、本质上是演化模型,以迭代方式构建软件


四、完形类单选题

35、下图是一个软件项目的活动图,其中顶点表示项目里程碑,连接顶点的边表示包含的活动,边上的权重表示完成该活动所需要的时间(天)。则关键路径长度为(问题1)。在其他活动正常进行的前提下,活动CF可以晚(问题2)天开始而不会影响工期。

A、17

B、18

C、19

D、20


36、下图是一个软件项目的活动图,其中顶点表示项目里程碑,连接顶点的边表示包含的活动,边上的权重表示完成该活动所需要的时间(天)。则关键路径长度为(问题1)。在其他活动正常进行的前提下,活动CF可以晚(问题2)天开始而不会影响工期。

A、0

B、1

C、2

D、3


五、单选题

37、构造分层数据流图(DFD)需要注意的问题中,不包括(  )。

A、给图中的每个数据流、加工、数据存储和外部实体适当命名

B、在图中表示出控制流

C、一个加工不适合有过多的数据流

D、要保持各层数据流图之间的平衡关系


38、在各种不同的软件需求中,(  )描述了使用软件系统要达到什么目标,如提高工作效率多少倍等。

A、业务需求

B、功能需求

C、质量需求

D、设计约束


39、模块A中的各个组成部分都是为了完成某一项具体功能而协同工作,紧密联系,不可分割,则模块A的内聚类型为(  )内聚。

A、巧合

B、逻辑

C、通信

D、功能


六、完形类单选题

40、在模型-视图-控制器(MVC)模式框架中,(1)实现与实体对象相关的业务逻辑。以下选项中,(2)不属于MVC模式框架。

A、模型

B、视图

C、控制器

D、数据


41、在模型-视图-控制器(MVC)模式框架中,(1)实现与实体对象相关的业务逻辑。以下选项中,(2)不属于MVC模式框架。

A、Struts

B、Spring

C、Hibernate

D、ZF


七、单选题

42、在风险管理中,通常需要进行风险监测,其目的不包括(  )。

A、主动避免风险

B、评估所预测的风险是否发生

C、保证正确实施了风险缓解步骤

D、收集用于后续进行风险分析的信息


43、在软件维护阶段,修改了原来程序中遗漏处理文件中最后一个记录的问题,则该维护类型为(  )维护。

A、正确性

B、适应性

C、完善性

D、预防性


44、栈是一类重要的线性数据结构,其插入和删除元素操作在(  )进行。

A、栈底

B、栈顶

C、指定位置

D、任意位置


45、软件配置管理内容不包括(  )。

A、软件配置项

B、版本控制

C、团队组织

D、变更控制


46、软件质量模型中,功能性是指在指定条件下使用时,产品或系统提供满足明确或隐含要求的程度,其子特性不包括(  )。

A、正确性

B、易学性

C、完备性

D、适合性


47、软件能力成熟度模型(CMM)将软件过程改进分为5个成熟度级别,其中(  )指定了软件过程和产品质量的详细度量标准。

A、优化级

B、已管理级

C、已定义级

D、可重复级


八、完形类单选题

48、在软件系统分析与设计中,类图用于对系统的静态设计视图建模,其主要应用场合不包括(1)。下列类图中,Company和Department的关系为(2),Employee和EmployeeRecord的关系为(3),在代码实现中,它们之间关系描述不正确的是(4)。

A、对系统的词汇建模

B、对简单的协作建模

C、对逻辑数据库模式建模

D、对系统的语境建模


49、在软件系统分析与设计中,类图用于对系统的静态设计视图建模,其主要应用场合不包括(1)。下列类图中,Company和Department的关系为(2),Employee和EmployeeRecord的关系为(3),在代码实现中,它们之间关系描述不正确的是(4)。

A、继承

B、关联

C、组合

D、依赖


50、在软件系统分析与设计中,类图用于对系统的静态设计视图建模,其主要应用场合不包括(1)。下列类图中,Company和Department的关系为(2),Employee和EmployeeRecord的关系为(3),在代码实现中,它们之间关系描述不正确的是(4)。

A、关联

B、继承

C、组合

D、依赖


51、在软件系统分析与设计中,类图用于对系统的静态设计视图建模,其主要应用场合不包括(1)。下列类图中,Company和Department的关系为(2),Employee和EmployeeRecord的关系为(3),在代码实现中,它们之间关系描述不正确的是(4)。

A、EmployeeRecord是Employee的一个属性

B、EmployeeRecord是Employee的某个方法的参数

C、EmployeeRecord是Employee的某个方法的返回值

D、EmployeeRecord是Employee的某个方法中的一个局部变量


九、单选题

52、以下关于软件测试对象的叙述中,不正确的是(  )。

A、程序是软件测试的对象

B、开发文档是软件测试的对象

C、开发标准是软件测试的对象

D、数据库中数据是软件测试的对象


53、以下不属于单元测试中路径测试内容的是(  )。

A、错误的初始化

B、精度不够

C、发生的错误描述难以理解

D、表达式符号不正确


54、以下关于软件缺陷的叙述中,不正确的是(  )。

A、软件问题、错误以及因软件引起的异常、故障、失效、偏差都属于缺陷

B、软件缺陷可能是显现的,也可能是隐藏的

C、软件缺陷会导致软件产品在某种程度上无法满足用户需求

D、软件界面或操作不符合使用者习惯不属于缺陷


55、以下关于软件测试原则的叙述中,不正确的是(  )。

A、不同阶段的测试有不同的阶段性目标

B、越早进行的测试,所花费的代价也越高

C、应当避免开发工程师测试自己的程序

D、对软件进行完全测试是不可能的


56、以下属于缺陷报告的是(  )。

①缺陷编号②对应的用例编号③编写时间④缺陷描述⑤严重级别⑥优先级别

A、①④

B、①②④

C、①②④⑤⑥

D、①②③④⑤⑥


57、以下不属于测试用例的是(  )。

A、输入数据

B、输出数据

C、预期结果

D、执行条件


58、以下关于软件静态测试中静态分析的叙述中,不正确的是(  )。

A、通过数据流分析发现变量重复定义等缺陷

B、通过接口分析发现模块之间接口是否一致等缺陷

C、通过表达式分析发现数组下标越界等缺陷

D、通过控制流分析发现执行速度过慢等缺陷


59、以下关于测试方法选择的叙述中,不正确的是(  )。

A、边界值分析法对于发现错误的能力最强,应尽量选择

B、等价类划分法用较少的用例覆盖输入/输出空间,可以在必要时作为补充

C、如果输入条件存在组合,可以使用场景法

D、可以用基于经验的错误推测法补充一些用例


60、以下不属于软件兼容性测试内容的是(  )。

A、硬件兼容性

B、操作系统兼容性

C、数据库兼容性

D、开发工具兼容性


61、以下关于决策表法的叙述中,不正确的是(  )。

A、能够将复杂的问题按照各种可能组合把大部分情况列举出来

B、适合于针对不同逻辑条件的组合值分别执行不同的操作的数据处理问题

C、包括条件桩、条件项、动作桩和动作项

D、可以简化合并相似规则


62、对于逻辑表达式(version == Z_NULL || version[0] != ZLIB_VERSION[0] || stream_size != (int)(sizeof(z_stream))), 需要( )个测试用例才能完成分支条件组合测试。

A、2

B、4

C、8

D、16


63、以下关于性能效率测试目的的叙述中,不正确的是(  )。

A、获得系统的性能表现情况

B、分析系统的功能缺陷

C、发现并验证、修改影响系统性能的缺陷

D、为系统性能优化提供数据参考


64、以下不属于测试过程管理中过程的是(  )。

A、测试策划过程

B、测试设计和实现过程

C、测试执行过程

D、静态测试过程


65、以下关于自动化测试的叙述中,不正确的是(  )。

A、可以提高测试效率

B、脚本维护成本较低

C、可以更好地利用资源

D、容易偏离原定测试目标


66、以下关于文档测试的叙述中,不正确的是(  )。

A、尽量使用文字描述,少使用图和表

B、档中的功能描述要与实际软件中的功能一致,不能夸大

C、文档描述要便于用户阅读,能让用户清楚地知道如何操作

D、文档中功能的描述要完整准确,不能缺项或有歧义


67、(  )不属于探索性测试的测试风格。

A、预感

B、猜错

C、模型

D、示例


68、用户账户安全测试是软件安全性测试的重要方面,以下不属于用户账户安全测试的是(  )。

A、账户是否绑定邮箱或者手机

B、用户名强度是否足够

C、密码是否定期更换

D、密码是否可见、可复制


69、以下不属于数据库安全测试的是(  )。

A、敏感数据是否加密

B、存储数据是否完整

C、数据值是否正确

D、数据是否可备份和恢复


70、以下不属于软件可靠性测试的是(  )。

A、易学性

B、成熟性

C、可用性

D、容错性


十、完形类单选题

71、DevOps is a continuous simplification process of maintaining a delicate balance among functionality, usability and security of a software both in terms of its development and operations. Software engineering is the application of diverse engineering approaches towards the development of software.

The roles and responsibilities of DevOps and software development overlap in many areas, so it is easier to get confused between the two. Let's look at this comparison in terms of work roles.

One is that of a software engineer and the other is a DevOps engineer. The biggest difference is in their(1). Software engineers focus on how well the computer software fits the needs of the client while a DevOps engineer has a broader focus that includes software development, how the software is deployed and providing(2)support through the cloud while the software is continually(3).

A software engineer creates computer programs for people to use based upon their security and functionality needs. A DevOps engineer also works on computer applications, but manages the building, deployment and operation as a(4) automated process. Software engineers often work separately from the operations side of a business. They create the software a business client needs and then monitor the performance of their software products to determine if upgrades are necessary or if more serious improvements are needed. DevOps engineers work with the operational side of a business and manage the workflow to (5) software to smoothly function with automated processes. Both professions require knowledge of computer programming languages.

A、focus

B、process

C、goal

D、function


72、DevOps is a continuous simplification process of maintaining a delicate balance among functionality, usability and security of a software both in terms of its development and operations. Software engineering is the application of diverse engineering approaches towards the development of software.

The roles and responsibilities of DevOps and software development overlap in many areas, so it is easier to get confused between the two. Let's look at this comparison in terms of work roles.

One is that of a software engineer and the other is a DevOps engineer. The biggest difference is in their(1). Software engineers focus on how well the computer software fits the needs of the client while a DevOps engineer has a broader focus that includes software development, how the software is deployed and providing(2)support through the cloud while the software is continually(3).

A software engineer creates computer programs for people to use based upon their security and functionality needs. A DevOps engineer also works on computer applications, but manages the building, deployment and operation as a(4) automated process. Software engineers often work separately from the operations side of a business. They create the software a business client needs and then monitor the performance of their software products to determine if upgrades are necessary or if more serious improvements are needed. DevOps engineers work with the operational side of a business and manage the workflow to (5) software to smoothly function with automated processes. Both professions require knowledge of computer programming languages.

A、developing

B、deploying

C、training

D、operational


73、DevOps is a continuous simplification process of maintaining a delicate balance among functionality, usability and security of a software both in terms of its development and operations. Software engineering is the application of diverse engineering approaches towards the development of software.

The roles and responsibilities of DevOps and software development overlap in many areas, so it is easier to get confused between the two. Let's look at this comparison in terms of work roles.

One is that of a software engineer and the other is a DevOps engineer. The biggest difference is in their(1). Software engineers focus on how well the computer software fits the needs of the client while a DevOps engineer has a broader focus that includes software development, how the software is deployed and providing(2)support through the cloud while the software is continually(3).

A software engineer creates computer programs for people to use based upon their security and functionality needs. A DevOps engineer also works on computer applications, but manages the building, deployment and operation as a(4) automated process. Software engineers often work separately from the operations side of a business. They create the software a business client needs and then monitor the performance of their software products to determine if upgrades are necessary or if more serious improvements are needed. DevOps engineers work with the operational side of a business and manage the workflow to (5) software to smoothly function with automated processes. Both professions require knowledge of computer programming languages.

A、developed 

B、functional

C、constructed

D、secure


74、DevOps is a continuous simplification process of maintaining a delicate balance among functionality, usability and security of a software both in terms of its development and operations. Software engineering is the application of diverse engineering approaches towards the development of software.

The roles and responsibilities of DevOps and software development overlap in many areas, so it is easier to get confused between the two. Let's look at this comparison in terms of work roles.

One is that of a software engineer and the other is a DevOps engineer. The biggest difference is in their(1). Software engineers focus on how well the computer software fits the needs of the client while a DevOps engineer has a broader focus that includes software development, how the software is deployed and providing(2)support through the cloud while the software is continually(3).

A software engineer creates computer programs for people to use based upon their security and functionality needs. A DevOps engineer also works on computer applications, but manages the building, deployment and operation as a(4) automated process. Software engineers often work separately from the operations side of a business. They create the software a business client needs and then monitor the performance of their software products to determine if upgrades are necessary or if more serious improvements are needed. DevOps engineers work with the operational side of a business and manage the workflow to (5) software to smoothly function with automated processes. Both professions require knowledge of computer programming languages.

A、single

B、whole

C、continuous

D、independent


75、DevOps is a continuous simplification process of maintaining a delicate balance among functionality, usability and security of a software both in terms of its development and operations. Software engineering is the application of diverse engineering approaches towards the development of software.

The roles and responsibilities of DevOps and software development overlap in many areas, so it is easier to get confused between the two. Let's look at this comparison in terms of work roles.

One is that of a software engineer and the other is a DevOps engineer. The biggest difference is in their(1). Software engineers focus on how well the computer software fits the needs of the client while a DevOps engineer has a broader focus that includes software development, how the software is deployed and providing(2)support through the cloud while the software is continually(3).

A software engineer creates computer programs for people to use based upon their security and functionality needs. A DevOps engineer also works on computer applications, but manages the building, deployment and operation as a(4) automated process. Software engineers often work separately from the operations side of a business. They create the software a business client needs and then monitor the performance of their software products to determine if upgrades are necessary or if more serious improvements are needed. DevOps engineers work with the operational side of a business and manage the workflow to (5) software to smoothly function with automated processes. Both professions require knowledge of computer programming languages.

A、Develop

B、integrate

C、analyse

D、maintain


喵呜刷题:让学习像火箭一样快速,快来微信扫码,体验免费刷题服务,开启你的学习加速器!

创作类型:
原创

本文链接:2021年软件评测师 上午参考答案

版权声明:本站点所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明文章出处。
分享文章
share