GATE CSE 2024 Session 2 Q56: Number of useful functional dependencies on 4 attributes
- Databases
- 2 marks
- NAT
- No negative marking
Question
A functional dependency is termed as a useful functional dependency if and only if it satisfies all the following three conditions:
• is not the empty set.
• is not the empty set.
• Intersection of and is the empty set.
For a relation with 4 attributes, the total number of possible useful functional dependencies is ________
Try it: numerical answer: type the value
Show answer and explanation
Answer: 50 (official GATE 2024 final answer key)
Concept used: Counting ordered pairs of disjoint non-empty subsets: each attribute goes to , or neither.
First step: There are assignments; subtract those with empty () or empty () and add back the one with both empty.
Full step-by-step solution
Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.
Share this question
Source: official GATE 2024 Session 2 CS question paper and final answer key, organised by IISc Bangalore. Question paper · Answer key
More Databases PYQs
- 2026 Session 1 · Q30Which functional dependency inferences always hold
- 2026 Session 1 · Q31Dependency-preserving decompositions for 1NF, 2NF, 3NF, BCNF
- 2026 Session 1 · Q43Relational algebra equivalent of a tuple calculus join query
- 2026 Session 1 · Q65Number of superkeys with candidate keys {A,B} and {A,C}
- 2026 Session 2 · Q15Match DBMS schema levels with what they describe
- 2026 Session 2 · Q20When two transactions do not conflict on a data item