GATE CS 2026 Set 1 | Question 65

Databases › Relational Model & Normalization · NAT · 2 marks · Answer: 6

  1. Question 65Databasesnat2 marks
    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)

    Answer: 6

    Solution

    Answer: 6 A superkey is any superset of a candidate key. Use inclusion–exclusion: • Supersets of AB: C and D are free, so . • Supersets of AC: B and D are free, so . • Supersets of both (contain ABC): D is free, so . Total : AB, AC, ABC, ABD, ACD, ABCD.

More GATE PYQ on Relational Model & Normalization

All GATE CS Databases PYQ →

Attempt GATE CS 2026 Set 1 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →