Relational Schema: GATE CS Previous Year Questions

Relational Schema · Databases

18 questions · asked in 13 of 27 years (2000–2026)

MCQ 10 · MSQ 3 · NAT 51-mark 13 · 2-mark 5

2000Questions per year2026

Questions 1–5 of 18

Q1GATE 2026 (Session 1)1 markMSQ
Let P,Q,RP, Q, R and SS be the attributes of a relation in a relational schema. Let X→YX \rightarrow Y indicate functional dependency in the context of a relational database, where X,Y⊆{P,Q,R,S}X, Y \subseteq\{P, Q, R, S\}.

Which of the following options is/are always true?

One or more options are correct.

Q2GATE 2026 (Session 1)2 marksNAT
Consider a relational database schema with a relation R(A,B,C,D)R(A, B, C, D). If {A,B}\{A, B\} and {A,C}\{A, C\} are the only two candidate keys of the relation RR, then the number of superkeys of relation RR is ________. (answer in integer)

Q3GATE 2025 (Session 2)2 marksMSQ
Consider the following relational schema along with all the functional dependencies that hold on them.

R1(A,B,C,D,E):{D→E,EA→B,EB→C}R1(A, B, C, D, E): \{ D \to E, EA \to B, EB \to C \}
R2(A,B,C,D):{A→D,A→B,C→A}R2(A, B, C, D): \{ A \to D, A \to B, C \to A \}

Which of the following statement(s) is/are TRUE?

One or more options are correct.

Q4GATE 2024 (Session 1)2 marksMSQ
The symbol →\rightarrow indicates functional dependency in the context of a relational database. Which of the following options is/are TRUE?

One or more options are correct.

Q5GATE 2024 (Session 2)2 marksNAT
A functional dependency F:X→YF:X \rightarrow Y is termed as a useful functional dependency if and only if it satisfies all the following three conditions:

XX is not the empty set. YY is not the empty set. Intersection of XX and YY is the empty set.

For a relation RR with 4 attributes, the total number of possible useful functional dependencies is ______

Keep practising

Topics in Databases

All CS topics ›