DBMS FPP
DBMS FPP
Year / Semester : II / IV
Prepared by Approved by
Page | 1
1. College and Department Vision Mission and Program Educational Objectives
● To set a benchmark in the field of engineering education by providing quality technical education
that fosters the spirit of learning, research and globally competent professionalism.
● To impart education that caters to the growing challenges of the industry and social needs of our
nation.
● To constantly upgrade the standards of teaching and learning in the field of engineering and
technology while promoting a healthy research atmosphere.
● To foster a healthy symbiosis with the industry through meaningful and dynamic interactions.
Page | 2
● To establish a pioneering presence in the domain of
Computer Science and Engineering by delivering excellence in technical learning that nurtures a
culture of innovation, research and competent professionalism.
● To empower the next generation of Computer Science and Engineering professionals attuned to
industry evolution and national progress.
● To drive a continuous advancement in teaching and learning standards in the field of Computer
Science and Engineering by fostering an enriching research milieu.
● To forge a strong and symbiotic relationship with the industry, facilitating dynamic interactions that
bridge academia and real-world applications, nurturing innovation and productive collaboration.
PEO I
Page | 3
● Graduates can pursue higher education and
research or have a successful career in industries associated with Computer
Science and Engineering.
PEO II
● Adapt the emerging technological changes for the global social benefits.
PEO III
1. Engineering knowledge: Apply the knowledge of mathematics, science, engineering fundamentals and
an engineering specialization to the solution of complex engineering problems.
2. Problem analysis: Identify, formulate, review research literature, and analyze complex engineering
problems reaching substantiated conclusions using first principles of mathematics, natural sciences, and
engineering sciences.
3. Design/development of solutions: Design solutions for complex engineering problems and design
Page | 4
system components or
processes that meet the
specified needs with appropriate consideration for the public health and safety, and the cultural, societal,
and environmental considerations.
4. Conduct investigations of complex problems: Use research-based knowledge and research methods
including design of experiments, analysis and interpretation of data, and synthesis of the information to
provide valid conclusions.
5. Modern tool usage: Create, select, and apply appropriate techniques, resources, and modern engineering
and IT tools including prediction and modeling to complex engineering activities with an understanding
of the limitations.
6. The engineer and society: Apply reasoning informed by the contextual knowledge to assess societal,
health, safety, legal and cultural issues and the consequent responsibilities relevant to the professional
engineering practice.
7. Environment and sustainability: Understand the impact of the professional engineering solutions in
societal and environmental contexts, and demonstrate the knowledge of, and need for sustainable
development.
8. Ethics: Apply ethical principles and commit to professional ethics and responsibilities and norms of the
engineering practice.
9. Individual and team work: Function effectively as an individual, and as a member or leader in diverse
teams, and in multidisciplinary settings.
10. Communication: Communicate effectively on complex engineering activities with the engineering
community and with society at large, such as, being able to comprehend and write effective reports and
design documentation, make effective presentations, and give and receive clear instructions.
11. Project management and finance: Demonstrate knowledge and understanding of the engineering and
management principles and apply these to one ‘s own work, as a member and leader in a team, to
manage projects and in multidisciplinary environments.
12. Life-long learning: Recognize the need for, and have the preparation and ability to engage in
independent and life-long learning in the broadest context of technological change.
Page | 5
3. Course Syllabus
UNIT IV IMPLEMENTATIONTECHNIQUES 9
RAID – File Organization – Organization of Records in Files – Data dictionary Storage – Column Oriented
Storage– Indexing and Hashing –Ordered Indices – B+ tree Index Files – B tree Index Files – Static
Hashing – Dynamic Hashing – Query Processing Overview – Algorithms for Selection, Sorting and join
operations – Query optimization using Heuristics - Cost Estimation.
Page | 6
UNIT V
9
Parallel Databases: Architecture, Data Storage, Transaction
Processing, Query processing and optimization - Distributed Databases: Architecture, Data Storage,
Transaction Processing, Query processing and optimization – NOSQL Databases: Introduction – CAP
Theorem –Graph Databases. Fire base Real time database.
TOTAL: 45 PERIODS
TEXT BOOKS:
1. Abraham Silberschatz, Henry F. Korth, S. Sudharshan, “Database System Concepts”, Seventh Edition,
McGraw Hill, 2020. (Unit I & II).
2. Ramez Elmasri, Shamkant B. Navathe, “Fundamentals of Database Systems”,Seventh Edition, Pearson
Education, 2017. (Unit III, IV & V).
REFERENCES:
1. Ramakrishna Gehrke,” Database Management Systems” Mcgraw Hill Publication, 3rd Edition 2011.
2. Serge Abiteboul, Richard Hull and Victor Vianu, Foundations of Databases. Addison- Wesley. 3.
G.K.Gupta, “Database Management Systems”, Tata McGraw Hill, 2011. 4. Neil Smyth. Firebase Essentials -
Android Edition. 2016.
Page | 7
4. Course Objectives and Course Outcomes
COURSE OBJECTIVES
CO Course Objective Statements
CO1 To introduce the concept of Relational Databases, relational algebra and SQL.
CO2 To emphasize the concepts of ER diagrams and normalization techniques.
CO3 To introduce the fundamental concepts of transaction, concurrency and recovery processing.
To provide understanding of internal storage structures utilizing various file and indexing
CO4
techniques.
To evaluate statistical database security measures and understand their significance in protecting
CO5
sensitive information.
COURSE OUTCOMES
CO Course Outcome Statements
CO1 Construct SQL Queries using relational algebra.
CO2 Design database using ER model and normalize the database.
Develop queries for managing transaction processing and ensuring the coherence of the
CO3
database.
Compare and contrast various indexing strategies and apply the knowledge to tune the
CO4
performance of the database.
Assess the disparities between advanced databases and Relational Databases, and select a
CO5
suitable database for the specified requirement.
CO PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12 PSO1 PSO2 PSO3
CO 1 2 2 3 2 1 - - - 2 1 1 1 2 1 3
CO 2 3 1 1 1 1 - - - 2 3 3 3 3 1 2
CO 3 3 2 3 2 1 - - - 2 1 1 2 2 3 3
CO 4 1 2 3 2 - - - - 3 2 3 3 1 2 3
CO 5 1 1 3 3 2 - - - 1 3 3 1 2 2 2
Average 2.0 1.6 2.6 2.0 1.5 - - - 2.0 2.0 2.0 2.0 2.0 1.8 2.6
Page | 8
5. Course Plan (Theory)
Books
Session Proposed Topics to be Text/ Delivery Real-Time
No Date/Period covered Reference Method Activity Example
Discuss challenges
in Managing
Purpose of Database E-commerce
1 T1 Lecture Customer Orders
System Website
in an E-commerce
Website
Managing
Views of data & Data Group activity to Employee
2 T1 Lecture
Models identify examples. Records in an
Organization
Discuss inductive Managing an
Database System Lecture
3 T1 bias in small Online Library
Architecture + Demo
groups. System.
Managing a
Discuss inductive
Introduction to Student
4 T1 Lecture bias in small
relational databases Enrollment
groups.
System
Managing
Lecture Discuss inductive
Relational Model & Employee and
5 T1 + bias in small
Keys Department
Practical groups.
Data
6 Relational Algebra T1 Lecture Group activity to A company's
Page | 9
identify examples.
database with
two relations:
Discuss key
Lecture Online Retail
7 SQL Fundamentals T1 components of
+ Demo Database
SQL
Discuss key E-Commerce
Advanced SQL Lecture
8 T1 components of Database
features + Q&A
SQL Analytics
Perform dynamic
Embedded & Lecture transactions like Banking
9 T1
Dynamic SQL + Demo deposits or System
withdrawals
No. of Periods allotted by the University: 9
No. of Periods Planned: 9
Books
Session Proposed Topics to be Text/ Delivery Real-Time
No Date/Period covered Reference Method Activity Example
Create a junction
entity called
Order_Details
with attributes
Entity-Relationship
Order_ID and An online store
1 model & E-R
Product_ID as needs to manage
Diagrams
foreign keys, data about
along with products,
Quantity and customers, and
T1 Lecture Price. orders.
Diagram
Enhanced-ER Representation EER Model for
2
Model Lecture for E-Commerce an E-Commerce
T1 + Demo System Platform
ER-to-
Relational
ER-to-Relational
3 Lecture Mapping for an
Mapping
+ Mapping Entities E-Commerce
T1 Practical to Tables System
4 Functional T1 Lecture Consider an e- E-Commerce
Dependencies commerce
database system
Page | 10
with entities for
Customers,
Orders, Products,
and Payments.
Consider a
relation for an e-
commerce system
Non-loss
5 that tracks
Decomposition
customers,
Lecture orders, and
T1 + Demo products E-Commerce
Consider a Sales Normalizing a
First, Second, Third table that records Sales Database
6
Normal Forms orders, products,
T1 Lecture and customers:
Dependency Library
Preservation & Group activity to System.systems.
7
Boyce-Codd identify
Normal Form T1 Lecture examples.
Multi-valued Discuss key
Dependencies and components of
Fourth Normal Employee
Form database where
8
each employee
has multiple employee Skills
skills and and
T1 Lecture certifications. Certifications
Group activity to University
Join Dependencies identify Database
9 and Fifth Normal examples. (Course,
Form Instructor, and
T1 Lecture Students)
No. of Periods allotted by the University: 9
No. of Periods Planned: 9
Books
Session Proposed Topics to be Text/ Delivery Real-Time
No Date/Period covered Reference Method Activity Example
Page | 11
Transaction Solve how these
1 Concepts & ACID properties work
Properties T2 together to ensure bank transfer
that transactions system using
are executed ACID
safely and without properties.
Lecture data corruption
Schedule and Group activity to Banking
2 T2
Immediate update Lecture identify examples. Systemn.
Simulating a
Shadow paging & Banking
3 T2
ARIES Algorithm Discuss key Transaction
Lecture components Recovery
Banking System
4 Serializability T2 Discuss key with
Lecture components Serializability
practical activity
with SQL
Transaction support
5 T2 Lecture statements for
in SQL
+ handling a bank
Practical transfer scenarios. Banking System
Simulate
Need for
concurrency Banking System
Concurrency -
6 T2 control using a with
Concurrency
lock-based Concurrency
Control
Lecture protocol Control
Two Phase Locking Implementing
7 , Timestamp – T2 MVCC in a Bank
Multiversion Lecture Transfer Scenario Banking System
Simulating
Multiple Multiple
Granularity locking Granularity
8 T2
& Deadlock Locking and Deadlock
Handling Deadlock Handling in a
Lecture Handling Bank System
Implementing
Recovery Concepts Recovery Based
9 - Recovery based T2 on Deferred Recovery Based
on deferred Updates in a on Deferred
Lecture Banking System Updates
No. of Periods allotted by the University: 9
No. of Periods Planned: 9
Books
Session Proposed Topics to be Text/ Delivery Real-Time
No Date/Period covered Reference Method Activity Example
Parallel
1 Databases: T2 Parallel Database Parallel Database in
Architecture Lecture Query Execution E-Commerce
Data Storage & Implementing a
2 Transaction T2 Transaction in an
Processing Lecture Online Store Online store
Query Query Optimization in Library
3 processing and T2 a Library Management
Optimization Lecture Management System System
Distributed Simulating a
4 Databases: T2 Distributed Query in a Global Retail
Architecture Lecture Global Retail System System
Simulating Data
5 Data Storage T2 Storage in a File
Lecture System File Storage System
Transaction Lecture Simulating a
6 T2
Processing + Demo Transaction in a Bank Banking System
Query Lecture Simulating Query
7 processing and T2 + Processing and Query Optimization
Optimization Practical Optimization in a Large Database
NOSQL CAP Theorem
Databases: Simulating CAP (Consistency,
8 T2
Introduction - Theorem in a NoSQL Availability,
CAP Theorem Lecture Database Scenario Partition Tolerance)
Graph Graph Database
Databases & Building a Real-Time and Firebase
9 T2
Fire base Real Chat Application with Realtime Database
time database Lecture Firebase are used:
No. of Periods allotted by the University: 9
No. of Periods Planned: 9
TEXT BOOKS:
REFERENCE BOOKS:
T1 Ramakrishna Gehrke,” Database Management Systems” Mcgraw Hill Publication, 3rd Edition 2011.
T2 Serge Abiteboul, Richard Hull and Victor Vianu, Foundations of Databases. Addison- Wesley.
T3 G.K.Gupta, “Database Management Systems”, Tata McGraw Hill, 2011.
T4 Neil Smyth. Firebase Essentials - Android Edition. 2016.
ASSIGNMENTS
Assignment 1: (CO1)
Project Title: Library Management System
Project Description:
A Library Management System is a basic project to manage books, authors, and library members. The
system allows tracking issued books, returned books, and overdue fines while leveraging relational database
concepts.
SQL - Create tables, insert data, and retrieve basic information.
Dynamic SQL: Execute dynamically constructed queries based on user input (e.g., search for books by
title or author).
Design the Database Schema:
Page | 15
Books Table: BookID, Title,
AuthorID, Genre, YearPublished, AvailableCopies.
Authors Table: AuthorID, Name, Nationality.
Members Table: MemberID, Name, ContactInfo.
Transactions Table: TransactionID, BookID, MemberID, IssueDate, DueDate, ReturnDate, Fine.
Assignment 2: (CO2)
Project Title: Student-Course Enrollment System
Problem Statement: Design a database for a system that manages students, courses, and their enrollments,
ensuring normalized relationships and dependency preservation.
1. Entity-Relationship Model (ER Model):
Entities:
Student: Represents students in the system.
Course: Represents courses offered.
Enrollment: Captures the many-to-many relationship between students and courses.
Relationships:
A student can enroll in multiple courses.
A course can have multiple students.
Attributes:
Student: StudentID (PK), Name, Email.
Course: CourseID (PK), Title, Credits.
Enrollment: EnrollmentID (PK), StudentID (FK), CourseID (FK), Grade.
ER Diagram:
Represent entities (Student, Course, Enrollment).
Show relationships between them (Enrolled In with a many-to-many relationship).
Add attributes to entities and primary/foreign keys.
Assignment 3: (CO2)
Page | 16
Project Title: Banking System with
Transaction Handling
Problem Statement: Design a database system to manage bank accounts and simulate money transfers
between accounts, ensuring ACID properties, concurrency, and recovery.
ACID Properties in Money Transfer
Task: Simulate a money transfer between two accounts using SQL transactions while ensuring ACID
properties.
Atomicity: The transfer should either fully complete (debit + credit) or not occur at all.
Consistency: Total money in all accounts remains constant.
Isolation: Concurrent transfers shouldn't interfere with each other.
Durability: Completed transfers should persist even after failures.
Assignment 4: (CO2)
Project Title: Employee Database with Indexing and Query Optimization
1. Database Design Design a simple schema for storing employee records.
Employee Table:
Attributes: EmployeeID (PK), Name, Department, Salary.
2. SQL Schema
3. File Organization
Assume the records are stored in a sorted order by EmployeeID.
Assignment 5: (CO5)
Project Title: Collaborative Task Manager using Firebase Realtime Database
Problem Statement:
Build a basic task management system where multiple users can collaboratively add, update, and delete
tasks in real-time, while understanding the CAP theorem (Consistency, Availability, Partition Tolerance)
and exploring the principles of NoSQL databases.
Expected Outcome
1. Real-Time Collaboration: Multiple clients can interact with the task list simultaneously, seeing
updates live.
2. NoSQL Data Modeling: Understand hierarchical, JSON-like data storage.
3. Transaction Handling: Ensure safe updates to the database.
4. CAP Theorem Practicality: Understand how Firebase balances consistency and availability.
Page | 18
Activity Based Learning
Page | 20