Fe Dbi202
Fe Dbi202
2. What is a database?
Anwser: Có thể chấp nhận nhiều người truy cập cùng một lúc nhờ cơ chế
kiểm soát độc quyền
A. True
B. False
6. In query compiler, which unit transforms the initial query plan into the
best available sequence of operations on the actual data?
A. A query parser
B. A query preprocessor
C. A query optimizer
D. A query processor
Anwser: Trong trình biên dịch truy vấn (query compiler), đơn vị chuyển đổi
kế hoạch truy vấn ban đầu thành chuỗi các thao tác tối ưu nhất trên dữ
liệu thực thế là Bộ tối ưu hóa truy vấn (Query Optimizer)
A. Collection of Tables
B. Collection of Records
C. Collection of Keys
D. Collection of Fields
A. Entity
B. Attribute
C. Relation
D. Model
A. Select
B. Join
C. Union
D. Intersection
Anwser: Phép toán cho phép kết hợp hai quan hệ bằng cách ghép cặp các
bộ dữ liệu, mỗi bộ từ một quan hệ, thành một bộ dữ liệu duy nhất được gọi
là phép nối (Join).
Phép nối giúp kết hợp thông tin từ hai bảng dựa trên điều kiện nhất định,
thường là các cột có giá trị tương ứng, để tạo ra một bảng mới chứa dữ
liệu từ cả hai bảng.
Anwser: Phép khác (Difference operation), trả về bản ghi (Bảng Employee)
không trùng dữ liệu với bản ghi ở bảng còn lại (Bảng Customer)
Asus| 1| Laptop
HP | 2 | Laptop
HP| 3| PC
HP | 4 | Printer
Dell| 5 |Laptop
Dell | 6 | PC
PC
model speed | ram | hd | price
3 | 2.00 | 8 | 500 | 10000000
6 | 3.00 |16| 500 | 15000000
Laptop
model | speed | ram | hd | screen | price
12.00 | 16 | 256 | 14 | 20000000
23.00 | 8 | 512 | 15 | 25000000
Printer
model | color | type | price
12. In the relational model of data, what is the result of an algebraic query
language?
A. Data series
B. Data file
C. Relation
D. database
Từ AB→C, suy ra C.
Từ C→E, suy ra E.
Từ E→D, suy ra D.
Như vậy, từ AB, ta có thể suy ra tất cả các thuộc tính A,B,C,D,E, nên AB là
một khóa của R.
19. Which normalization level ensures that there are no repeating groups
in tables?
A. First Normal Form (1NF)
B. Second Normal Form (2NF)
C. Third Normal Form (3NF)
D. Boyce-Codd Normal Form (BCNF)
20. The highest normal form for relation schema R(ABCD) with functional
dependencies:
24. Which of the following statements is correct when converting from the
ERD model to the relational model?
A. The order of the columns is not important
B. The order of both rows and columns is important
C. The order of the rows is important
D. The order of the columns is important