DBMS MCQs

Database Management Systems MCQs covering ER modeling, relational algebra, normal forms, and transaction ACID properties.

24 MCQs1 subtopicsComputer ScienceAll Levels
Key Concept Overview & Exam Context

Review core principles of DBMS before answering questions. These questions simulate placement technical assessments (TCS, Infosys, Amazon), university exams (CS/IT), and technical certifications.

Target Readiness
Placements & Job Interviews
Question Format
Multiple-Choice with Explanations
Verified Solutions
Step-by-step Output Traces

Browse by Subtopic

All TopicsNormalization

DBMS MCQ Questions

Page 1 of 2 (24 total)
Q1

What is a candidate key in a relational database?

medium
Correct Answer: Any minimal set of attributes that can uniquely identify a row
Explanation:
A candidate key is a minimal super key, meaning no attribute can be removed from it without losing uniqueness. A table can have more than one candidate key, and one of them is chosen as the primary key.
Q2

In a database, what does referential integrity ensure?

medium
Q3

Which SQL statement is used to remove a table's structure along with all its data?

easy
Q4

What is the main purpose of an index in a database table?

medium
Q5

Which isolation level allows a transaction to read data that has been modified but not yet committed by another transaction?

hard
Q6

What is a deadlock in the context of database transactions?

medium
Q7

Which type of SQL join returns only the rows that have matching values in both tables?

easy
Q8

What is denormalization typically used for?

medium
Q9

In the context of database keys, what is a composite key?

easy
Q10

What does the term ACID stand for in database transactions?

easy
Q11

What is a view in SQL?

medium
Q12

Which normal form deals specifically with removing transitive dependencies?

hard
Q13

What is the purpose of a foreign key in a relational database?

easy
Q14

What is the difference between a clustered and a non-clustered index?

hard
Q15

What does the SQL GROUP BY clause do?

easy
Q16

What is a self join used for?

medium
Q17

Which of the following best describes a primary key?

easy
Q18

What is the purpose of the HAVING clause in SQL?

medium
Q19

What is a stored procedure?

medium
Q20

In database design, what is a many-to-many relationship typically implemented with?

medium
Showing 1 to 20 of 24 questions