intTypePromotion=1
zunia.vn Tuyển sinh 2024 dành cho Gen-Z zunia.vn zunia.vn
ADSENSE

Đề thi trắc nghiệm cơ sở dữ liệu trường Cao Thắng -phần 3

Chia sẻ: Meomeo Nguyen | Ngày: | Loại File: PDF | Số trang:5

277
lượt xem
55
download
 
  Download Vui lòng tải xuống để xem tài liệu đầy đủ

Tham khảo tài liệu 'đề thi trắc nghiệm cơ sở dữ liệu trường cao thắng -phần 3', công nghệ thông tin, cơ sở dữ liệu phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả

Chủ đề:
Lưu

Nội dung Text: Đề thi trắc nghiệm cơ sở dữ liệu trường Cao Thắng -phần 3

  1. 1. Consider a relation Q(A,B,C,D) with the following functional dependencies: A → B and B → C The number of superkeys of Q is: (a) 2 (b) 3 (c) 4 (d) 5 (e) None of the above 2. Which of the following functional dependencies must be FALSE ? a) X → Y ⇒ XZ → YZ b) X → Y; YW → Z ⇒ XW→ Z. c) X → Y, X → Z ⇒ X → YZ d) X → Y; Z ⊆ Y ⇒ X → Z e) None of the above 3. Consider relation S(B, G, U, N, A) with the FD's: BG → U, G → N, NA→ B
  2. What are all the keys of S ? a) {B, G} and {N, A} b) {U, A} c) {G, A} d) {B,N} e) {B, G, U, N} f) {B, G, A} and {G, N, A} 4. Which one of the following is correct? (a) All FDs must involve the attributes of the same relation. (b) All FDs must involve only a single attribute on the left side. (c) All FDs must involve only a single attribute on the right side. (d) All FDs must involve only single attributes on both sides. (e) None of the above Giáo Trình Cơ Sở Dữ Liệu Trang 95 Biên soạn : Phan Tấn Quốc- Trường Cao Đẳng Kỹ Thuật Cao Thắng 5. Assume the relation R(A, B, C ,D, E) is in at least 3NF. Which of the following functional dependencies must be FALSE?
  3. a. A, B → C b. A, B → D c. C, D → E d. None of the above 6. SQL provides a number of special aggregate functions. Which one of the following is not included in SQL? (a) SUM (b) MAX (c) MIN (d) COUNT (e) MEDIAN 7. Which of the following finds all groups meeting stated conditions? (a) Select (b) Where (c) Find (d) Having
  4. 8. The ___________ clause is used to restrict the groups returned by a query. (a) FROM (b) WHERE (c) HAVING (d) GROUP BY 9. To get all the customers from Hawaii sorted together, which of the following would be used? (a) Order By (b) Group By (c) Having (d) Sort Giáo Trình Cơ Sở Dữ Liệu Trang 96 Biên soạn : Phan Tấn Quốc- Trường Cao Đẳng Kỹ Thuật Cao Thắng
ADSENSE

CÓ THỂ BẠN MUỐN DOWNLOAD

 

Đồng bộ tài khoản
2=>2