0% found this document useful (0 votes)
95 views11 pages

DBMS - Course Pack

The document provides details about the Database Management System course for MCA students, including: 1) The course aims to introduce basic concepts of databases and database management systems with an emphasis on relational databases. Students will learn how to design databases using entity relationship diagrams and normalize schemas. 2) Students will gain practical experience using SQL and PL/SQL to create tables, manipulate data, and write stored procedures. 3) Upon completing the course, students will be able to understand database features for applications, analyze database schemas, design conceptual models using ER modeling, and implement query processing techniques in SQL and PL/SQL.

Uploaded by

Prashant jain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
95 views11 pages

DBMS - Course Pack

The document provides details about the Database Management System course for MCA students, including: 1) The course aims to introduce basic concepts of databases and database management systems with an emphasis on relational databases. Students will learn how to design databases using entity relationship diagrams and normalize schemas. 2) Students will gain practical experience using SQL and PL/SQL to create tables, manipulate data, and write stored procedures. 3) Upon completing the course, students will be able to understand database features for applications, analyze database schemas, design conceptual models using ER modeling, and implement query processing techniques in SQL and PL/SQL.

Uploaded by

Prashant jain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

COURSE PACK

DBMS-MCA-First SEM

SCHEME
The scheme is an overview of work-integrated learning opportunities and gets students out into the
real world. This will give what a course entails.

Course Title Database Management System Course Type Theory + Practical


Course Code E1PA104B Class MCA
Activity Credits Credit Hours Total Number of Assessment in
Classes per Semester Weightage
Lecture 3 3
Instruction Tutorial 0 0

Practical
Tutorial
delivery

Theory

study
Self-

SEE
Practical 2 1

CIE
Self-study 0 0
Total 5 4
45 0 15 50% 50%
Course Lead Prof.(Dr.) Pushpa Choudhary Course Dr. Saurabh Singh
Coordinator
Names Theory Practical
Course Dr. Saurabh Singh Dr. Sahil Kansal
Instructors Dr. Prashant Dixit

COURSE OVERVIEW
The aim of this course is to introduce the students to basic concepts of databases and
database management systems with emphasize on relational databases. The entity
relationship diagram helps the students to design the database and the concept of
normalization. The SQL and PL/SQL will give the practical exposure to students in that they
will learn how to create tables, manipulate table and how to create stored procedure etc. The
objective of the course is make the students well versed with relational database and
introduce them to the concepts of object-oriented database, multimedia database and
distributed databases.

PREREQUISITE COURSE

PREREQUISITE COURSE No
REQUIRED
If, yes please fill in the Details Prerequisite Prerequisite
course code course name
NA NA

COURSEPACK | FORMAT
COURSE OBJECTIVE
 To familiarize students with basic concepts of databases and database management systems
with emphasize on relational databases.
 To gain a solid understanding of design the entity relationship diagram the database and the
concept of normalization also.
 To explore and implement all the schemas on the SQL and PL/SQL platform which will give
the practical exposure to students in that they will learn how to create tables, manipulate
table.
 To understand the concepts of transactions and their processing in the real life scenario.

COURSE OUTCOMES (COs)

After the completion of this course, students will be able to:

E1PA104B.1.1 Understand the features and architecture of database management systems for
real life applications.
E1PA104B.1.2 Analyze the existing design of a database schema and concepts of normalization.
E1PA104B.1.3 Design conceptual models of a database using ER modelling for real life
applications
E1PA104B.1.4 Implement the query processing techniques to automate the real time problems
of databases in SQL and PLSQL

BLOOM’S LEVEL OF THE COURSE OUTCOMES

Bloom’s taxonomy is a set of hierarchical models used for the classification of educational
learning objective into levels of complexity and specificity. The learning domains are
cognitive, affective and psychomotor.

Theory
Remember Understand Apply Analyse Evaluate Create
CO No.
KL1 KL 2 KL 3 KL 4 KL 2 KL 6
E1PA104B.1.1 √ √
E1PA104B.1.2 √
E1PA104B.1.3 √
E1PA104B.1.4 √

PROGRAM SPECIFIC OUTCOMES (PSOs)

The students of Computer Application will be able to:

COURSEPACK | FORMAT
PSO1: Have the ability to work with contemporary technologies in computing requisite to
Industry 4.0 developing and implementing solutions to real life problems.

PSO2: Demonstrate application development skills learned through technical training and
projects to solve real world problems.

PROGRAMME OUTCOME (POs):

PO1: An ability to independently carry out research /investigation and development work to
solve practical problems.

PO2: An ability to write and present a substantial technical report/document.

PO3: Students should be able to demonstrate a degree of mastery over the area as per the
specialization of the program. The mastery should be at a level higher than the requirements in
the appropriate bachelor program.

COURSE ARTICULATION MATRIX

