The maximum number of superkeys for the relation schema R (E, F, G, H) with E as the key is …
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2014 Set 2 · Q21
Time
Your answerNumerical answer
Solution
Official answer: 8
Integrity Constraints and Normal FormsA relation schema has 4 attributes.
A superkey is any superset of a candidate key. Given that is the key, any subset of attributes of containing is a superkey.
The remaining attributes are , which consists of attributes.
Each of the other 3 attributes can either be included or excluded from the superkey:
The 8 superkeys are:
Try the question first, then check your work.
Examiner trap
Any superkey must contain the key attribute E. Count the number of subsets formed by the remaining attributes.
This Integrity Constraints and Normal Forms previous year question is Q21 of the GATE CSE 2014 Set 2 paper. Find more GATE CSE PYQs on Integrity Constraints and Normal Forms in Databases, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Integrity Constraints and Normal Forms PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
Integrity Constraints and Normal Forms has 30 GATE CSE PYQs across 20 papers from 2011 to 2026. 4 of them are 1-mark NAT questions like this one, and GATE CSE 2014 Set 2 has 2.
How GATE tests Integrity Constraints and Normal FormsIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.