最新消息:可做奥鹏等各院校作业论文,答案请联系QQ/微信:18866732

【奥鹏】吉大21春学期《数据库应用技术》在线作业二

吉大21春学期《数据库应用技术》在线作业二 -0003

试卷总分:100  得分:100

一、单选题 (共 25 道试题,共 100 分)

1.Which of the following is a benefit of user-defined functions?

A.Improves application concurrency

B.Improves blocking of result sets

C.Simplifies application maintenance

D.Reduces memory requirements on the server

 

2.当FROM子句中出现多个基本表或视图时,系统将执行什么操作?

A.并

B.等值联接

C.自然联接

D.笛卡儿积

 

3.在SELECT语句的下列子句中,通常和HAVING子句同时使用的是以下哪项?

A.ORDER BY子句

B.WHERE子句

C.GROUP BY子句

D.均不需要

 

4.数据库系统的并发控制的主要方法是采用()制。

A.拒绝

B.改为串行

C.锁

D.不加任何控制

 

5.要对应用程序预编译并生成绑定文件,需要什么特权?

A.数据库上的CONNECT特权

B.数据库上的BINDADD特权

C.程序包上的BIND特权

D.程序包上的CONTROL特权

 

6.下面哪个工具可以帮助用户对语句性能进行分析?

A.可视化解释工具

B.性能监视器

C.命令行处理器

D.控制中心

 

7.The following commands are issued against a data source containing table user2.org: CREATE ALIAS user1.org FOR sample.org CREATE TABLE org.sample ( c CHAR(1)) CREATE ALIAS sample.org FOR user2.org CREATE ALIAS user2.sample FOR sample.org Given the user SAMPLE issues the following statement: SELECT * FROM sample For which of the following database objects will access be attempted?

A.user2.org

B.org.sample

C.sample.org

D.sample.sample

 

8.在客户端直接连接到DB2 UDB服务器的环境中,服务器端的认证类型为以下哪个时,在编目时指定的认证类型不一定要与服务器端认证参数的值相匹配。

A.SERVER_ENCRYPT

B.DCE

C.DCE_SERVER_ENCRYPT

D.KERBEROS

 

9.创建一个DMS类型的表空间,可以使用以下哪两种文件系统对象作为容器?

A.目录

B.文件

C.DEVICE

 

10.To prepare an embedded SQL program for use with a host-language compiler, which of the following database components is required?

A.Binder

B.Precompiler

C.Stored Procedure Builder

D.Application Development Center

 

11.Given the code: EXEC SQL WITH most_cities AS ( SELECT b.id, b.name, a.cities FROM country a, staff b WHERE a.person = b.id AND cities > :threshold ) SELECT id, name, cities FROM most_cities INTO :id, :name, :cities WHERE cities IN (SELECT MAX(cities) FROM most_cities) Which of the following can reference MOST_CITIES?

A.The current statement

B.Statements from any application

C.All statements within this application

D.All statements within the current unit of work

 

12.下列SQL语句中,能够实现“收回用户U4对学生表(STUD)中学号(XH)的修改权”这一功能的是()

A.REVOKE UPDATE(XH) ON TABLE FROM U4

B.REVOKE UPDATE(XH) ON TABLE FROM PUBLIC

C.REVOKE UPDATE(XH) ON STUD FROM U4

D.REVOKE UPDATE(XH) ON STUD FR奥鹏作业答案请进open5.net或请联系QQ/微信:18866732OM PUBLIC

 

13.An application uses embedded dynamic SQL to connect to a remote DB2 server and inserts data into the CUST.ORDERS table on that remote DB2 server. To enable access of the remote DB2 server, Administrator FOO needs to create a package with default options such that BAR is the only non-administrative user that can use this package on the remote DB2 server. Which statement describes the privileges that must be granted and/or revoked by FOO to accomplish this?

A.BAR requires EXECUTE privilege on the package and UPDATE privilege on CUST.ORDERS, and the EXECUTE privilege for the package must be revoked from PUBLIC.

B.BAR requires EXECUTE privilege on the package and INSERT privilege on CUST.ORDERS, and the EXECUTE privilege for the package must be revoked from PUBLIC.

C.BAR requires EXECUTE privilege on the package and INSERT privilege on CUST.ORDERS, and the REFERENCES privilege for the package must be revoked from PUBLIC.

D.BAR requires EXECUTE privilege on the package and UPDATE privilege on CUST.ORDERS, and the REFERENCES privilege for the package must be revoked from PUBLIC.

 

14.对于那些需要偶尔连接到公司数据上进行数据交换的用户可选择哪种版本的DB2?对于支持小规模的部门级应用,这些应用不需要存取驻留在OS/400、OS/390等平台上的远程数据库,则需要哪种级别的DB2 产品?

A.企业版

B.工作组版

C.企业扩展版

D.个人版

E.卫星版

 

15.缺省的数据库日志文件的类型是:

A.Circular Log

B.Archival Log

C.Primary Log

D.Secondary log

 

16.定义基本表时,若要求某一列的值不能为空,则应在定义时使用什么保留字?但如果该列是主键,则可省写。

A.NULL

B.NOT NULL

C.DISTINCT

D.UNIQUE

 

17.游标稳定性(CS,或称光标稳定性)隔离级锁定工作单元期间光标所在的任何行。对该行的锁定将()

A.. 不保持

B.. 保持到取出下一行记录或整个工作单元终止。

C.. 保持到整个工作单元终止。

 

18.要更改数据库管理器配置文件,需以下哪个数据库权限?

A.DBADM

B.SYSMAINT

C.SYSCTRL

D.SYSADM

 

19.如果想在数据导入的过程中创建表,应该

A.使用IXF文件格式进行LOAD

B.使用WSF文件格式进行LOAD

C.使用IXF文件格式进行IMPORT

D.使用WSF文件格式进行IMPORT

 

20.两个子查询的结果(),可以执行并、交、差操作

A.结构完全一致

B.结构完全不一致

C.结构部分一致

D.主键一致

 

21.如果选用循环日志方式,辅助日志文件何时分配?

A.数据库建立的时候

B.数据库服务器启动的时候

C.需要的时候

D.以上都不对

 

22.使用SQL语句进行查询操作时,若希望查询结果不出现重复元组,应在SELECT子句中使用什么保留字?

A.UNIQUE

B.ALL

C.EXCEPT

D.DISTINCT

 

23.E-R图中的联系可以与()实体有关

A.0个

B.1个

C.1个或多个

D.多个

 

24.关系数据库管理系统应能实现的专门关系运算包括()

A.排序、索引、统计

B.选择、投影、连接

C.关联、更新、排序

D.显示、打印、制表

 

25.嵌入式SQL语句中引用共享变量时,必须在变量名前加什么标志?

A.号

B.分号

C.句号

D.冒号

转载请注明:奥鹏作业之家 » 【奥鹏】吉大21春学期《数据库应用技术》在线作业二

发表我的评论
取消评论
表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址