The Course articulation matrix indicates the correlation between Course Outcomes and
Program Outcomes and their expected strength of mapping in three levels (low, medium,
and high).

CO/PO Mapping (1 / 2 / 3 indicates strength of correlation) 3 – Strong, 2 – Medium,


1 – Low
Programme
COs/ POs Outcomes
(POs/PSO)

PO1 PO2 PO3 PSO1 PSO2

E1PA104B.1.1 - - -
1 2
E1PA104B.1.2 2 2 1 1
2
E1PA104B.1.3 3 2 3
3
E1PA104B.1.4 2 - 2 - 3

Note: 1-Low, 2-Medium, 3-High

COURSE ASSESSMENT

The course assessment patterns are the assessment tools used both in formative and summative
examinations.
COURSEPACK | FORMAT
CIE Total Marks
Type of Course (B) Final Marks
LAB CIE*0.5+SEE*
Work@ MT LAB CIE SEE
E EXAM* 0.5
+ Record

INTEGRATED 25 50 25 100 100 100

@Lab Work-15 marks + Lab Record-10 marks


*
Passing Criteria-30% of marks to be secured in the lab Exam conducted by two examiners (one
internal and one external)

COURSE CONTENT

THEORY
Course Content Theory
Introduction to Database Management System
An overview of database management system, Database System Vs. File System, Database system
concepts and architecture, data models, schema and instances, data independence and data base
language and interfaces, Data definitions language, DML, Overall Database Structure.
Entity Relationship Model
Conceptual Modelling of a database, The Entity-Relationship (ER) Model, Entity Types, Entity Sets,
Attributes, and Keys, Relationship Types, Relationship Sets, Weak Entity Types Generalization,
Specialization and Aggregation, Extended Entity Relationship (EER) Model.
Relational Model and SQL Query
Relational data model concepts, integrity constraints, entity integrity, referential integrity, Keys
constraints, and Domain constraints. Introduction to SQL: Characteristics of SQL, advantage of
SQL. SQl data type and literals. Types of SQL commands. SQL operators and their procedure.
Tables, views and indexes. Queries and sub queries. Aggregate functions. Insert, update and delete
operations, Joins, Unions, Intersection, Minus, Introduction to PLSQL: Cursors, Triggers, and
Procedures
Normalization
Functional dependencies, normal forms, first, second, third normal forms, BCNF, inclusion
dependence, loss less join decompositions, normalization using FD, MVD, and JDs
Overview of Transaction Management and Concurrency Control
Overview of Transaction Management: ACID Properties, Transactions and Schedules, Concurrent
Execution of transaction, Lock Based Concurrency Control, Performance Locking Concurrency
Control: Serializability, and recoverability, Introduction to Lock Management, Lock Conversions,
Dealing with Dead Locks, Specialized Locking Techniques, Concurrency without Locking.

COURSEPACK | FORMAT
PRACTICAL
Course Content Lab

1. SQL queries :
Creation of a database and writing SQL queries to retrieve information from the database.
 Design a Database and create required tables. For e.g. Bank, College Database
 Apply the constraints like Primary Key, Foreign key, NOT NULL to the tables.
 Write a sql statement for implementing ALTER,UPDATE and DELETE
 Write the queries to implement the joins
 Write the query for implementing the following functions: MAX(),MIN(),AVG(),COUNT()
 Write the query to implement the concept of Integrity constrains
 Perform the following operation for demonstrating the insertion , updation and deletion using
the referential integrity constraints

2. View and Index:


Creation of Views, Synonyms, Sequence, Indexes, Save point.
3. PL/SQL:
Study of PL/SQL block, PL/SQL block to satisfy some conditions by accepting input from the
User.
PL/SQL block that handles all types of exceptions.
4. Triggers and Procedures:
PL/SQL Procedures.
PL/SQL triggers and functions

LESSON PLAN FOR COMPREHENSIVE COURSES


FOR THEORY 15 weeks * 3 Hours = 45 Classes) (1credit = 1Lecture Hour)
FOR PRACTICAL 15 weeks * 2Hours = 30 Hours (1 credit = 2 lab hours)

L-No Topic for Delivery Tutorial/ Practical Skill Competency


