2023年12月30日来源:信管网 作者:cnitpm
软件设计师当天每日一练试题地址:www.cnitpm.com/exam/ExamDay.aspx?t1=4
往期软件设计师每日一练试题汇总:www.cnitpm.com/class/27/e4_1.html
软件设计师每日一练试题(2023/12/29)在线测试:www.cnitpm.com/exam/ExamDay.aspx?t1=4&day=2023/12/29
点击查看:更多软件设计师习题与指导
软件设计师每日一练试题内容(2023/12/29)
试题1
在发布一订阅(Publish-Subscribe)消息模型中,订阅者订阅一个主题后, 当该主题有新消息到达时,所有订阅者都会收到通知。()设计模式最适合这一模型。
A.适配器(Adapter)
B.通知(Notifier)
C.状态(State)
D.观察者(Observer)
查看答案
试题参考答案:D
试题解析与讨论:www.cnitpm.com/st/270902917.html
试题2
以下关于下图所示有限自动机的叙述中,不正确的是()。
A.该自动机识别的字符串中a不能连续出现
B.该自动机识别的字符串中b不能连续出现
C.该自动机识别的非空字符串必须以a结尾
D.该自动机识别的字符串可以为空串
查看答案
试题参考答案:A
试题3
我国商标法规定了申请注册的商标不得使用的文字和图形,其中包括县级以上行政区的地名(文字)。以下商标注册申请,经审查,能获准注册的商标是()。查看答案
试题参考答案:B
试题4
对于下面的文法G[S],( )是其句子(从S出发开始推导)。
G(S]:S→M|(S,M) M→P|MP P→a|b|c|…|x|x|z
A、((a,f))
B、((fac,bb),g)
C、(abc)
D、(c,(da))
查看答案
试题参考答案:B
试题解析与讨论:www.cnitpm.com/st/78542704.html
试题5
设f表示某个二元逻辑运算符,PfQ的真值表如下表所示,则PfQ等价于( )。
A、P∨┐Q
B、┐P∧Q
C、┐P∧┐Q
D、┐P∨┐Q
查看答案
试题参考答案:B
试题解析与讨论:www.cnitpm.com/st/76572636.html
试题6
如果主存容量为16M字节,且按字节编址,表示该主存地址至少应需要( )位。
A、16
B、20
C、24
D、32
查看答案
试题参考答案:C
试题解析与讨论:www.cnitpm.com/st/77172657.html
试题7
若有一个仓库,可以存放P1、P2两种产品,但是每次只能存放一种产品.要求:
① w=P1的数量-P2的数量
② -i<w<k (i、k为正整数)
若用PV操作实现P1和P2产品的入库过程,至少需要(1)个同步信号量及(2)个互斥信号量,其中,同步信号量的初值分别为(3),互斥信号量的初值分别为(4)。
(1)A、0
B、1
C、2
D、3
(2)A、0
B、1
C、2
D、3
(3)A、0
B、i,k,0
C、i,k
D、i-1,k-1 •
(4)A、1
B、1,1
C、1,1,1
D、i,k
查看答案
试题参考答案:C、B、D、A
试题解析与讨论:www.cnitpm.com/st/76292627.html
试题8
进程P1、 P2、P3、P4、P5和P6的前趋图如下所示。用PV操作控制这6个进程之间同步与互斥的程序如下,程序中的空①和空②处应分别为(1),空③和空④处应分别为(2), 空⑤和空⑥处应公别为(3)
(1)A、V(S1)和P(S2)P(S3)
B、V(S1)和V(S2)V(S3)
C、P(S1)和P(S2)V(S3)
D、P(S1)和V(S2)V(S3)
(2)A、V(S3)和P(S3)
B、V(S4)和P(S3)
C、P(S3)和P(S4)
D、V(S4)和P(S4)
(3)A、V(S6)和P(S5)
B、V(S5)和P(S6)
C、P(S5)和V(S6)
D、P(S5)和V(S5)
查看答案
试题参考答案:D、B、A
试题解析与讨论:www.cnitpm.com/st/459218874.html
试题9
给定关系 R(A,B,C,D)和关系 S(A,C,E,F),对其进行自然连接运算 R ⋈S 后的属性列为( )个;与αR.B>S.E(R⋈S)等价的关系代数表达式为( )。
A.4
B.5
C.6
D.8
A.α2>7(R x S)
B.π1,2,3,4,7,8(σ1=5 ˄ 2>7˄3=6(R×S))
C. σ2>'7'(R×S)
D. π1,2,3,4,7,8(σ1=5 ˄ 2>’ 7’ ˄3=6(R×S))
查看答案
试题参考答案:C、B
试题10
At a basic level, cloud computing is simply a means of delivering IT resources as (1). Almost all IT resources can be delivered as a cloud service: applications, compute power, storage capacity, networking, programming tools, even communication services and collaboration (2). Cloud computing began as large-scale Internet service providers such as Google, Amazon, and others built out their infrastructure. An architecture emerged: massively scaled, (3)distributed system resources, abstracted as virtual IT services and managed as continuously configured, pooled resources. In this architecture, the data is mostly resident on (4)"somewhere on the Intemet" and the application runs on both the "cloud servers" and the user's browser. Both clouds and grids are built to scale horizontally very efficiently. Both are built towithstand failures of (5)elements or nodes. Both are charged on a per-use basis. But while grids typically process batch jobs, with a defined start and end point, cloud servics can be continuous. What's more, clouds expand the types of resources available——file storage, databases, and Web services——and extend the applicability to Web and enterprise applications.
(1)A. hardware
B. computers
C. services
D. software
(2) A. computers
B. disks
C. machines
D. tools
(3) A. horizontally
B. vertically
C. inclined
D. decreasingly
(4) A. clients
B. middleware
C. servers
D. hard disks
(5) A. entire
B. individual
C. general
D. separate
查看答案
试题参考答案:C、D、A、C、B
温馨提示:因考试政策、内容不断变化与调整,信管网提供的以上信息仅供参考,如有异议,请考生以权威部门公布的内容为准!
相关推荐