2022河北软件水平考试考试考前冲刺卷(9).docx
《2022河北软件水平考试考试考前冲刺卷(9).docx》由会员分享,可在线阅读,更多相关《2022河北软件水平考试考试考前冲刺卷(9).docx(26页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、2022河北软件水平考试考试考前冲刺卷(9)本卷共分为1大题50小题,作答时间为180分钟,总分100分,60分及格。一、单项选择题(共50题,每题2分。每题的备选项中,只有一个最符合题意) 1.若关系 R、S 如下图所示,则 R 与 S 自然连接后的属性列数和元组个数分别为 (55);=(56)。(55)处填()。A4 和3B4 和6C6 和3D6 和62.设一个包含N 个顶点、 E 条边的简单有向图采用邻接矩阵存储结构(矩阵元素Aij等于1/0 分别表示顶点i 与顶点j 之间有/无弧),则该矩阵的元素数目为 (60) ,其中非零元素数目为 (61) 。(60)处填()。A.AB.BC.CD
2、.D3.已知一个线性表(16, 25, 35, 43, 51, 62, 87, 93),采用散列函数H(Key)=Key mod 7将元素散列到表长为9 的散列表中。若采用线性探测的开放定址法解决冲突(顺序地探查可用存储单元),则构造的哈希表为(57) ,在该散列表上进行等概率成功查找的平均查找长度为(58) (为确定记录在查找表中的位置,需和给定关键字值进行比较的次数的期望值称为查找算法在查找成功时的平均查找长度)。(57)处填()。A.AB.BC.CD.D4.设有职工EMP (职工号, 姓名, 性别, 部门号, 职务, 进单位时间, 电话), 职务JOB(职务,月薪)和部门 DEPT(部门
3、号, 部门名称, 部门电话, 负责人)实体集。一个职务可以由多个职工担任,但一个职工只能担任一个职务,并属于一个部门,部门负责人是一个职工。下图所示的a、b 处的实体名分别为 (53) ;图中a、b 之间为 (54) 联系。(53)处填()。ADEPT、EMPBEMP、DEPTCJOB、EMPDEMP、JOB5.若关系 R、S 如下图所示,则 R 与 S 自然连接后的属性列数和元组个数分别为 (55);=(56)。(56)处填()。A.AB.BC.CD.D6.在UML 类图中,类与类之间存在依赖(Dependency)、关联(Association)、聚合(Aggregation)、组合 (C
4、omposition)和继承(Inheritance)五种关系,其中,(45)关系表明类之间的相互联系最弱,(46)关系表明类之间的相互联系最强,聚合(Aggregation)的标准UML 图形表示是(47)。(46)处填()。A依赖B聚合C组合D继承7.设有职工EMP (职工号, 姓名, 性别, 部门号, 职务, 进单位时间, 电话), 职务JOB(职务,月薪)和部门 DEPT(部门号, 部门名称, 部门电话, 负责人)实体集。一个职务可以由多个职工担任,但一个职工只能担任一个职务,并属于一个部门,部门负责人是一个职工。下图所示的a、b 处的实体名分别为 (53) ;图中a、b 之间为 (5
5、4) 联系。(54)处填()。A.AB.BC.CD.D8.从数据库管理系统的角度看,数据库系统一般采用如下图所示的三级模式结构。图中处应填写 (51) ,处应填写(52) 。(52)处填()。A外模式 / 概念模式B概念模式 / 内模式C外模式 / 概念模式映象D概念模式 / 内模式映象9.(43)设计模式将抽象部分与它的实现部分相分离,使它们都可以独立地变化。下图为该设计模式的类图,其中,(44)用于定义实现部分的接口。(44)处填()。AAbstractionBConcreteImplementorACConcreteImplementorBDImplementor10.设一个包含N 个顶
6、点、 E 条边的简单有向图采用邻接矩阵存储结构(矩阵元素Aij等于1/0 分别表示顶点i 与顶点j 之间有/无弧),则该矩阵的元素数目为 (60) ,其中非零元素数目为 (61) 。(61)处填()。ANBN+ECEDN–E11.已知一个线性表(16, 25, 35, 43, 51, 62, 87, 93),采用散列函数H(Key)=Key mod 7将元素散列到表长为9 的散列表中。若采用线性探测的开放定址法解决冲突(顺序地探查可用存储单元),则构造的哈希表为(57) ,在该散列表上进行等概率成功查找的平均查找长度为(58) (为确定记录在查找表中的位置,需和给定关键字值进行比较
7、的次数的期望值称为查找算法在查找成功时的平均查找长度)。(58)处填()。A(5*1+2+3+6)/8B(5*1+2+3+6)/9C(8*1)/8D(8*1)/912.运行Web 浏览器的计算机与网页所在的计算机要建立(66) 连接,采用(67) 协议传输网页文件。(66)处填()。AUDPBTCPCIPDRIP13.斐波那契(Fibonacci)数列可以递归地定义为:用递归算法求解F(5)时需要执行(63) 次+运算,该方法采用的算法策略是 (64) 。(63)处填()。A5B6C7D814.在UML 类图中,类与类之间存在依赖(Dependency)、关联(Association)、聚合(
8、Aggregation)、组合 (Composition)和继承(Inheritance)五种关系,其中,(45)关系表明类之间的相互联系最弱,(46)关系表明类之间的相互联系最强,聚合(Aggregation)的标准UML 图形表示是(47)。(47)处填()。A.AB.BC.CD.D15.运行Web 浏览器的计算机与网页所在的计算机要建立(66) 连接,采用(67) 协议传输网页文件。(67)处填()。AHTTPBHTMLCASPDRPC16.斐波那契(Fibonacci)数列可以递归地定义为:用递归算法求解F(5)时需要执行(63) 次+运算,该方法采用的算法策略是 (64) 。(64)
9、处填()。A动态规划B分治C回溯D分支限界17.Object-oriented analysis (OOA) is a semiformal specification technique for the object-oriented paradigm. Object-oriented analysis consists of three steps. The first step is (71). It determines how the various results are computed by the product and presents this information i
10、n the form of a (72) and associated scenarios. The second is (73) , which determines the classes and their attributes, then determines the interrelationships and interaction among the classes. The last step is (74) , which determines the actions performed by or to each class or subclass and presents
11、 this information in the form of (75).(71)处填()。Ause-case modelingBclass modelingCdynamic modelingDbehavioral modeling18.Object-oriented analysis (OOA) is a semiformal specification technique for the object-oriented paradigm. Object-oriented analysis consists of three steps. The first step is (71). I
12、t determines how the various results are computed by the product and presents this information in the form of a (72) and associated scenarios. The second is (73) , which determines the classes and their attributes, then determines the interrelationships and interaction among the classes. The last st
13、ep is (74) , which determines the actions performed by or to each class or subclass and presents this information in the form of (75).(72)处填()。Acollaboration diagramBsequence diagramCuse-case diagramDactivity diagram19.Object-oriented analysis (OOA) is a semiformal specification technique for the ob
14、ject-oriented paradigm. Object-oriented analysis consists of three steps. The first step is (71). It determines how the various results are computed by the product and presents this information in the form of a (72) and associated scenarios. The second is (73) , which determines the classes and thei
15、r attributes, then determines the interrelationships and interaction among the classes. The last step is (74) , which determines the actions performed by or to each class or subclass and presents this information in the form of (75).(73)处填()。Ause-case modelingBclass modelingCdynamic modelingDbehavio
16、ral modeling20.Object-oriented analysis (OOA) is a semiformal specification technique for the object-oriented paradigm. Object-oriented analysis consists of three steps. The first step is (71). It determines how the various results are computed by the product and presents this information in the for
17、m of a (72) and associated scenarios. The second is (73) , which determines the classes and their attributes, then determines the interrelationships and interaction among the classes. The last step is (74) , which determines the actions performed by or to each class or subclass and presents this inf
18、ormation in the form of (75).(74)处填()。Ause-case modelingBclass modelingCdynamic modelingDbehavioral modeling21.Object-oriented analysis (OOA) is a semiformal specification technique for the object-oriented paradigm. Object-oriented analysis consists of three steps. The first step is (71). It determi
19、nes how the various results are computed by the product and presents this information in the form of a (72) and associated scenarios. The second is (73) , which determines the classes and their attributes, then determines the interrelationships and interaction among the classes. The last step is (74
20、) , which determines the actions performed by or to each class or subclass and presents this information in the form of (75).(75)处填()。Aactivity diagramBcomponent diagramCsequence diagramDstate diagram22. 23. 24. 25. 26.使用PERT 图进行进度安排,不能清晰地描述(16) ,但可以给出哪些任务完成后才能开始另一些任务。下面PERT图所示工程从A到K 的关键路径是(17) ,(图中
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 2022 河北 软件 水平 考试 考前 冲刺
限制150内