GATE CSE 2026 Session 1 Q65: Number of superkeys with candidate keys {A,B} and {A,C}
- Databases
- 2 marks
- NAT
- No negative marking
Question
Consider a relational database schema with a relation . If and are the only two candidate keys of the relation , then the number of superkeys of relation is ______. (answer in integer)
Try it: numerical answer: type the value
Numerical answer. No negative marking.
Show answer and explanation
Answer: 6 (official GATE 2026 final answer key)
Concept used: Superkeys are supersets of candidate keys; count with inclusion–exclusion.
First step: Supersets of AB: ; supersets of AC: 4; supersets of ABC: 2; so .
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 2026 Session 1 CS question paper and final answer key, organised by IIT Guwahati. 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 2 · Q15Match DBMS schema levels with what they describe
- 2026 Session 2 · Q20When two transactions do not conflict on a data item
- 2026 Session 2 · Q42Armstrong's axioms needed to prove the Union rule