GATE CS 2026, set 1 · Question 30 · Databases · Multiple select (MSQ) · 1 mark · no negative marks

Let P, Q, R and S be the attributes of a relation in a relational schema. Let X → Y indicate functional dependency in the context of a relational database, where X, Y ⊆ {P, Q, R, S}.
Which of the following options is/are always true?

  1. (A) If ( {P, Q} → {R} and {P} → {R} ), then {Q} → {R}
  2. (B) If {P, Q} → {R}, then ( {P} → {R} or {Q} → {R} )
  3. (C) If ( {P} → {R} and {Q} → {S} ), then {P, Q} → {R, S}
  4. (D) If {P} → {R}, then {P, Q} → {R}
Answer

Answer (C), (D)

Answer from the official GATE CS 2026 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes