Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
335 views
in Programming by (72.7k points)
closed by
Assume that AB → C, C  → D and D → A are simultaneously satisfied by a relation r(R). What are the candidate keys of this relation?
1. AB, CD and AD
2. AB and CD
3. AB and DB
4. ABCD and BC

1 Answer

0 votes
by (121k points)
selected by
 
Best answer
Correct Answer - Option 3 : AB and DB

If closure defined the complete relation then become the candidate key.

  • Closure of AB =  (AB)+ = {A,B,C,D}         //candidate key
  • Closure of BC =  (BC)+ = {A,B,C,D}        //candidate key
  • Closure of CD = (CD)+ = {C,D,A} 
  • Closure of DB = (DB)+= {B,C,D,A}         //candidate key
  • Closure of ABCD = (ABCD)+= {A,B,C,D}    //super key
  • Closure of AD = (AD)+ = {A,B,D}

The candidate keys are AB. BC, BD

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...