LearnFrenzy
Sign in Take a free test

DBMS & SQL · Topic 11 of 11

GATE-Style DBMS Questions (MSQ & NAT): questions with answers

Multiple-select and numerical-answer DBMS questions in the GATE CSE pattern: candidate keys, normal forms, lossless joins, dependency preservation, schedules, B+ trees and SQL counts.

Questions
45
Timed sets
3
Queries executed
39
Your accuracy
–

What this topic covers

11 subtopics
  • Transactions8
  • SQL7
  • Indexing6
  • Keys6
  • Decomposition4
  • Relational algebra4
  • Functional dependencies3
  • Normal forms3
  • Concurrency control2
  • ER model1
  • Recovery1
  • Beginner 15
  • Intermediate 15
  • Advanced 15

About this topic

GATE DBMS questions reward precise reasoning: find every candidate key, decide the highest normal form, check whether a decomposition is lossless, classify a schedule. Here every multiple-select question was checked by a program that tests each option (closures, the chase test, precedence graphs), SQL counts were produced by running the query, and every numerical answer was computed. These are pattern questions written for practice, not previous-year questions.

Free preview

Sample questions

Try each one first, then open the answer for the explanation and why the other options are wrong.

Question 1 Keys Beginner Practice Answer computed One or more answers

Which of these are candidate keys?

R(A, B, C, D, E) with FDs A → B, BC → E, ED → A

ACD
CDE
BCD
ABD
CD
Show answer and explanation
Correct answer ABC

Explanation

C and D appear on no right side, so every key contains CD; CD⁺ = CD is not enough. Adding A, B or E each gives all attributes, and each of ACD, BCD, CDE is minimal. ABD lacks C.

Question 2 Keys Intermediate Practice Answer computed

How many candidate keys does R have?

R(A, B, C, D, E, F) with FDs AB → C, C → D, D → A, E → F

The answer is a number – work it out, then open the solution.

Show answer and explanation
Correct answer 3

Explanation

B and E are on no right side, so every key contains BE (BE⁺ = BEF). Adding A, C or D completes it: ABE, BCE, BDE – all minimal.

Question 3 Keys Advanced Practice Answer computed One or more answers

Which of these are candidate keys?

R(A, B, C, D, E) with FDs AB → C, C → D, D → B, D → E

AC
AB
A
BC
AD
Show answer and explanation
Correct answer ABE

Explanation

A is on no right side, so every key contains A; A⁺ = A. AB⁺, AC⁺ and AD⁺ all reach ABCDE (C → D → B, E). BC lacks A.

42 more questions in the timed setsSame format as the samples, with a timer, a question palette and a full review at the end.
Start practising

DBMS & SQL

All 11 topics

Topics, levels and full mocks
  1. 01 DBMS and SQL Fundamentals45 questions · 3 levels
  2. 02 Joins and Subqueries45 questions · 3 levels
  3. 03 Aggregates and GROUP BY45 questions · 3 levels
  4. 04 Window Functions45 questions · 3 levels
  5. 05 Keys and Constraints45 questions · 3 levels
  6. 06 ER Model and Relational Mapping45 questions · 3 levels
  7. 07 Normalization45 questions · 3 levels
  8. 08 Transactions and Concurrency45 questions · 3 levels
  9. 09 Indexing and Query Optimisation45 questions · 3 levels
  10. 10 Advanced SQL Queries45 questions · 3 levels
  11. 11 GATE-Style DBMS Questions (MSQ & NAT)45 questions · 3 levels

Search LearnFrenzy

Esc

Quick links