2022年04月17日来源:信管网 作者:cnitpm
软件设计师当天每日一练试题地址:www.cnitpm.com/exam/ExamDay.aspx?t1=4
往期软件设计师每日一练试题汇总:www.cnitpm.com/class/27/e4_1.html
软件设计师每日一练试题(2022/4/16)在线测试:www.cnitpm.com/exam/ExamDay.aspx?t1=4&day=2022/4/16
点击查看:更多软件设计师习题与指导
软件设计师每日一练试题内容(2022/4/16)
试题1
风险预测从两个方面评估风险,即风险发生的可能性以及( )
A、风险产生的原因
B、风险监控技术
C、风险能否消除
D、风险发生所产生的后果
查看答案
试题参考答案:D
试题解析与讨论:www.cnitpm.com/st/82252832.html
试题2
( )设计模式将一个请求封装为一个对象,从而使得可以用不同的请求对客户进行参数化,对请求排队或记录请求日志,以及支持可撤销的操作。
A.命令(Command)
B.责任链(Chain of Responsibility)
C.观察者(Observer)
D.策略(Strategy)
查看答案
试题参考答案:A
试题3
两个矩阵 Am*n 和 Bn*p 相乘,用基本的方法进行,则需要的乘法次数为 m*n*p。多个矩阵相乘满足结合律,不同的乘法顺序所需要的乘法次数不同。考虑采用动态规划方法确定Mi,M(i+i),…,Mj 多个矩阵连乘的最优顺序,即所需要的乘法次数最少。最少乘法次数用 m[i,j]表示,其递归式定义为:
其中 i、 j 和 k 为矩阵下标,矩阵序列中 Mi 的维度为(Pi-1.)*Pi 采用自底向上的方法:实现该算法来确定 n 个矩阵相乘的顺序,其时间复杂度为( )。若四个矩阵 M1、 M2、 M3、M4相乘的维度序列为 2、 6、 3、 10、3,采用上述算法求解,则乘法次数为( )。
64:
A.O(N2)
B.O(N2Lgn)
C.O(N3)
D.O(n3lgn)
65:
A.156
B.144
C.180
D.360
查看答案
试题参考答案:C、B
试题4
在面向对象技术中,不同的对象在收到同一消息时可以产生完全不同的结果,这一现象称为(39),它由(40)机制来支持。利用类的层次关系,把具有通用功能的消息存放在高层次,而不同的实现这一功能的行为放在较低层次,在这些低层次上生成的对象能够给通用消息以不同的响应。查看答案
试题参考答案:D、B
试题解析与讨论:www.cnitpm.com/st/380553614.html
试题5
Traditional structured analysis techniques focus upon the flow of (1)within a
system. Object-oriented analysis emphasizes the building of real-world models. It examines
requirements from the perspective of the classes and objects found in the vocabulary of
the(2)domain.
Traditional system design method emphasizes the proper and effective structure of a
complex system. Object-oriented design method encompasses the process of object-oriented
decomposition and a (3) for depicting both logical and physical as well as static and
dynamic models of the system under design.
Object-oriented programming is a method of implementation in which programs are organized
as cooperative collections of objects, each of which represents an (4)of some class, and whose classes are all members of a hierarchy of classes united via (5) relationships.
(1)A、control
B、program
C、data
D、reference
(2)A、problem
B、solution
C、data
D、program
(3)A、mark
B、picture
C、symbol
D、notation
(4)A、instance
B、example
C、existence
D、implementation
(5)A、control
B、inheritance
C、inference
D、connection
查看答案
试题参考答案:C、A、D、A、B
试题解析与讨论:www.cnitpm.com/st/76622638.html
试题6
两个同符号的数相加或异符号的数相减,所得结果的符号位SF和进位标志CF进( )运算为1时,表示运算的结果产生溢出。
A、与
B、或
C、与非
D、异或
查看答案
试题参考答案:D
试题解析与讨论:www.cnitpm.com/st/78162691.html
试题7
在某企业的营销管理系统设计阶段,属性“员工”在考勤管理子系统中被称为“员工”,而在档案管理子系统中被称为“职工”,这类冲突称为 ( ) 冲突。
A、语义
B、结构
C、属性
D、命名
查看答案
试题参考答案:D
试题解析与讨论:www.cnitpm.com/st/83602878.html
试题8
欲动态地给一个对象添加职责,宜采用()模式。
A.适配器(Adapter)
B.桥接(Bridge)
C.组合(Composite)
D.装饰器(Decorator)
查看答案
试题参考答案:D
试题解析与讨论:www.cnitpm.com/st/247065428.html
试题9
设f表示某个二元逻辑运算符,PfQ的真值表如下表所示,则PfQ等价于( )。
A、P∨┐Q
B、┐P∧Q
C、┐P∧┐Q
D、┐P∨┐Q
查看答案
试题参考答案:B
试题解析与讨论:www.cnitpm.com/st/76572636.html
试题10
使用()DPI的分辨率扫描一幅2×4英寸的照片,可以得到一幅300×600像素的图像。
A.100
B.150
C.300
D.600
查看答案
试题参考答案:B
温馨提示:因考试政策、内容不断变化与调整,信管网提供的以上信息仅供参考,如有异议,请考生以权威部门公布的内容为准!
相关推荐