DBMS Practice Questions With Answers: MCQs, Short & Long Questions
Use this page to actively practice Database Management System concepts instead of only reading notes. You get unit-wise DBMS MCQs with instant checking, short-answer questions for 2–5 marks, long-answer questions for 8–10 marks, and focused practice on SQL, normalization, relational algebra, transactions, recovery and concurrency control.
Use the one-page DBMS revision hub to refresh the complete syllabus first.
Use the semester question bank for unit-wise 2, 5 and 10-mark model answers.
Open DBMS Important Questions With AnswersPart A: DBMS MCQ Practice Challenge
Select one answer and press Check Answer. Try to answer from memory before opening detailed topic links.
Part B: DBMS Short Answer Practice
Try each question yourself first. Then open the model points and compare your answer.
S1Define DBMS and write two advantages.2 Marks
Model Points
A DBMS is software used to create, store, retrieve, update and control data in a database.
- Reduces unnecessary data duplication.
- Improves security, consistency and controlled access.
S2Differentiate schema and instance.2 Marks
Schema is the database structure or blueprint. Instance is the actual data stored at a particular time. Schema changes less frequently, while instance changes whenever records change.
S3What is a primary key? How is it different from a foreign key?5 Marks
A primary key uniquely identifies tuples in its own relation. A foreign key references a key in another relation to create a relationship between tables.
S4What is referential integrity?2 Marks
Referential integrity ensures that a foreign-key value refers to a valid parent-key value or follows the permitted NULL rule.
S5Differentiate WHERE and HAVING in SQL.5 Marks
WHERE filters rows before grouping. HAVING is commonly used to filter grouped results after GROUP BY.
S6What is functional dependency?2 Marks
X → Y means the value of X determines the corresponding value of Y. Example: RollNo → StudentName.
Revise Functional DependencyS7Differentiate 3NF and BCNF.5 Marks
BCNF is generally stricter than 3NF. In BCNF, every determinant of a non-trivial functional dependency must be a super key.
S8What is a transaction? List the ACID properties.2 Marks
A transaction is a logical unit of database work. ACID stands for Atomicity, Consistency, Isolation and Durability.
Revise Transactions & ACIDS9What is deadlock in DBMS?2 Marks
Deadlock occurs when transactions wait for resources held by one another and none can proceed.
Study DeadlockS10Explain shared and exclusive locks.5 Marks
A shared lock is commonly used for reading and can be compatible with other shared locks. An exclusive lock is used for writing and blocks conflicting access.
Part C: Long Answer Writing Practice
These are writing-room questions. First make your own structure, then compare with the model answer framework.
L1Explain DBMS architecture with 1-tier, 2-tier and 3-tier models.10 Marks
Model Structure
- Define DBMS architecture.
- Explain 1-tier with example.
- Explain 2-tier with client/database-server flow.
- Explain 3-tier with client/application/database flow.
- Add a simple diagram and comparison.
- Conclude with where 3-tier is useful.
L2Explain ER model, mapping constraints, generalization and aggregation.10 Marks
- Define ER model.
- Explain entity, attribute and relationship.
- Show 1:1, 1:M and M:N mapping constraints.
- Explain generalization and specialization.
- Explain aggregation.
- Add a labeled ER example.
L3Explain relational algebra operations with suitable examples.10 Marks
- Define relational algebra.
- Explain selection and projection.
- Explain union and set difference.
- Explain Cartesian product and rename.
- Explain join operations.
- Add one solved expression.
L4Explain SQL joins, subqueries and aggregate functions with examples.10 Marks
- Define joins and explain common join types.
- Write one join query.
- Define subquery with example.
- Explain COUNT, SUM, AVG, MIN and MAX.
- Explain GROUP BY and HAVING.
L5Normalize a relation up to 3NF and explain every step.10 Marks
- Write the original relation.
- Identify candidate key and functional dependencies.
- Convert to 1NF by ensuring atomic values.
- Remove partial dependency for 2NF.
- Remove transitive dependency for 3NF.
- Show final decomposed relations.
L6Explain BCNF, lossless join and dependency preservation.10 Marks
- Define BCNF.
- Explain why BCNF is stricter than 3NF.
- Define decomposition.
- Explain lossless join.
- Explain dependency preservation.
- Add a small decomposition example.
L7Explain transactions and ACID properties with a real-life example.10 Marks
- Define transaction.
- Use a bank-transfer example.
- Explain Atomicity.
- Explain Consistency.
- Explain Isolation.
- Explain Durability.
- Add transaction states if asked.
L8Explain conflict and view serializability.10 Marks
- Define serial and concurrent schedules.
- Define conflicting operations.
- Explain conflict serializability.
- Show precedence-graph method.
- Explain view serializability.
- Compare both concepts.
L9Explain database recovery using logs, checkpoints, UNDO and REDO.10 Marks
- Explain why failures require recovery.
- Define transaction log.
- Explain UNDO.
- Explain REDO.
- Explain checkpoint.
- Add a small failure example.
L10Explain concurrency control using locks, 2PL, timestamp ordering and MVCC.10 Marks
- Define concurrency control.
- Explain shared and exclusive locks.
- Explain two-phase locking.
- Explain timestamp ordering.
- Explain validation-based protocol.
- Explain MVCC.
- Compare the approaches briefly.
Special DBMS Practice Zones
These are the topics where doing problems is usually more useful than reading definitions repeatedly.
SQL Query Practice
Write a query to find CSE students with marks above 80 and sort them by marks in descending order.
SELECT Name, Marks
FROM Student
WHERE Department = 'CSE'
AND Marks > 80
ORDER BY Marks DESC;Normalization Practice
Given a relation and its functional dependencies, identify the candidate key first. Then check partial and transitive dependencies before decomposition.
Revise Functional Dependency Practice NormalizationRelational Algebra Practice
For every expression, first identify whether the question is asking you to filter rows, choose columns or combine relations.
Open Solved Relational Algebra ExamplesSerializability Practice
List conflicting operations, draw the precedence graph and check whether the graph contains a cycle.
Practice Serializability SchedulesWeak Topic? Study the Full DBMS Concept Before Retrying
Use these detailed lessons only when a practice question shows that a particular concept is weak.
DBMS Practice Questions FAQs
Quick guidance on how to use this practice page effectively.
How many DBMS MCQs should I practice before a semester exam?
There is no fixed number. Use MCQs to check whether you can recall definitions and distinguish similar concepts. If your score is low, revise the weak unit and try a fresh set later.
Should I memorize long DBMS answers?
It is usually better to remember the answer structure, key terms, diagram or example and the main explanation. This makes it easier to adapt the answer to the exact wording of the exam question.
Which DBMS topics need the most written practice?
SQL, relational algebra, normalization, serializability and concurrency-control problems usually benefit from active practice because they involve steps, queries, dependencies or schedules.
Where should I revise the full syllabus before practice?
Use the complete revision hub at DBMS Complete Revision Notes, then return to this page and test yourself.
Where can I find unit-wise important semester questions with model answers?
Use DBMS Important Questions for Semester Exams With Answers for a separate exam-writing focused question bank.
