[章节考点]软件水平考试考试《(中级) 数据库系统工程师》点睛试题汇总

|类别:软件水平考试

【单选题】给定关系模式R,其中U={ABCDE},F={AB→D E,AC→ E,AD→ B,B→C,C→D},则R的所有候选码为( ),关系R属于(请作答此空)。

A、1NF

B、2NF

C、3NF

D、BCNF

答案:C

解析:本题考查关系理论的基础知识。根据候选码的求解结果,关系R的非主属性为E。三个候选码中,任何一个候选码中的属性去掉后,即(A)+=A,(B)+=BCD,(C)+=CD,(D)+=D,都不能决定E,故不存在非主属性E对码的部分依赖,关系R属于2NF。除了三个候选码决定E之外,没有哪个属性集决定E,即E直接依赖于码,关系R属于3NF。存在函数据依赖B→C,左边不是码,故关系R不属于BCNF。因此,关系R属于3NF。


【单选题】解决并发操作带来的数据不一致性一般采用( )

A、封锁

B、恢复

C、授权

D、协商

答案:A

解析:小编正在快马加鞭来的路上(详见视频讲解)


【单选题】数据库中数据的( )是指数据库的正确性和相容性,以防止合法用户向数据库加入不符合语义的数据;( )是指保护数据库,以防止不合法的使用所造成的数据泄漏、更改或破坏;(请作答此空)是指在多用户共享的系统中,保证数据库的完整性不受破坏,避免用户得到不正确的数据。

A、安全性

B、可靠性

C、完整性

D、并发控制

答案:D

解析:在数据库系统中,数据的完整性是指数据库的正确性和相容性,以防止合法用户向数据库加入不符合语义的数据;安全性是指保护数据库,以防止不合法的使用所造成的数据泄漏、更改或破坏;并发控制是指在多用户共享的系统中,保证数据库的完整性不受破坏,避免用户得到不正确的数据。


【单选题】某计算机系统页面大小为4K,若进程的页面变换表如下所示,逻辑地址为十六进制1D16H。该地址经过变换后,其物理地址应为十六进制( )。

A、1024H

B、3D16H

C、4D16H

D、6D16H

答案:B

解析:根据题意页面大小为4K,逻辑地址为十六进制1D16H其页号为1,页内地址为D16H,查页表后可知物理块号为3,该地址经过变换后,其物理地址应为物理块号3拼上页内地址D16H,即十六进制3D16H。


【单选题】A transaction is an action,or a series of actions,carried out by a single user or( ),that accesses or changes the contents of the database.A transaction should possess the four basic or so-called ACID properties:Atomicity.The“all or nothing”property.A transaction is an( )unit that is either performed in its entirety or is not performed at all.Consistency.A transaction must transform the database from one consistent state to another consistent state.Isolation.Transactions execute independently of one another.In other words,the partial effects of( )transactions should not be visible to other transactions.Durability.The effects of a successfully completed(committed)transaction are permanently recorded in the database and must not be lost because of a subsequent failure.The four properties above,only( )property is the responsibility of the concurrency control subsystem to ensure.It is the responsibility of both the(请作答此空)and the application developers to ensure consistency.To guarantee the Atomicity and Durability properties after a failure,a log file is needed.

A、DBMS

B、DBA

C、end user

D、DBS

答案:A


【单选题】关系模型SC(学号,姓名,学院,学院领导,课程号,课程名,成绩),函数依赖集F={学号→(姓名,学院,学院领导),学院→学院领导,课程号→课程名,(学号,课程号)→成绩},则关系SC中(请作答此空),要满足第二范式,应将SC分解为( )。

A、只存在部分依赖

B、只存在传递依赖

C、只存在多值依赖

D、存在部分依赖和传递依赖

答案:D


【单选题】使用图像扫描仪以300DPI的分辨率扫描一幅3x4英寸的图片,可以得到( )像素的数字图像。

A、300X300

B、300X400

C、900X4

D、900X1200

答案:D

解析:图像分辨率是指组成一幅图像的像素密度;也是水平和垂直的像素表示;即用每英寸多少点(dpi)表示数字化图像的大小。用300dpi来扫描一幅3*4英寸的彩色照片,那么得到一幅900*1200个像素点的图像


【单选题】So it is today.Schedule disaster,functional misfits,and system bugs all arise because the left hand doesn"t know what the right hand is doing.As work(请作答此空),the several teams slowly change the functions,sizes,and speeds of their own programs,and they explicitly or implicitly( )their assumptions about the inputs available and the uses to be made of the outputs.For example,the implementer of a program-overlaying function may run into problems and reduce speed relying on statistics that show how( )this function will arise in application programs.Meanwhile,back at the ranch,his neighbor may be designing a major part of the supervisor so that it critically depends upon the speed of this function.This change in speed itself becomes a major specification change,and it needs to be proclaimed abroad and weighed from a system point of view.How,then,shall teams( )with one another?In as many ways as possible.Informally.Good telephone service and a clear definition of intergroup dependencies will encourage the hundreds of calls upon which common interpretation of written documents depends.Meetings.Regular project meetings,with one team after another giving technical riefings,are( ).Hundreds of minor misunderstandings get smoked out this way.Workbook.A formal project workbook must be started at the beginning.

A、starts

B、proceeds

C、stops

D、speeds

答案:B


【单选题】将存储过程p1的执行权限授予用户U2的SQL语句为:GRANT( )ON PROCEDURE P1 TO U2;

A、INSERT

B、UPDATE

C、DELETE

D、EXECUTE

答案:D

解析:本题考查授权语句的语法知识。空缺处要填的是权限,题干中已明确指出执行权限,因此选EXECUTE。


【单选题】下列网络互连设备中,属于物理层的是( )

A、交换机

B、中继器

C、路由器

D、网桥

答案:B