IBPS IT Officer · Government IT exam preparation
DBMS Notes: Concepts, Solved Problems & MCQs
Choose a topic to study its rules, work through an example and test yourself. The 22 lessons cover SQL, database design, transactions, indexing, security and recovery.
DBMS topics
No matching topic. Try SQL, keys or recovery.
01 Foundations
- DBMS & RDBMS
Three-schema architecture, data independence and relational terminology
- ACID properties
ACID failure diagnosis and the isolation-versus-consistency trap
- Database models
Model identification, schema levels and representation of relationships
02 Keys & constraints
- Keys & attribute closure
Attribute closure, minimality, prime attributes and counting superkeys
- SQL constraints
NULL logic, referential actions and composite constraints
03 SQL
- DDL: CREATE, ALTER, DROP
DROP, DELETE and TRUNCATE without misleading rollback rules
- DML: SELECT, INSERT, UPDATE, DELETE
NULL, duplicate rows, safe predicates and logical query order
- DCL: GRANT & REVOKE
Grant chains, role inheritance and SQL permissions
- Joins
Join cardinality, NULL and the ON-versus-WHERE trap
- Subqueries, grouping & sets
COUNT, grouping, correlated subqueries and set operations
04 Database design
- Normalization: 1NF to 5NF
Formal 2NF/3NF/BCNF tests, anomalies, 4NF and 5NF
- Dependencies & decomposition
Armstrong’s rules, minimal cover and lossless decomposition
- ER model & mapping
Weak entities, participation and ER-to-relation mapping
05 Transactions & concurrency
- Transactions & schedules
Transaction states and recoverable, cascadeless and strict schedules
- Concurrency & deadlocks
Conflict graphs, lock compatibility, 2PL and deadlock prevention
06 Indexes
- Clustered & nonclustered indexes
Dense/sparse indexes, selectivity, covering and composite keys
- B+ trees & hashing
B+ tree capacity calculations and hashing limits
07 Security
- Database security
DAC, MAC, RBAC, auditing and protection boundaries
- SQL injection prevention
Parameters, unsafe dynamic SQL and second-order injection
08 Analytics
- OLTP & OLAP
Workload, grain, cube operations and schema trade-offs
- Warehousing & mining
Warehouse properties, star/snowflake schemas and mining tasks
09 Recovery
- Backup & recovery
WAL, UNDO/REDO, checkpoints and restore chains
Quick revision: rules that solve questions
| Concept | Meaning | Example / distinction |
|---|---|---|
| Keys | X is a superkey if X⁺ contains every attribute | Remove unnecessary attributes to test candidate-key minimality |
| Normalization | 3NF: determinant is a superkey OR right side is prime | BCNF removes the prime-attribute exception |
| SQL NULL | WHERE keeps TRUE, not UNKNOWN | COUNT(*) counts rows; COUNT(column) ignores NULL |
| Joins | Repeated matches multiply | 2 left matches × 3 right matches = 6 result rows |
| Serializability | Acyclic precedence graph ⇔ conflict-serializable | Read–read is not a conflict |
| Recovery | STEAL may need UNDO; NO-FORCE may need REDO | Log-before-data is the central WAL rule |
A DBMS manages stored data. An RDBMS is a DBMS based on relations. Degree counts attributes; cardinality counts rows. A schema is the design, while an instance is the data at a given time. Open the relevant lesson for definitions, exceptions and solved steps.
Verified previous-year DBMS questions
Six questions from GATE 2024 and 2025, checked against official papers and answer keys. Wording is paraphrased; original question numbers and source links are included. These are GATE questions useful for DBMS preparation, not questions claimed to be from IBPS.
DBMS application practice
Ten original questions across the core topics. Answers stay hidden until you respond; use “Review mistakes” to revisit incorrect answers.
Reference sources
Database System Concepts · PostgreSQL SQL tutorial · Official GATE paper archive
Independent study notes; check your examination’s current syllabus for scope. Original practice questions and verified, paraphrased past-paper questions are labelled separately.