Plan
1 An overview of database Understand the features
management system of database management General
systems and Relational Overview of
2 Database System Vs File DBMS
database
System Cognitive
3 Database system concepts and
architecture
4 data models
5 schema and instances
6 data independence and data base
language and interfaces Understand the of Overview of
7 Data definitions language(DDL) database Affective
database models
Data Manipulation models
COURSEPACK | FORMAT
Language(DML)
8 Overall Database Structure
9 Conceptual Modelling of a
database
10 The Entity-Relationship (ER)
Mode
11 Entity Types, Entity Sets
12 Attributes, and Keys, Designing of
Design conceptual entity relation Cognitive
Relationship Types
13 Relationship Sets models of a database model
14 Weak Entity Types using ER modelling for
Generalization
15 Specialization and Aggregation real life applications
16 Extended Entity Relationship
(EER) Model
17 Relational data model concepts
18 integrity constraints
19 entity integrity, referential General and
integrity Create and populate a advance
20 Keys constraints, Domain understanding
RDBMS for a real life
constraints of SQL queries,
21 Introduction to SQL application, with
operators, Affective
22 Characteristics of SQL constraints and keys, tables and
23 advantage of SQL views,
using SQL.
24 SQl data type and literals aggregate
25 Types of SQL commands
functions and
26 SQL operators and their
procedure joins,
27 Tables, views and indexes set operations,
27 Queries and sub queries PL/SQL
29 Aggregate functions
30 Insert, update and delete
operations
31 Joins
32 Unions, Intersection, Minus
33 Cursors, Triggers
34 Procedures in SQL/PLSQL.
35 Functional dependencies Analyze the existing
36 normal forms General
design of a database
37 first, second understanding
schema and apply of FDs and
38 normalization using FD
39 Multi valued dependencies concepts of normalization
(MVD), Join dependencies(JDs)
normalization to design Cognitive

COURSEPACK | FORMAT
an optimal database.
40 ACID Properties, Transactions Understanding
and Schedules of various
41 Concurrent Execution of transaction
transaction, Understand various
properties and
42 Lock Based Concurrency issues of transaction Understanding
Control, Performance Locking,
processing and of locking and
43 Serializability, and
recoverability recovery
concurrency control
44 Introduction to Lock
Management, Lock Conversions mechanism.
45 Dealing with Dead Locks

BIBLIOGRAPHY

 Text Book (One Text Book which covers 80% and more syllabus)
• Elmasri and Navathe, “Fundamentals of Database Systems”, 6th Edition,
PEARSON Education.
 Reference Books (Two reference Books, one should be international)
• Henry F. Korth and Abraham Silberschatz, Database System Concepts, McGraw
Hill International Publications, 2002
• C.J.Date: Introduction to Database Systems, Pearson Education.

 Journals/Magazines/Govt. Reports/Gazette/Industry Trends (Two Numbers)


• https://www.igi-global.com/journal/journal-database-management/1072
• https://computers.stmjournals.com/index.php?journal=JoADMS
 Webliography (Two electronic documents or websites that relate to the Course)
• https://www.geeksforgeeks.org/dbms/
• https://beginnersbook.com/2015/04/dbms-tutorial/
 SWAYAM/NPTEL/MOOCs Certification (Two-Three numbers)
• https://onlinecourses.swayam2.ac.in/cec19_cs05/preview
• https://onlinecourses.nptel.ac.in/noc19_cs46/preview

PROBLEM-BASED LEARNING

Exercise in Problem-based Learning (Assignments) (Min 45 Problems*)

Sr. No. Problem


1 Database Schema for a customer-sale scenario

Customer(Cust id : integer, cust_name: string)


COURSEPACK | FORMAT
Item(item_id: integer, item_name: string, price: integer)
Sale(bill_no: integer, bill_data: date, cust_id: integer, item_id: integer, qty_sold: integer)

For the above schema, perform the following—


a) Create the tables with the appropriate integrity constraints

b) Insert around 10 records in each of the tables

c) List all the bills for the current date with the customer names and item numbers

d) List the total Bill details with the quantity sold, price of the item and the final amount

e) List the details of the customer who have bought a product which has a price>200

f) Give a count of how many products have been bought by each customer

g) Give a list of products bought by a customer having cust_id as 5

h) List the item details which are sold as of today

i) Create a view which lists out the bill_no, bill_date, cust_id, item_id, price, qty_sold,
amount
Create a view which lists the daily sales date wise for the last one week

2 Database Schema for a Student Library scenario

Student(Stud_no : integer, Stud_name: string)


Membership(Mem_no: integer, Stud_no: integer)
Book(book_no: integer, book_name:string, author: string)
Iss_rec(iss_no:integer, iss_date: date, Mem_no: integer, book_no: integer)

For the above schema, perform the following—


a) Create the tables with the appropriate integrity constraints
b) Insert around 10 records in each of the tables
c) List all the student names with their membership numbers
d) List all the issues for the current date with student and Book names
e) List the details of students who borrowed book whose author is CJDATE
f) Give a count of how many books have been bought by each student
g) Give a list of books taken by student with stud_no as 5
h) List the book details which are issued as of today
i) Create a view which lists out the iss_no, iss _date, stud_name, book name
j) Create a view which lists the daily issues-date wise for the last one week

3 Database Schema for a Employee-pay scenario

employee(emp_id : integer, emp_name: string)


