GateAI
Integrity Constraints and Normal Forms

GATE CSE 2011 · Q12

MCQ1 markEasy

Time

Consider a relational table with a single record for each registered student with the following attributes. 1. Registration_NumRegistration\_Num: Unique registration number of each registered student 2. UIDUID: Unique identity number, unique at the national level for each citizen 3. BankAccount_NumBankAccount\_Num: Unique account number at the bank. A student can have multiple accounts or joint accounts. This attribute stores the primary account number. 4. NameName: Name of the student 5. Hostel_RoomHostel\_Room: Room number of the hostel Which of the following options is **INCORRECT**?

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: A) BankAccount\Num is a candidate key

Integrity Constraints and Normal Forms

A candidate key must uniquely identify each record (tuple) in a relation.

  • (A) is INCORRECT (and hence the correct answer): Since students can hold *joint accounts*, two or more different students may share the same primary bank account number. Therefore, BankAccount_NumBankAccount\_Num is not guaranteed to be unique across all student tuples and cannot serve as a candidate key.

  • (B) is correct: Registration_NumRegistration\_Num is unique for each registered student, so it can be chosen as the primary key.

  • (C) is correct: UIDUID is unique at the national level. If all students belong to the same country, their UIDUID values will be unique across the relation, making it a candidate key.

  • (D) is correct: If SS is a superkey, adding any set of attributes to SS (such as UIDUID) preserves the superkey property (S∪UIDS \cup UID remains a superkey).

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Integrity Constraints and Normal Forms previous year question is Q12 of the GATE CSE 2011 paper. Find more GATE CSE PYQs on Integrity Constraints and Normal Forms in Databases, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

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.

One GATE CSE PYQ every morning

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 in GATE CSE

Integrity Constraints and Normal Forms has 30 GATE CSE PYQs across 20 papers from 2011 to 2026. 10 of them are 1-mark MCQs like this one, and it is the only one in GATE CSE 2011.

How GATE tests Integrity Constraints and Normal Forms

More from GATE CSE 2011

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2011 · Q12 · MCQ

Consider a relational table with a single record for each registered student with the following attributes. 1. Registration\Num: Unique registration number of each registered student 2. UID: Unique identity number, unique at the national level for each citizen 3. 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: Name of the student 5. Hostel\Room: Room number of the hostel Which of the following options is INCORRECT?

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.