0% found this document useful (0 votes)
18 views5 pages

DB12rrrr

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

DB12rrrr

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

ĐẠI HỌC ĐÀ NẴNG

KHOA CÔNG NGHỆ THÔNG TIN VÀ TRUYỀN THÔNG

ĐỀ THI CUỐI KỲ I NĂM HỌC 2019-2020


HỌC PHẦN: CƠ SỞ DỮ LIỆU

Giảng viên ra đề Kiểm tra của Khoa


Thời gian làm bài: 60 phút
(Ký, ghi rõ họ tên) (Ký, ghi rõ họ tên)
Mã đề thi: DB12

THÔNG TIN SINH VIÊN


Họ tên: ........................................... Mã số SV: ........................................ Lớp sinh hoạt: ................

Phần trả lời:


Câu Câu Câu Câu
1 A B C D 11 A B C D 21 A B C D 31 A B C D
2 A B C D 12 A B C D 22 A B C D 32 A B C D
3 A B C D 13 A B C D 23 A B C D 33 A B C D
4 A B C D 14 A B C D 24 A B C D 34 A B C D
5 A B C D 15 A B C D 25 A B C D 35 A B C D
6 A B C D 16 A B C D 26 A B C D 36 A B C D
7 A B C D 17 A B C D 27 A B C D 37 A B C D
8 A B C D 18 A B C D 28 A B C D 38 A B C D
9 A B C D 19 A B C D 29 A B C D 39 A B C D
10 A B C D 20 A B C D 30 A B C D 40 A B C D
Câu Câu Câu Câu
41 A B C D 51 A B C D 61 A B C D 71 A B C D
42 A B C D 52 A B C D 62 A B C D 72 A B C D
43 A B C D 53 A B C D 63 A B C D 73 A B C D
44 A B C D 54 A B C D 64 A B C D 74 A B C D
45 A B C D 55 A B C D 65 A B C D 75 A B C D
46 A B C D 56 A B C D 66 A B C D 76 A B C D
47 A B C D 57 A B C D 67 A B C D 77 A B C D
48 A B C D 58 A B C D 68 A B C D 78 A B C D
49 A B C D 59 A B C D 69 A B C D 79 A B C D
50 A B C D 60 A B C D 70 A B C D 80 A B C D

Phần câu hỏi


Câu 1. Helping people keep track of things is the purpose of a(n) ________ .

A. relationship B. database

C. instance D. table

Câu 2. Creating a read-only database is a task that is ________ assigned to beginning database professionals.

A. Commonly B. Always

C. Seldom D. Never

Câu 3. A UNION query is which of the following?

A. Combines the output from multiple queries and does B. Combines the output from no more than two queries
not include the same number of columns. and does not include the same number of columns.

C. Combines the output from multiple queries and must D. Combines the output from no more than two queries
include the same number of columns. and must include the same number of columns.
Câu 4. A domain is atomic if elements of the domain are considered to be ____________ units.

A. Indivisbile B. Different

C. Divisible D. Constant

Câu 5. Which of the following are the five built-in functions provided by SQL?

A. SUM, AVG, MIN, MAX, SUB B. SUM, AVG, MIN, MAX, NAME

C. COUNT, SUM, AVG, MAX, MIN D. SUM, AVG, SUB, DIV, MIN

Câu 6. Which of the following is valid SQL for an Index?

A. CHANGE INDEX ID B. CREATE INDEX ID

C. ADD INDEX ID D. REMOVE INDEX ID

Câu 7. The result of a SQL SELECT statement is a(n) ________ .

A. form B. file

C. report D. table

Câu 8. Which of the following is true concerning a procedure?

A. You do not create them with SQL. B. They are the same thing as a function.

C. They include procedural and SQL statements. D. They do not need to have a unique name.

Câu 9. SQL data definition commands make up a(n) ________ .

A. DDL B. DML

C. HTML D. XML

Câu 10. The SQL command to create a table is:

A. NEW TABLE B. CREATE TABLE

C. INSERT TABLE D. MAKE TABLE

Câu 11. Which of the following is NOT a basic element of all versions of the E-R model?

A. Entities B. Primary keys

C. Relationships D. Attributes

Câu 12. A subquery in an SQL SELECT statement:

A. Cannot have its results sorted using ORDER BY. B. Can always be duplicated by a join.

C. Can only be used with two tables. D. Has a distinct form that cannot be duplicated by a
join.

