2021山西软件水平考试考试真题卷(5).docx
《2021山西软件水平考试考试真题卷(5).docx》由会员分享,可在线阅读,更多相关《2021山西软件水平考试考试真题卷(5).docx(25页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、2021山西软件水平考试考试真题卷(5)本卷共分为1大题50小题,作答时间为180分钟,总分100分,60分及格。一、单项选择题(共50题,每题2分。每题的备选项中,只有一个最符合题意) 1.The Rational Unified Process (RUP) is a software engineering process, which captures many of best practices in modem software development. The notions of (71) and scenarios have been proven to be an excel
2、lent way to capture function requirements. RUP can be described in two dimensions - time and content. In the time dimension, the software lifecycle is broken into cycles. Each cycle is divided into four consecutive (72) which is concluded with a well-defined (73) and can be further broken down into
3、(74) - a complete development loop resulting in a release of an executable product, a subset of the final product under development, which grows incrementally to become the final system. The content structure refers to the disciplines, which group (75) logically by nature.A. orientations B. views C.
4、 aspects D. phases 2.给定关系模式R(U,F),U=A,B,C,D,E,F=BA,DA,AE,ACB,其候选关键字为 (40) ,则分解=R1(ABCE),R2(CD)满足 (41) 。A具有无损连接性、保持函数依赖B不具有无损连接性、保持函数依赖C具有无损连接性、不保持函数依赖D不具有无损连接性、不保持函数依赖3.杀毒软件报告发现病毒Macro.Melissa,由该病毒名称可以推断病毒类型是 (8) ,这类病毒主要感染目标是 (9) 。AEXE或COM可执行文件BWord或Excel文件CDLL系统文件D磁盘引导区4.某医院管理系统部分关系模式为:科室(科室号,科室名,负
5、责人,电话)、病患(病历号,姓名,住址,联系电话)和职工(职工号,职工姓名,科室号,职位,住址,联系电话)。假设每个科室有一位负责人和一部电话,每个科室有若干名职工,一名职工只属于一个科室;一个医生可以为多个病患看病;一个病患可以由多个医生多次诊治;职位有医生、护士和其他。 a科室和职工的所属联系类型是 (37) ,病患和医生的就诊联系类型是 (38) 。科室关系的主键和外键分别为 (39) 。对于就诊联系最合理的设计是 (40) ,就诊关系的主键是 (41) 。 b若科室关系中的科室名是唯一的,并要求指出外码。请将下述SQL语句的空缺部分补充完整。 CREATE TABLE 科室 (科室至号
6、 CHAR(3) PRIMARY KEY, 科室名 CHAR(10) (42) , 负责人 CHAR(4), 电话 CHAR(20), (43) );A就诊(病历号,职工号,就诊情况)B就诊(病历号,职工姓名,就诊情况)C就诊(病历号,职工号,就诊时间,就诊情况)D就诊(病历号,职工姓名,就诊时间,就诊情况)5.若某CPU的有效地址长度为24位,则其寻址范围是 (64) ,其虚拟存储器的容量为 (65) 。A0222-1B0222C0224-1D02246.C is sometimes referred to as a high -level (66) language. Some peopl
7、e think thats an insult, but its actually a deliberate and significant aspect of the language. If you have (67) in assembly language, youll probably find C very natural and comfortable (although if you continue to focus too heavily on machine - level details, youll probably end up with unnecessarily
8、 non- portable programs). If you havent programmed in assembly language, you may be frustrated by C s lack of certain higher - level features. In either case, you should understand why C was de- signed this way: so that seemingly - simple constructions expressed in C would not expand to arbitrarily
9、expensive ( in time or (68) ) machine language constructions when (69) . If you write a C program simply and succinctly, it is likely to result in a succinct, efficient machine language executable. If you find that the (70) resulting from a C program is not efficient, its probably because of somethi
10、ng silly you did, not because of something the compiler did behind your back which you have no control over. In any case, theres no point in complaining about Cs low - level flavor: C is what it is.A. efficient program B. executable program C. executable words D. performable words 7.数据库系统必须控制事务的并发执行
11、,保证数据库 (45) 。假设事务T1、T2分别对数据A和B进行的操作如下图所示,事务T1与T2间的并发调度为可串行化调度的是 (46) 。 *A处于一致的状态B不存在冗余的信息C操作不出现死循环D备份的完整性8.某医院管理系统部分关系模式为:科室(科室号,科室名,负责人,电话)、病患(病历号,姓名,住址,联系电话)和职工(职工号,职工姓名,科室号,职位,住址,联系电话)。假设每个科室有一位负责人和一部电话,每个科室有若干名职工,一名职工只属于一个科室;一个医生可以为多个病患看病;一个病患可以由多个医生多次诊治;职位有医生、护士和其他。 a科室和职工的所属联系类型是 (37) ,病患和医生的就
12、诊联系类型是 (38) 。科室关系的主键和外键分别为 (39) 。对于就诊联系最合理的设计是 (40) ,就诊关系的主键是 (41) 。 b若科室关系中的科室名是唯一的,并要求指出外码。请将下述SQL语句的空缺部分补充完整。 CREATE TABLE 科室 (科室至号 CHAR(3) PRIMARY KEY, 科室名 CHAR(10) (42) , 负责人 CHAR(4), 电话 CHAR(20), (43) );A病历号,职工号B病历号,职工号,就诊时间C病历号,职工姓名D病历号,职工姓名,就诊时间9.The Rational Unified Process (RUP) is a softw
13、are engineering process, which captures many of best practices in modem software development. The notions of (71) and scenarios have been proven to be an excellent way to capture function requirements. RUP can be described in two dimensions - time and content. In the time dimension, the software lif
14、ecycle is broken into cycles. Each cycle is divided into four consecutive (72) which is concluded with a well-defined (73) and can be further broken down into (74) - a complete development loop resulting in a release of an executable product, a subset of the final product under development, which gr
15、ows incrementally to become the final system. The content structure refers to the disciplines, which group (75) logically by nature.A. milestone B. end-mark C. measure D. criteria 10.若某CPU的有效地址长度为24位,则其寻址范围是 (64) ,其虚拟存储器的容量为 (65) 。A. 4M B. 8M C. 16M D. 32G 11.某医院管理系统部分关系模式为:科室(科室号,科室名,负责人,电话)、病患(病历号
16、,姓名,住址,联系电话)和职工(职工号,职工姓名,科室号,职位,住址,联系电话)。假设每个科室有一位负责人和一部电话,每个科室有若干名职工,一名职工只属于一个科室;一个医生可以为多个病患看病;一个病患可以由多个医生多次诊治;职位有医生、护士和其他。 a科室和职工的所属联系类型是 (37) ,病患和医生的就诊联系类型是 (38) 。科室关系的主键和外键分别为 (39) 。对于就诊联系最合理的设计是 (40) ,就诊关系的主键是 (41) 。 b若科室关系中的科室名是唯一的,并要求指出外码。请将下述SQL语句的空缺部分补充完整。 CREATE TABLE 科室 (科室至号 CHAR(3) PRIM
17、ARY KEY, 科室名 CHAR(10) (42) , 负责人 CHAR(4), 电话 CHAR(20), (43) );ANOT NULLBUNIQUECKEY UNIQUEDPRIMARY KEY12.The Rational Unified Process (RUP) is a software engineering process, which captures many of best practices in modem software development. The notions of (71) and scenarios have been proven to be
18、an excellent way to capture function requirements. RUP can be described in two dimensions - time and content. In the time dimension, the software lifecycle is broken into cycles. Each cycle is divided into four consecutive (72) which is concluded with a well-defined (73) and can be further broken do
19、wn into (74) - a complete development loop resulting in a release of an executable product, a subset of the final product under development, which grows incrementally to become the final system. The content structure refers to the disciplines, which group (75) logically by nature.A. rounds B. loops
20、C. iterations D. circularities 13.数据库系统必须控制事务的并发执行,保证数据库 (45) 。假设事务T1、T2分别对数据A和B进行的操作如下图所示,事务T1与T2间的并发调度为可串行化调度的是 (46) 。 * * 14.某医院管理系统部分关系模式为:科室(科室号,科室名,负责人,电话)、病患(病历号,姓名,住址,联系电话)和职工(职工号,职工姓名,科室号,职位,住址,联系电话)。假设每个科室有一位负责人和一部电话,每个科室有若干名职工,一名职工只属于一个科室;一个医生可以为多个病患看病;一个病患可以由多个医生多次诊治;职位有医生、护士和其他。 a科室和职工的
21、所属联系类型是 (37) ,病患和医生的就诊联系类型是 (38) 。科室关系的主键和外键分别为 (39) 。对于就诊联系最合理的设计是 (40) ,就诊关系的主键是 (41) 。 b若科室关系中的科室名是唯一的,并要求指出外码。请将下述SQL语句的空缺部分补充完整。 CREATE TABLE 科室 (科室至号 CHAR(3) PRIMARY KEY, 科室名 CHAR(10) (42) , 负责人 CHAR(4), 电话 CHAR(20), (43) );APRIMARY KEY (科室号) NOT NULL UNIOUEBPRIMARY KEY (科室名) UNIOUECFOREIGN KE
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 2021 山西 软件 水平 考试 真题卷
限制150内