当前位置:网站首页>【习题六】【数据库原理】
【习题六】【数据库原理】
2022-07-03 12:03:00 【爱笑的冷面鬼】
一、单选题
1.视图机制提高了数据库系统的()。
A)完整性
B)安全性
C)一致性
D)并发控制
答案:B
2.完整性控制的防范对象是()。
A)非法用户
B)不合语义的数据
C)非法操作
D)不正确的数据结构
答案:B
3.安全性控制的防范对象主要是()。
A)合法用户
B)不合语义的数据
C)非法操作
D)不正确的数据
答案:C
4.一个事务在执行时,应该遵守“要么不做,要么全做”的原则,这是事务的()。
A)原子性
B)一致性
C)隔离性
D)持久性
答案:A
5.实现事务回滚的语句是()。
A)GRANT
B)COMMIT
C)ROLLBACK
D)REVOKE
答案:C
6.后备副本的作用是()。
A)保障安全性
B)完整性控制
C)并发控制
D)数据库恢复
答案:D
7.解决并发控制带来的数据不一致问题普遍采用的技术是()。
A)封锁
B)存取控制
C)恢复
D)协商
答案:A
8.如事务T对数据对象R实现X封锁,则T对R()。
A)只能读不能写
B)只能写不能读
C)既可读又可写
D)不能读也不能写
答案:C
9.在数据库技术中,“脏数据”是指()。
A)未回退的数据
B)未提交的数据
C)回退的数据
D)未提交随后又被撤销的数据
答案:D
10.“日志”文件用于保存()。
A)程序运行过程
B)数据操作
C)程序执行结果
D)对数据库的更新操作
答案:D
12.在事务依赖图中,如果两个事务的依赖关系形成一个循环,那么就会()。
A)出现活锁现象
B)出现死锁现象
C)事务执行成功
D)事务执行失败
答案:B
14.事务的一致性是指()。
A)事务中包括的所有操作要么都做,要么都不做
B)事务一旦提交,对数据库的改变是永久的
C)一个事务内部的操作及使用的数据对并发的其他事务是隔离的
D)事务必须是使数据库从一个一致性状态变到另一个一致性状态
答案:D
15.保护数据库,防止未经授权的或不合法的使用造成的数据泄漏、更改破坏。这是指数据的()。
A)安全性
B)完整性
C)并发控制
D)恢复
答案:A
16.SQL使用()语句为用户授予系统权限或对象权限。
A)SELECT
B)CREATE
C)GRANT
D)REVOKE
正确答案:C
17.以下关于视图的描述中,不正确的是()。
A)视图是外模式
B)使用视图可以加快查询语句的执行速度
C)视图是虚表
D)使用视图可以加快查询语句的编写
正确答案:B
二、填空题
1.DBMS对数据库的安全保护功能是通过____控制、____控制、____控制和____四个方面实现的。
答案:安全性、完整性、并发性、数据恢复
2.衡量授权机制的两个重要指标是____和____。
答案:数据对象、操作类型
3.是数据库系统中执行的一个工作单位,它是由用户定义的一组操作序列。它具有____、____、____和____四个特征。
答案:事务、原子性、一致性、隔离性、持久性
4.并发操作导致的数据库不一致性主要有____、____和____三种。
答案:丢失更新、读脏数据、不可重复读
5.实现并发控制的方法主要是____技术,基本的封锁类型有____和____两种。
答案:封锁、排它锁、共享锁
6.数据库运行过程中可能出现____故障、____故障和____故障三类。
答案:事务、系统、介质
7.规则和默认用来帮助用户实现数据的____。
答案:完整性
8.根据SQL Server的安全性要求,当某一用户要访问SQL Server中的数据库时,必须在SQL Server上创建____和____。
答案:登录账号、用户账号
9.按照索引记录的存放位置,索引可分为____索引与____索引。
答案:聚集、非聚集
10.视图是虚表,其数据不进行存储,只在数据库中存储其____。
答案:定义
边栏推荐
- Keep learning swift
- 如何在微信小程序中获取用户位置?
- repo Manifest Format
- 低代码平台国际化多语言(i18n)技术方案
- Take you to the installation and simple use tutorial of the deveco studio compiler of harmonyos to create and run Hello world?
- Nodejs+Express+MySQL实现登陆功能(含验证码)
- Exploration of sqoop1.4.4 native incremental import feature
- Project video based on Linu development
- error: expected reference but got (raw string)
- 1-1 token
猜你喜欢
Take you to the installation and simple use tutorial of the deveco studio compiler of harmonyos to create and run Hello world?
Node.js: express + MySQL的使用
Attack and defense world mobile--ph0en1x-100
(latest version) WiFi distribution multi format + installation framework
【计网】第三章 数据链路层(2)流量控制与可靠传输、停止等待协议、后退N帧协议(GBN)、选择重传协议(SR)
Swift bit operation exercise
2021 autumn Information Security Experiment 1 (password and hiding technology)
阿里大于发送短信(用户微服务--消息微服务)
Social community forum app ultra-high appearance UI interface
Xctf mobile--app2 problem solving
随机推荐
2.9 overview of databinding knowledge points
Nodejs+Express+MySQL实现登陆功能(含验证码)
JVM内存模型
Swift Error Handling
(最新版) Wifi分销多开版+安装框架
context. Getexternalfilesdir() is compared with the returned path
JVM memory model
Pytext training times error: typeerror:__ init__ () got an unexpected keyword argument 'serialized_ options'
If you can't learn, you have to learn. Jetpack compose writes an im app (II)
ImportError: No module named examples. tutorials. mnist
Ali & ant self developed IDE
Node.js: express + MySQL的使用
最新版抽奖盲盒运营版
How to stand out quickly when you are new to the workplace?
Idea packages the web project into a war package and deploys it to the server to run
Recovery of website address and method of Amazon account login two-step verification failure caused by mobile phone number becoming empty
How to convert a decimal number to binary in swift
Enable SASL authentication for memcached
Exploration of sqoop1.4.4 native incremental import feature
Sword finger offer04 Search in two-dimensional array [medium]