Home › GATE CS › PYQs › Databases

Databases (DBMS) — GATE CS Previous Year Questions

Practise GATE Databases (DBMS) previous year questions, organized by topic. Filter by year, marks and MCQ, MSQ or NAT question type. Browse free previews; full access may require a paid plan.

Mapped syllabus topics

  • ER Model
  • Relational Model: Relational Algebra & Tuple Calculus
  • SQL
  • Integrity Constraints & Normal Forms
  • File Organization & Indexing (B/B+ Trees)
  • Transactions & Concurrency Control

Public question previews

  • 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? (2026 · 1 mark · MSQ)
  • In the context of relational database normalization, which of the following statements is/are true? (2026 · 1 mark · MSQ)
  • Consider a relational database schema with two relations R(P, Q) and S(X, Y). Let E = {⟨u⟩ | ∃v ∃w ⟨u, v⟩ ∈ R ∧ ⟨v, w⟩ ∈ S} be a tuple relational calculus expression. Which one of the following relational algebraic expressions is equivalent to E ? (2026 · 2 marks · MCQ)
  • Consider a relational database schema with a relation R(A, B, C, D). If {A, B} and {A, C} are the only two candidate keys of the relation R, then the number of superkeys of relation R is ______. (answer in integer) (2026 · 2 marks · NAT)
  • Consider concurrent execution of two transactions T1 and T2 in a DBMS, both of which access a data object A. For these two transactions to not conflict on A, which one of the following statements must be true? (2026 · 1 mark · MCQ)