Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

An introduction of Database Management System using Brain, Exercises of Database Management Systems (DBMS)

We're enjoying our lives surrounded by data.

Typology: Exercises

2022/2023

Uploaded on 04/19/2023

somnath-malik
somnath-malik 🇮🇳

2 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Tutorial 1
Database Management System
Functional Dependency
Ques 1: The following functional dependencies are given: AB->CD,
AF->D, DE->F, C->G , F->E, G->A Which one of the following
options is false?
A. CF+ = {ACDEFG}
B. BG+ = {ABCDG}
C. AF+ = {ACDEFG}
D. AB+ = {ABCDFG}
Ques 2: In a schema with attributes A, B, C, D and E, following set
of functional dependencies are given: A->B A->C CD->E B->D E-
>A Which of the following functional dependencies is NOT
implied by the above set?
A. CD->AC
B. BD->CD
C. BC->CD
D. AC->BC
Ques 3: From the following instance of a relational schema R(A,
B, C), we can conclude that:
A B C
1 1 1
1 1 0
2 3 2
2 3 2
A. A functionally determines B and B functionally determines C
B. A functionally determines B and B does not functionally
determine C
C. B does not functionally determine C
D. A does not functionally determine B and B does not functionally
determine C
Ques 4: Consider the following set0F0of functional dependencies:
F={A BC, BC, AB, ABC}.
Find the canonical cover.
Ques 5: Consider the following set of functional dependency on
the scheme (A, B,C)
A→BC, B→C, A→B, AB→C. The canonical cover for this set is:
pf2

Partial preview of the text

Download An introduction of Database Management System using Brain and more Exercises Database Management Systems (DBMS) in PDF only on Docsity!

Tutorial 1

Database Management System

Functional Dependency

Ques 1: The following functional dependencies are given: AB->CD, AF->D, DE->F, C->G , F->E, G->A Which one of the following options is false? A. CF+ = {ACDEFG} B. BG+ = {ABCDG} C. AF+ = {ACDEFG} D. AB+ = {ABCDFG} Ques 2: **In a schema with attributes A, B, C, D and E, following set of functional dependencies are given: A->B A->C CD->E B->D E-

A Which of the following functional dependencies is NOT implied by the above set?** A. CD->AC B. BD->CD C. BC->CD D. AC->BC Ques 3: From the following instance of a relational schema R(A, B, C), we can conclude that: A B C 1 1 1 1 1 0 2 3 2 2 3 2 A. A functionally determines B and B functionally determines C B. A functionally determines B and B does not functionally determine C C. B does not functionally determine C D. A does not functionally determine B and B does not functionally determine C Ques 4: Consider the following set F of functional dependencies: F={ABC, BC, AB, ABC}. Find the canonical cover. Ques 5 : Consider the following set of functional dependency on the scheme (A, B,C) A→BC, B→C, A→B, AB→C. The canonical cover for this set is:

A. A→BC and B→C B. A→BC and AB→C C. A→BC and A→B D. A→B and B→C Ques 6: A relation R2(A,B,C,D) having two FD sets FD1 = {A->B, B->C,A->C} and FD2 = {A->B, B->C, A->D}. Find the relation between FD1 and FD2. Ques 7 : Consider the following relation R = {A,C,D,E,H} and set of two functional dependencies F and G, F= {A→C, AC→D, E→AD, E→H}, G = {A→CD, E→AH}. Find out that F and G are equivalence set of not. Ques 8 : Let R = {A,B,C,D,E} and F= {B→CD, D→E, B→A, E→C, AD→B} A. is B→E is true? B. is B a key for R C. is AD is a candidate key for R Ques 9: Find all functional dependency in below requirements: Ques 10: Consider a relational scheme R with attributes A,B,C,D,F and the FDs A → BC, B → E, CD → EF Prove that functional dependency AD → F holds in R.