2025年05月22日来源:信管网 作者:cnitpm
软件设计师当天每日一练试题地址:www.cnitpm.com/exam/ExamDay.aspx?t1=4
往期软件设计师每日一练试题汇总:www.cnitpm.com/class/27/e4_1.html
软件设计师每日一练试题(2025/5/21)在线测试:www.cnitpm.com/exam/ExamDay.aspx?t1=4&day=2025/5/21
点击查看:更多软件设计师习题与指导
软件设计师每日一练试题内容(2025/5/21)
试题1
It should go without saying that the focus of UML is modeling. However, what that means, exactly, can be an open-ended question. (1) is a means to capture ideas, relationships,decisions, and requirements in a well-defined notation that can be applied to many different domains. Modeling not only means different things to different people, but also it can use different pieces of UML depending on what you are trying to convey. In general, a UML model is made up of one or more (2) . A diagram graphically represents things, and the relationships between these things. These (3) can be representations of real-world objects,pure software constructs, or a description of the behavior of some other objects. It is common for an individual thing to show up on multiple diagrams; each diagram represents a particular interest, or view, of the thing being modeled. UML 2.0 divides diagrams into two categories:
structural diagrams and behavioral diagrams. (4) are used to capture the physical organization of the things in your system, i.e., how one object relates to another. (5) focus on the behavior of elements in a system. For example, you can use behavioral diagrams to capture requirements, operations, and internal state changes for elements.
(1)A、Programming
B、Analyzing
C、Designing
D、Modeling
(2)A、views
B、diagrams
C、user views
D、structure pictures
(3)A、things
B、pictures
C、languages
D、diagrams
(4)A、Activity diagrams
B、Use-case diagrams
C、Structural diagrams
D、Behavioral diagrams
(5)A、Activity diagrams
B、Use-case diagrams
C、Structural diagrams
D、Behavioral diagrams
查看答案
试题参考答案:D、B、A、C、D
试题2
以下关于总线的叙述中,不正确的是()
A.并行总线适合近距离高速数据传输.
B.串行总线适合长距离数据传输
C.单总线结构在一个总线上适应不同种类的设备,设计简单且性能很高
D.专用总线在设计上可以与连接设备实现最佳匹配
查看答案
试题参考答案:C
试题3
设某语言的语法规则用上下文无关文法 G=(N,T,P,S)表示,其中 N 是非终结符号的集合,T是终结符号的集合,P 是产生式集合,S 是开始符号,令 V=N∪T,那么符合该语言的句子是( ) 。
A、从 S 出发推导的、仅包含 T 中符号的符号串
B、从 N 中符号出发推导的、仅包含 T 中符号的符号串
C、从 S 出发推导的、包含 V 中符号的符号串
D、从 N 中符号出发推导的、包含 V 中符号的符号串
查看答案
试题参考答案:A
试题4
函数调用时,基本的参数传递方式有传值与传地址两种,( ) 。
A、在传值方式下,形参将值传给实参
B、在传值方式下,实参不能是数组元素
C、在传地址方式下,形参和实参间可以实现数据的双向传递
D、在传地址方式下,实参可以是任意的变量和表达式
查看答案
试题参考答案:C
试题5
进程P1、P2、P3、P4和P5的前趋图如下图所示:
若用PV操作控制进程P1、P2、P3、P4和P5并发执行的过程,则需要设置5个信号S1、S2、S3、S4和S5,且信号量S1~S5的初值都等于零。下图中a和b处应分别填(1 );c和d处应分别填写(2 );e和f处应分别填写(3 )。
(1)A.V(S1)P(S2)和V(S3)
B.P(S1)V(S2)和V(S3)
C.V(S1)V(S2)和V(S3)
D.P(S1)P(S2)和V(S3)
(2)A.P(S2)和P(S4)
B.P(S2)和V(S4)
C.V(S2)和P(S4)
D.V(S2)和V(S4)
(3)A.P(S4)和V(S4)V(S5)
B.V(S5)和P(S4)P(S5)
C.V(S3)和V(S4)V(S5)
D.P(S3)和P(S4)V(P5)
查看答案
试题参考答案:C、B、B
试题6
采用循环队列的优点是( )查看答案
试题参考答案:A
试题7
在11个元素的有序表A[1..11] 中进行折半查找( L(low+high)/2」 )查找元素A[11]时,被比较的元素的下标依次是( )。
A、6,8,10,11
B、6,9,10,11
C、6,7,9,11
D、6,8,9,11
查看答案
试题参考答案:B
试题8
下图中的程序由A、B、C、D、E 5个模块组成,下表中描述了这些模块之间的接口,每一个接口有一个编号。此外,模块A、D和E都要引用一个专用数据区。那么A和E之间耦合关系是( )。
A、公共耦合
B、数据耦合
C、内容耦合
D、无耦合
查看答案
试题参考答案:A
试题9
以下关于软件可维护性的叙述中,不正确的是“可维护性( )”。
A.衡量软件质量的一个重要特性
B.不受软件开发文档的影响
C.软件开发阶段各个时期的关键目标
D.可以从可理解性、可靠性、可测试性、百行性、可移植性等方面进行度量
查看答案
试题参考答案:B
试题10
对于哈希表,如果将装填因子α定义为表中装入的记录数与表的长度之比,那么向表中加入新记录时, ( ) 。
A、α的值随冲突次数的增加而递减
B、α越大发生冲突的可能性就越大
C、α等于 1 时不会再发生冲突
D、α低于 0.5 时不会发生冲突
查看答案
试题参考答案:B
温馨提示:因考试政策、内容不断变化与调整,信管网提供的以上信息仅供参考,如有异议,请考生以权威部门公布的内容为准!
相关推荐