Câu 13. The SQL keyword(s) ________ is used with wildcards.

A. IN and NOT IN B. NOT IN

C. LIKE D. IN

Câu 14. Which of the following types of databases are the most common?

A. Enterprise B. Personal

C. Workgroup D. Department

Câu 15. Which one of the following is a set of one or more attributes taken collectively to uniquely identify a record?

A. Candidate key B. Sub key

C. Super key D. Foreign key


Câu 16. Which one of the following is a procedural language?

A. Relational algebra B. Query language

C. Domain relational calculus D. Tuple relational calculus

Câu 17. The primary key is selected from the:

A. Composite keys B. Determinants

C. Candidate keys D. Foreign keys

Câu 18. An attribute that names or identifies entity instances is a(n):

A. Attribute B. Identifier

C. Relationship D. Entity

Câu 19. The command to eliminate a table from a database is:

A. DROP TABLE CUSTOMER; B. REMOVE TABLE CUSTOMER;

C. DELETE TABLE CUSTOMER; D. UPDATE TABLE CUSTOMER;

Câu 20. You can add a row using SQL in a database with which of the following?

A. NEW B. CREATE

C. MAKE D. INSERT

Câu 21. A functional dependency is a relationship between or among:

A. Attributes B. Tables

C. Rows D. Relations

Câu 22. A relational database consists of a collection of

A. Fields B. Records

C. Tables D. Keys

Câu 23. ________ is an open source DBMS product that runs on UNIX, Linux and Windows.

A. Sun ACCESS B. JSP/SQL

C. JDBC/SQL D. MySQL

Câu 24. A key:

A. Identifies a row. B. Must always be composed of two or more columns.

C. Identifies a column D. Can only be one column.

Câu 25. Which of the following is a group of one or more attributes that uniquely identifies a row?

A. Key B. Tuple

C. Determinant D. Relation

Câu 26. To remove duplicate rows from the results of an SQL SELECT statement, the ________ qualifier specified must be
included.

A. DISTINCT B. UNIQUE

C. SINGLE D. ONLY

Câu 27. If attributes A and B determine attribute C, then it is also true that:

A. (A,B) is a composite determinant. B. C is a determinant.

C. A → C. D. B → C.
Câu 28. The HAVING clause does which of the following?

A. Acts like a WHERE clause but is used for rows rather B. Acts like a WHERE clause but is used for columns
than columns. rather than groups.

C. Acts like a WHERE clause but is used for groups D. Acts EXACTLY like a WHERE clause.
rather than rows.

Câu 29. What is not an advantage of stored procedures?

A. SQL can be optimized B. Greater security

C. Increased network traffic D. Code sharing

Câu 30. A CASE SQL statement is which of the following?

A. A way to establish an IF-THEN-ELSE in SQL. B. A way to establish a loop in SQL.

C. A way to establish a data definition in SQL. D. A way to establish an assignment in SQL

Câu 31. An attribute is a(n):

A. Column of a table. B. Two dimensional table

C. Row of a table D. Column of a table

Câu 32. The term attribute refers to a ___________ of a table.

A. Tuple B. Column

C. Key D. Record

Câu 33. The Microsoft Access wildcards are ____ and ____ .

A. question mark (?); asterisk (*) B. asterisk (*); percent sign (%)

C. underscore(_); question mark (?) D. percent sign (%); underscore (_)

Câu 34. The term _______ is used to refer to a row.

A. Field B. Attribute

C. Instance D. Tuple

Câu 35. SQL is:

A. A data sublanguage B. A DBMS

C. A programming language D. An operating system

Câu 36. Which of the following is true concerning triggers?

A. You do not create them with SQL. B. They have an event, condition, and action.

C. They execute against only some applications that D. They cannot cascade (cause another trigger to fire).
access a database.

Câu 37. What is an SQL virtual table that is constructed from other tables?

A. Query results B. Another table

C. A view D. A relation

Câu 38. Which one of the following sorts rows in SQL?

A. ORDER BY B. ALIGN BY

C. GROUP BY D. SORT BY

Câu 39. The SQL keyword BETWEEN is used:

A. To limit the column displayed B. Sort the results

C. For ranges D. As a wildcard


Câu 40. Row is synonymous with the term:

A. Field B. Column

C. Record D. Relation

……… HẾT ………

(Ghi chú : Đề thi không cho phép mở tài liệu)

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