These notes cover the full Database Management Systems course for BCA in four units. Each unit is split into short topics that take about 10 to 20 minutes to read, with worked examples, common mistakes and practice questions with answers.

What you will be able to do

  • Design a database with ER diagrams and convert it to relational tables.
  • Write SQL queries with joins, grouping, views, procedures and triggers, and normalise tables to BCNF.
  • Explain transactions, locking and indexing and choose indexes sensibly.
  • Use MongoDB for basic CRUD and describe NoSQL, big data, database security and data warehousing.

Who this is for

BCA students studying Database Management Systems (course code CC202), and anyone who wants a plain-English walk through the same syllabus. Start at Unit I unless you already know the basics.

Syllabus

Unit I: Database Concepts and Design

Topic Time
Introduction to Databases and DBMS 5 min
Data Models 5 min
Keys and Constraints 5 min
Entity-Relationship Model 5 min
Relational Model and Schema 5 min
Unit I review: summary, glossary and questions 10 min

Unit II: Relational Algebra, SQL and Normalization

Topic Time
Relational Algebra and Calculus 5 min
SQL Basics: DDL and DML 5 min
SQL Joins 5 min
Advanced SQL: Views, Procedures and Triggers 5 min
Functional Dependencies and Normalization 5 min
Unit II review: summary, glossary and questions 10 min

Unit III: Transactions, Storage and Indexing

Topic Time
Transactions and ACID Properties 5 min
Concurrency Control and Locking 5 min
File Organization and Indexing 5 min
Index Selection and Performance Tuning 5 min
Unit III review: summary, glossary and questions 10 min

Unit IV: NoSQL, Security and Advanced Topics

Topic Time
Introduction to NoSQL 5 min
MongoDB CRUD Operations 5 min
Big Data Technologies: Hadoop, MongoDB and Cassandra 5 min
Database Security 5 min
Data Warehousing, OLAP and Data Mining 5 min
Unit IV review: summary, glossary and questions 10 min

How to study these notes

  1. Read one topic per sitting and try each worked example on paper before reading the solution.
  2. Answer the practice questions first, then check the answers at the end of the topic.
  3. Finish each unit with its review page and the question bank.

Sources

  • Official BCA syllabus Database Management Systems, course code CC202