软件设计师当天每日一练试题地址:www.cnitpm.com/exam/ExamDay.aspx?t1=4
往期软件设计师每日一练试题汇总:www.cnitpm.com/class/27/e4_1.html
软件设计师每日一练试题(2023/4/22)在线测试:www.cnitpm.com/exam/ExamDay.aspx?t1=4&day=2023/4/22
点击查看:更多软件设计师习题与指导
软件设计师每日一练试题内容(2023/4/22)
试题1
若类 A 仅在其方法 Method1 中定义并使用了类 B 的一个对象,类 A 其它部分的代码都不涉及类 B,那么类 A 与类 B 的关系应为 (1) ;若类 A 的某个属性是类 B 的一个对象,并且类 A 对象消失时,类 B 对象也随之消失,则类 A 与类 B 的关系应为 (2) 。
(1)A、关联
B、依赖
C、聚合
D、组合
(2)A、关联
B、依赖
C、聚合
D、组合
查看答案
试题参考答案:B、D
试题解析与讨论:www.cnitpm.com/st/81842818.html
试题2
编译过程中进行的语法分析主要是分析()。查看答案
试题参考答案:C
试题解析与讨论:www.cnitpm.com/st/395291725.html
试题3
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
试题4
以下关于包过滤防火墙和代理服务防火墙的叙述中,正确的是()。查看答案
试题参考答案:B
试题5
在最好和最坏情况下的时间复杂度均为O(nlogn)且稳定的排序方法( )。
A、基数排序
B、快速排序
C、堆排序
D、归并排序
查看答案
试题参考答案:D
试题解析与讨论:www.cnitpm.com/st/77492668.html
试题6
DOM is a platform-and language-(1)API that allows programs and scripts to dynamically access and update the content, structure and style of WWW documents ( currently,definitions for HTML and XML documents are part of the specification ).The document can be further processed and the results of that processing can be incoporporated back into the presented (2).DOM is a (3)-based API to documents ,which requires the whole document to be represented in (4)while processing it .A simpler alternative to DOM is the event –based SAX,which can be used to process very large(5)documents that do not fit info the memory available for processing.
(1)A、specific
B、neutral
C、contained
D、related
(2)A、text
B、image
C、page
D、graphic
(3)A、table
B、tree
C、control
D、event
(4)A、document
B、processor
C、disc
D、memory
(5)A、XML
B、HTML
C、script
D、web
查看答案
试题参考答案:B、C、B、D、A
试题解析与讨论:www.cnitpm.com/st/77622673.html
试题7
下图所示为一个有限自动机(其中,A是初态、C是终态),该自动机可识别()。
A.0000
B.1111
C.0101
D.1010
查看答案
试题参考答案:C
试题解析与讨论:www.cnitpm.com/st/246455933.html
试题8
假设有学生 S(学号,姓名,性别,入学时间,联系方式),院系 D(院系号,院系名称,电话号码,负责人)和课程 C(课程号,课程名)三个实体,若一名学生属于一个院系,一个院系有多名学生;一名学生可以选择多门课程,一门课程可被多名学生选择,刚图中(a)和(b)分别国(1)联系,假设一对多联系不转换为一个独立的关系模式,那么生成的关系模式(2)
(1)A. A
B. B
C. C
D. D
(2)A、S 中应加入关系模式 D 的主键
B、S 中应加入关系模式 C 的主键
C、D 中应加入关系模式 S 的主键
D、C 中应加入关系模式 S 的主键
查看答案
试题参考答案:C、A
试题解析与讨论:www.cnitpm.com/st/82502841.html
试题9
UML中有4种关系:依赖、关联、泛化、实现。(1)是种结构关系,描述了一组链,链是对象之间的连接,(2)是一种特殊/一般关系,使子元素共享其父元素的结构和行为。
(1)A.依赖
B.关联
C.泛化
D.实现
(2)A.依赖
B.关联
C.泛化
D.实现
查看答案
试题参考答案:B、C
试题10
给定文法 G[S]及其非终结符 A,FIRST(A)定义为:从 A 出发能推导出的终结符号的集合(S 是文法的起始符号,为非终结符)。对于文法 G[S]:
S→[L] | a
L→L, S| S
其中,G[S]包含的四个终结符号分别为:
a , [ ]
则 FIRST(S)的成员包括 ( ) 。
A、a
B、a、[
C、a、[和]
D、a、[、]和,
查看答案
试题参考答案:B
试题解析与讨论:www.cnitpm.com/st/81302799.html
信管网订阅号
信管网视频号
信管网抖音号
温馨提示:因考试政策、内容不断变化与调整,信管网网站提供的以上信息仅供参考,如有异议,请以权威部门公布的内容为准!
信管网致力于为广大信管从业人员、爱好者、大学生提供专业、高质量的课程和服务,解决其考试证书、技能提升和就业的需求。
信管网软考课程由信管网依托10年专业软考教研倾力打造,教材和资料参编作者和资深讲师坐镇,通过深研历年考试出题规律与考试大纲,深挖核心知识与高频考点,为学员考试保驾护航。面授、直播&录播,多种班型灵活学习,满足不同学员考证需求,降低课程学习难度,使学习效果事半功倍。
发表评论 查看完整评论 | |