高级数据库系统选择题(附答案)
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
目录
Ordered Indexing and Hashing (1)
Buffer Management (3)
Bitmap Indices (5)
Ordered Indices (7)
B+ trees (8)
Organization of Records in Files (10)
Ordered Indexing and Hashing
This set of Database Multiple Choice Questions & Answers (MCQs) focuses on “Ordered Indexing and Hashing”.
1. A(n) ___c_____ can be used to preserve the integrity of a document or a message.
a) Message digest
b) Message summary
c) Encrypted message
d) None of the mentioned
2. A hash function must meet ___b____ criteria.
a) Two
b) Three
c) Four
d) None of the mentioned
3. What is the main limitation of Hierarchical Databases? b
a) Limited capacity (unable to hold much data)
b) Limited flexibility in accessing data
c) Overhead associated with maintaining indexes
d) The performance of the database is poor
4. The property (or set of properties) that uniquely defines each row in a table is called the:
a) Identifier
b) Index
c) Primary key
d) Symmetric key
5. The separation of the data definition from the program is known as: b
a) Data dictionary
b) Data independence
c) Data integrity
d) Referential integrity
6. In the client / server model, the database: d
a) Is downloaded to the client upon request
b) Is shared by both the client and server
c) Resides on the client side
d) Resides on the server side
7. The traditional storage of data that is organized by customer, stored in separate folders in filing cabinets is an example of what type of ‘database’ system? a
a) Hierarchical
b) Network
c) Object oriented
d) Relational
8. The database design that consists of multiple tables that are linked together through matching data
stored in each table is called d
a) Hierarchical database
b) Network database
c) Object oriented database
d) Relational database
9. The association role defines: a
a) How tables are related in the database
b) The relationship between the class diagram and the tables in the database
c) The tables that each attribute is contained
d) Which attribute is the table’s primary key
10. The purpose of an N-Ary association is: c
a) To capture a parent-child relationship
b) To deal with one to many relationships
c) To deal with relationships that involve more than two tables
d) To represent an inheritance relationship
Buffer Management
1. In order to reduce the overhead in retrieving the records from the storage space we
use b
a) Logs
b) Log buffer
c) Medieval space
d) Lower records
2. The order of log records in the stable storage ______ a ______ as the order in which
they were written to the log buffer.
a) Must be exactly the same
b) Can be different
c) Is opposite
d) Can be partially same
3.Before a block of data in main memory can be output to the database, all log records
pertaining to data in that block must have been output to stable storage. This is (c)