1. Trang chủ
  2. » Giáo Dục - Đào Tạo

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

5 960 4
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 5
Dung lượng 300,44 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Consider the relation studentsno, sname, cname, cno where sno, cno or sname, cname are candidate keys.. There are functional dependencies within the keys.. Giáo Trình Cơ Sở Dữ Liệu Trang

Trang 1

43 Table Q{A , B , C , D} and a set of functional dependencies

A → B, C

D → C

Trang 2

The closure of {A D } is:

a) A D

b) A D B C

c) B C

d) None of the above

44 Consider the relation student(sno, sname, cname, cno) where (sno, cno) or (sname,

cname) are candidate keys There are functional dependencies within the keys

Giáo Trình Cơ Sở Dữ Liệu Trang 105

Biên soạn : Phan Tấn Quốc- Trường Cao Đẳng Kỹ Thuật Cao Thắng The highest normal form whose requirements this relation

satisfies is:

(a) 1NF

(b) 2NF

(c) 3NF

(d) BCNF

45 Let R be a relation with attributes (B,I,N,R,U,L) and let the following functional

Trang 3

dependencies hold

B → I

B → N

N R → U

N R → L

I → U

Given the above functional dependencies, which of the following functional dependencies does

not hold:

a) N R → U L

b) B R → L

c) B → U

d) I→ N R

46 Suppose relation R(S,G,F,Y,N) has the following functional dependencies:

S → G

G → F

G F → S

Trang 4

S → Y

N → S

Y → N

Which of the following is not a key?

a) N b) G,F

c) S d) Y

47 Table TT {A , N , H , K , J , O , X } and a set of functional

dependencies

A, N → O, X

Giáo Trình Cơ Sở Dữ Liệu Trang 106

Biên soạn : Phan Tấn Quốc- Trường Cao Đẳng Kỹ Thuật Cao Thắng

J → A , N, H

H, O → K, X

H, K, X → O

A, N, X → J

The closure of {A N } is:

e) A H K X J O

f) A N H K X J

Trang 5

g) A N H X J O

h) A N H K X J O

48 Consider the follow attributes and functional dependencies:

A B C D E F H

A→ D

AE → H

DF → BC

E → C

H → E

List all keys (not superkeys):

49 (Đề 48) Consider the decomposition into 3 relations: (AD) (EC) (ABEFH) Is this

decomposition in

(a) BCNF

(b) 3NF

(c) 1NF

(d) None of the above

Ngày đăng: 28/07/2014, 17:22

TỪ KHÓA LIÊN QUAN

🧩 Sản phẩm bạn có thể quan tâm

w