0% found this document useful (0 votes)
42 views6 pages

Fe Dbi202

The document contains a series of questions and answers related to Database Management Systems (DBMS), covering topics such as the definition of a database, characteristics of databases, query compilation, relational database management systems (RDBMS), normalization, and foreign keys. It includes multiple-choice questions with correct answers provided for each. The content serves as a study guide or quiz for individuals learning about database concepts.

Uploaded by

kanyken1210
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views6 pages

Fe Dbi202

The document contains a series of questions and answers related to Database Management Systems (DBMS), covering topics such as the definition of a database, characteristics of databases, query compilation, relational database management systems (RDBMS), normalization, and foreign keys. It includes multiple-choice questions with correct answers provided for each. The content serves as a study guide or quiz for individuals learning about database concepts.

Uploaded by

kanyken1210
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

FE DBI202

1. Which of the following is not a feature of DBMS?

A. Minimum duplication of data


B. Redundancy of data
C. Single-user access only
D. Support ACID Property

Anwser: DBMS can access many users at once

2. What is a database?

A. Organized collection of information that cannot be accessed, updated,


and managed
B. Collection of data or information without organizing
C. Organized collection of data or information that can be accessed,
updated, and managed
D. Organized collection of data that cannot be updated

3. What is the full form of DBMS?

A. Data of Binary Management System


B. Database Management System
C. Database Management Service
D. Data Backup Management System

Anwser: DBMS is Database Management System

4. Which of the following is the appropriate characteristic of a database?

A. Because a database is created to suit the format of the data, it cannot


respond flexibly to data format changes.
B. The procedure for making backups is complicated.
C. It is difficult to share data between operations due to an exclusive
control function.
D. It can be accessed by multiple users at the same time due to an
exclusive control function.

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

5. A database administrator: a person or persons responsible for the struc-


ture or schema of the database.

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)

7. What does an RDBMS consist of?

A. Collection of Tables
B. Collection of Records
C. Collection of Keys
D. Collection of Fields

Anwser: RDBMS (Relational Database Management System) – Cơ sở dữ


liệu quan hệ bao gồm tập hợp các Tables

8. The descriptive property possessed by each entity set is

A. Entity
B. Attribute
C. Relation
D. Model

9. The operation allows the combining (kết hợp) of two relations by


merging pairs of tuples, one from each relation,into a single tuple.

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.

10. For the following relations and a Set operation:


Employee
Name City Gender
Nguyen Trung Truc | HCM | Male Le Hong Son | HCM | Male
Customer
Name | City Gender Nguyen Trung Truc | HCM | Male Tran Tuyet Nhi | HN |
Female
and
Employee \ Customer

What is the result of the Difference operation?

A. Name | City | Gender

Le Hong Son | HCM | Male


B. Name | City | Gender

Nguyen Trung Truc | HCM | Male

Tran Tuyet Nhi | HN | Female


C. Name | City | Gender

Nguyen Trung Truc | HCM | Male

Le Hong Son | HCM | Male


D. Name | City | Gender
Nguyen Trung Truc | HCM | Male

Le Hong Son | HCM | Male

Tran Tuyet Nhi | HN | Female

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)

11. For the following relations:


Product
maker | model | type

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

4 | TRUE | Laser | 8000000


4 | FALSE | 3D | 30000000
Use Algebraic query language to find manufactures that sell PCs, but not
Laptop's
A. maker (type='Laptop' (Product)) \[maker (type='Laptop' (Product))
B. maker (type='Laptop' (Product)) \maker (type='PC' (Product))
C. maker (type='PC' (Product)) \ maker (type='Laptop' (Product))
D. Omaker (type='PC' (Product)) \ [maker ([type='PC' (Product))

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

13. What are logical constraints? (Ràng buộc logic)


A. The relationships between attributes are represented by relational
operations.
B. The relationships between attributes are represented by comparisons
operator.
C. The relationships between attributes are represented by mathematical
expressions.
D. The relationships between attributes are represented by functional
dependencies.

14. What is Database Normalization?


A. A process where by a limit is put on the number of fields a record can
contain
B. The process of ensuring that each table has a key
C. The process of ensuring that a relational database has at least two
tables in it
D. A process whereby the design of a table (relation) is decomposed into
more tables that more precisely fit the relational mode

15. Consider a relation R(A,B,C,D,E) with functional dependencies:


AB->C, B->C, E->D and C->E.What is/are the key(s) for R
A. AC
B. AD
C. AB
D. AE

Anwser: Với AB, ta có thể suy ra:

 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.

16. Suppose that we have a relation R (B, C, D) that satisfies FD's:

D->B and D->C. Which of the following FD is equivalent to the given


dependency functions?
A. D->BC
B. D->DB
C. DB->B
D. DC->DB

17. Which operation is commonly used to display(Hiển thị) all the


properties derived from the original property?
A. Union
B. Intersection
C. Closure
D. Projection

18. If a relation is in BCNF, then it is also in


A. 1 NF
B. 2 NF
C. 3 NF
D. All of the mentioned

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:

F = {AB-> C; D->B, C->ABD} is:


A. 2NF
B. 1NF
C. 3NF
D. BCNF

21. What is the primary goal of normalization in database design?


A. To increase data redundancy
B. To simplify data retrieval
C. To introduce duplicate data
D. To violate functional dependencies

22. What is the purpose of a foreign key in an ERD?


A. It defines the data type of attributes
B. It determines the cardinality of relationships
C. It serves as the primary identifier for a table
D. It establishes a link between two tables

23. In SQL, ERD use three types of principle elements to form


relationships:
A. Entity sets, Constraints and Relationships
B. Attributes, Constraints, and Relationships
C. Entity sets, Attributes, and Relationships
D. Entity sets, Attributes and Constraints

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

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy