Skip to content
Official PYQ · 2011

GATE CS 2011 Q12 — Normal Forms

Explain with AI

Consider a relational table with a single record for each registered student with the following attributes:

  1. Registration_Num:\text{Registration\_Num:} Unique registration number for each registered student
  2. UID:\text{UID:} Unique identity number, unique at the national level for each citizen
  3. BankAccount_Num:\text{BankAccount\_Num:} Unique account number at the bank. A student can have multiple accounts or joint accounts. This attribute stores the primary account number.
  4. Name:\text{Name:} Name of the student
  5. Hostel_Room:\text{Hostel\_Room:} Room number of the hostel

Which of the following options is INCORRECT?

Choose one option
View worked solution

Answer: A

To determine which option is INCORRECT, let's analyze each statement based on the properties of the attributes in the relation:

  1. Option B: Registration_Num\text{Registration\_Num} can be a primary key
    Since each student has a unique registration number and the table contains exactly one record per registered student, Registration_Num\text{Registration\_Num} uniquely identifies each tuple. Thus, it is a candidate key and can be chosen as the primary key. This statement is correct.
  2. Option C: UID\text{UID} is a candidate key if all students are from the same country
    UID\text{UID} is unique at the national level. If all students belong to the same country, every student will have a unique UID\text{UID}. Since there is a single record per student, UID\text{UID} uniquely identifies each record. Thus, it is a candidate key. This statement is correct.
  3. Option D: If SS is a super key such that S∩UIDS \cap \text{UID} is NULL\text{NULL} then S∪UIDS \cup \text{UID} is also a superkey
    By definition, any superset of a super key is also a super key. Since SS is already a super key, adding any attribute(s) to it (including UID\text{UID}) will result in a super key. This statement is correct.
  4. Option A: BankAccount_Num\text{BankAccount\_Num} is a candidate key
    The problem states that students can have joint accounts. If two different students share a joint bank account and both list it as their primary account, the BankAccount_Num\text{BankAccount\_Num} value will be the same for both students. Since it is not guaranteed to be unique, BankAccount_Num\text{BankAccount\_Num} cannot be a candidate key. This statement is incorrect.

Therefore, the incorrect option is A.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Normal Forms questions