CS2001 · Diploma / Programming · 4 credits

Database Management Systems

Relational models, SQL, transactions and the internals of how a database engine actually works.

Instructor Prof. Partha Pratim Das Term Every term Prereq CS1002

§ 1Calendar

  • Quiz 1—
  • Quiz 2—
  • End-term examination—

§ 2Previous Year Questions

  • DBMS weekwise PYQs

    Past questions sorted by week.

    discourse.onlinedegree.iitm.ac.inby Preethy ParthasarathyDiscourse login required

§ 3Resources

Course material2

Notes3

Extra SQL practice5

CS2001 · Diploma / Programming · 4 credits

Syllabus

The official course syllabus, transcribed from the IITM BS Data Science & Applications course booklet.

§ 1Course Description

This course provides a comprehensive introduction to databases and PostgreSQL, covering database management and design, along with key topics such as security, integrity, and concurrency.

Lectures-Tutorials-Practicals-Credits: 4-0-0-4

§ 2Faculty

§ 3Week-by-week

Week 1: Introduction to DBMS; Motivation and need for DBMS.

Week 2: Relational model; Introduction to SQL.

Week 3: SQL examples; Intermediate SQL; Advanced SQL.

Week 4: Formal relational query languages; Entity - Relationship (ER) model and database design.

Week 5: Database design - functional dependencies, keys, closure, canonical cover; Lossless join and dependency preservation.

Week 6: Normal forms; Multivalued dependencies and 4NF; Database design case studies; Temporal data; Problem solving on normalization.

Week 7: Application architecture; Web applications; SQL integration with programming languages; Python with PostgreSQL.

Week 8: Algorithms and complexity; Data structures; Storage and file structures.

Week 9: Indexing techniques; Hashing; Index design; B-trees and B+ trees.

Week 10: Transactions - serializability, recoverability; Concurrency control.

Week 11: Backup techniques; Recovery mechanisms; RAID and fault tolerance.

Week 12: Query processing and optimization; RDBMS architecture; NoSQL; DBMS overview and summary.

CS2001 · Diploma / Programming · 4 credits

OPPE

Practice material for the Database Management Systems online proctored programming exam.

§ 1Practice and past questions

Practice platform1

Question banks1

  • DBMS OPE PYQ resources

    Community thread collecting OPE questions. Not official.

    discourse.onlinedegree.iitm.ac.inDiscourse login required

SQL questions2

Python and PostgreSQL questions3

CS2001 · Diploma / Programming · 4 credits

Live sessions

Topics from past live sessions, each linked to the exact moment in the video.

§ 1May 2022 term

Weeks 5 and 6 summary session9
Quiz 2 revision session14
Week 9 session6
Week 10 activity session10
Week 10 open session12
Week 11 activity session8
Week 11 open session3

§ 2Jan 2022 term

Older sessions. Watch these if the ones above are not clear. Please watch all the tutorials for weeks 5 and 6, and use the tutorials for the ER diagram part.

Week 4 activity session1
Week 5 session1
Week 5 open session2
Week 6 normalisation1
Week 6 practice assignment1
Week 6 normalisation and decomposition1
Week 7 session1
Week 8 activity session2
Week 8 practice session5
Week 8 open session summary2
Week 9 practice session3
Week 9 open session3
Week 10 sessions1
Week 10 schedules and locking2
Week 10 open session2
Week 11 activity session1