department(dept_id: integer, dept_name:string)
paydetails(emp_id : integer, dept_id: integer, basic: integer, deductions: integer, additions:
COURSEPACK | FORMAT
integer, DOJ: date)
payroll(emp_id : integer, pay_date: date)

For the above schema, perform the following—


a) Create the tables with the appropriate integrity constraints
b) Insert around 10 records in each of the tables
c) List the employee details department wise
d) List all the employee names who joined after particular date
e) List the details of employees whose basic salary is between 10,000 and 20,000
f) Give a count of how many employees are working in each department
g) Give a names of the employees whose netsalary>10,000
h) List the details for an employee_id=5
i) Create a view which lists out the emp_name, department, basic, dedeuctions, netsalary
j) Create a view which lists the emp_name and his netsalary

4 Database Schema for a student-Lab scenario

Student(stud_no: integer, stud_name: string, class: string)


Class(class: string, descrip: string)
Lab(mach_no: integer, Lab_no: integer, description: String)
Allotment(Stud_no: Integer, mach_no: integer, dayof week: string)
For the above schema, perform the following—
a) Create the tables with the appropriate integrity constraints
b) Insert around 10 records in each of the tables
c) List all the machine allotments with the student names, lab and machine numbers
d) List the total number of lab allotments day wise
e) Give a count of how many machines have been allocated to the ‘CSIT’ class
f) Give a machine allotment etails of the stud_no 5 with his personal and class details
g) Count for how many machines have been allocatedin Lab_no 1 for the day of the week
as “Monday”
h) How many students class wise have allocated machines in the labs
i) Create a view which lists out the stud_no, stud_name, mach_no, lab_no, dayofweek
Create a view which lists the machine allotment details for “Thursday”.
5 Database Schema for a Video Library scenario

Customer(cust_no: integer,cust_name: string)


Membership(Mem_no: integer, cust_no: integer)
Cassette(cass_no:integer, cass_name:string, Language: String)
Iss_rec(iss_no: integer, iss_date: date, mem_no: integer, cass_no: integer)
For the above schema, perform the following—
a) Create the tables with the appropriate integrity constraints
b) Insert around 10 records in each of the tables
c) List all the customer names with their membership numbers
d) List all the issues for the current date with the customer names and cassette names
e) List the details of the customer who has borrowed the cassette whose title is “ The
Legend”
f) Give a count of how many cassettes have been borrowed by each customer
g) Give a list of book which has been taken by the student with mem_no as 5
COURSEPACK | FORMAT
h) List the cassettes issues for today
i) Create a view which lists outs the iss_no, iss_date, cust_name, cass_name
j) Create a view which lists issues-date wise for the last one week

6 Implement Data Definition language Statements.


7 Implement Data Manipulation Statements.
8 Implement SELECT command with different clauses.
9 Implement various type of Integrity Constraints on database.
10 Implement SINGLE ROW functions (Character, Numeric, Date functions) and GROUP functions
(avg, count, max, min, sum).
11 Implement various type of SET OPERATORS (Union, Intersect, Minus) and JOINS.
12 Implement the concept of grouping of Data and Sub queries.
13 Implement the concept of Data Control Language (DCL), Transaction Control Language (TCL).
14 Implement Simple and Complex View.
15 Write a PL/SQL block to satisfy some conditions by accepting input from the user.
16 Write a PL/SQL block for greatest of three numbers using IF AND ELSEIF
17 Write a PL/SQL block for summation of odd numbers using for LOOP
18 Write a program to find largest number from the given three numbers.
19 Simple programs using loop, while and for iterative control statement.
20 Write a program to generate all prime numbers below 100.
21 Write a program to demonstrate the GOTO statement.
22 Write a program to demonstrate %type and %rowtype attributes
23 Write a program to demonstrate predefined exceptions
24 Write a program to demonstrate user defined exceptions
25 Create a cursor, which displays all employee numbers and names from the EMP table.
26 Create a function to check whether given string is palindrome or not.
27 Create a function to find sum of salaries of all employees working in depart number 10.
28 Create a trigger before/after update on employee table for each row/statement.
29 Write a PL/SQL block to implementation of factorial using function
30 Create a trigger before/after update on employee table for each row/statement.
31 Create a trigger before/after delete on employee table for each row/statement.
32 Create a trigger before/after insert on employee table for each row/statement.
33 Create a Form to display employee details using SQL
34 Create a Database for Banking Sector and implement various queries on it.
35 Create a Database for Customer Sale/purchase and implement various queries on it.
36 Create a cursor, which update the salaries of all employees as per the given data.
37 Create a cursor, which displays names of employees having salary > 50000.
38 Create a procedure to find reverse of a given number
COURSEPACK | FORMAT
39 Create a procedure to update the salaries of all employees as per the given data
40 Create a procedure to demonstrate IN, OUT and INOUT parameters

COURSEPACK | FORMAT

You might also like