0% found this document useful (0 votes)
128 views12 pages

B.Tech DBMS Syllabus-1

Hello

Uploaded by

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

B.Tech DBMS Syllabus-1

Hello

Uploaded by

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

CORE

For the students admitted from A.Y. 2021-2022 & onwards


Offering Department: Computer Engineering Offered to: Computer Engineering
Semester – III
Course Code Course Title Course Credit and Hours
23UGCE301 Database Management System 4 Credits - 2 hrs/wk(T)
4 hrs/wk(P)

Course Description:
This course introduces the core principles and techniques required in the design and
implementation of database systems. This introductory application-oriented course covers
the relational database systems RDBMS - the predominant system for business, scientific
and engineering applications at present. It includes Entity-Relational model, Normalization,
Relational model, Relational algebra, and data access queries as well as an introduction to
SQL. It also covers essential DBMS concepts such as: Transaction Processing, Concurrency
Control and Recovery. It also provides students with theoretical knowledge and practical
skills in the use of databases and database management systems in computer applications.

Course Purpose:
The purpose of database management system is to facilitate student to Evaluate business
information problem and find the requirements of a problem in terms of data. Understand
the uses the database schema and need for normalization. Design the database schema with
the use of appropriate data types for storage of data in database and able to use database for
concurrent use.

Course Outcomes: Upon completion of this course, the learner will be able to
CO No. CO Statement Blooms
taxonomy Level
(K1 to K6)
CO1 Understand and explain the fundamental concepts of database K1
systems.
CO2 Apply the principles of the relational model and database K2
design techniques to develop normalized and efficient
database schemas.
CO3 Demonstrate the ability to manage transactions, ensure data K3
integrity, and implement concurrency control mechanisms to
maintain consistent database states in multi-user
environments.
CO4 Analyze and implement strategies for deadlock prevention, K4
avoidance, and detection, as well as apply recovery techniques
to ensure database durability and consistency after system
failures.
CO5 Develop complex SQL queries to effectively retrieve, K5
manipulate, and manage data in relational databases, utilizing
advanced SQL functions, subqueries, and joins for
comprehensive data operations.

Course Content Hours


Unit-I : Introduction to Database Systems and ER Model 8 hrs
● Introduction and applications of DBMS
● Types of data Models: hierarchical, network, relational, and object-oriented.
● Comparison of database systems vs. file systems
● Database architecture and components
● Mappings, Database users and DBA
● Basic concepts: entities, attributes, relationships
● ER diagrams: symbols and notations, ER design issues and examples
● Enhanced ER Model: specialization, generalization, aggregation
Unit-II: Relational Model and Database Design 6 hrs
● Structure of relational databases, Domains, Relations
● Basic operations: selection, projection, union, set difference, Cartesian
product and Derived operations: join, intersection, division
● Keys: primary, candidate, foreign, and super keys.
● Functional Dependency, closure of FD set
● Normalization – 1NF, 2NF, 3NF BCNF, 4NF
● Decomposition using FD- dependency preservation
Unit-III: Transaction management and Concurrency 6 hrs
● Transaction concepts, properties of transactions, State diagram
● Schedules and types, Serializability of transactions
● Types of serializability
● Concurrency problem, Locking mechanism
● Lock based protocols

Unit- IV: Deadlock, Recovery and Query processing 5 hrs


● Deadlock: Handling, Prevention and detection and recovery
● Basic steps in query Processing
● Query optimization techniques and Cost-based optimization
● Log-based recovery , Checkpoints
● Two Phase Commit Protocol, Shadow Paging
Unit- V: SQL Concepts 5 hrs
● Basics of SQL, DDL, DML, DCL
● Defining constraints – Primary key, foreign key, unique, not null, check, IN
operator
● Functions - aggregate functions, Built-in functions – numeric, date, string
functions, set operations, sub-queries, correlated sub-queries.
● Use of group by, having, order by, join and its types
● View and its types. transaction control commands – Commit, Rollback
Pointers and Functions, Pointer and Structures, Union
● Basic concepts of indexing

Text books:
1. A. Silberschatz, Henry F. Korth, S. Sudarshan. (2013). Database System Concepts.
New York, Tata McGraw Hill. Seventh Edition.
2. Ivan Bayross. (2014). SQL-PL/SQL The programming language of oracle. New
Delhi,BPB Publication. Fouth Edition.
Reference books:

1. C J Date. (2013). An Introduction to Database Systems. Addition-Wesley, Pearson


Publication. Eighth Edition
2. Martin Gruber. (2000). Understanding SQL. New Delhi, BPB Publications.
3. Bob Bryla. (2014). Oracle database 12c – The Complete Reference. New York,
TMH/Oracle press.
Pedagogic tools:
● Videos
● Power point presentation
● Seminar
Department: Computer Engineering Programme: B.Tech. Computer Engineering
Practical Course Content Hours
2hrs
Practical-I: To study DDL-create Commands
● Create tables according to the following definition:
● create table deposit (actno varchar2(5) ,cname varchar2(18) , bname
varchar2(18), amount number(8,2),adate date);
● create table branch(bname varchar2(18),city varchar2(18));
● create table customers(cname varchar2(19) ,city varchar2(18));
● create table borrow(loanno varchar2(5), cname varchar2(18), bname
varchar2(18), amount number (8,2));

Practical-II: To study DML Commands 2 hrs

Insert the data as shown below:

DEPOSIT:

Actno Cname Bname Amount Adate


100 Anil Vrce 1000.00 1-Mar-95
101 Sunil Ajni 5000.00 4-Jan-96
102 Mehul Karolbagh 3500.00 17-Nov-95
104 Madhuri Chandi 1200.00 17-Dec-95
105 Pramod M.G.Road 3000.00 27-Mar-96
106 Sandip Andheri 2000.00 31-Mar-96
107 Shivani Virar 1000.00 5-Sep-95
108 Kranti Nehru Place 5000.00 2-Jul-95
109 Minu Powai 7000.00 10-Aug-95
BRANCH:
Vrce Nagpur
Ajni Nagpur
Karolbagh Delhi
Chandi Delhi
Dharampeth Nagpur
M.G.Road Banglore
Andheri Bombay
Virar Bombay
Nehru Place Delhi
Powai Bombay

CUSTOMERS:
Anil Calcutta
Sunil Delhi
Mehul Baroda
Mandar Patna
Madhuri Nagpur
Pramod Nagpur
Sandip Surat
Shivani Bombay
Kranti Bombay
Naren Bombay

BORROW:
Loanno Cname Bname Amount
201 Anil Vrce 1000.00
206 Mehul Ajni 5000.00
311 Sunil Dharampeth 3000.00
321 Madhuri Andheri 2000.00
375 Pramod Virar 8000.00
481 Kranti Nehru Place 3000.00

Practical-III: Create tables according to the following definition: 2 hrs

Create table Job (job_id, job_title, min_sal, max_sal)

COLUMN NAME DATA TYPE


job_id Varchar2(15)
job_title Varchar2(30)
min_sal Number(7,2)
max_sal Number(7,2)

Create table Employee (emp_no, emp_name, emp_sal, emp_comm, dept_no)

COLUMN NAME DATA TYPE


emp_no Number(3)
emp_name Varchar2(30)
emp_sal Number(8,2)
emp_comm Number(6,1)
dept_no Number(3)

Create table deposit(a_no,cname,bname,amount,a_date)

COLUMN NAME DATA TYPE


a_no Varchar2(5)
cname Varchar2(15)
bname Varchar2(10)
amount Number(7,2)
a_date Date
Insert following values in the table

EMPLOYEE:

EMP_NO EMP_NAME EMP_SAL EMP_COMM dept _no


101 Smith 800 20
102 Snehal 1600 300 25
103 Adama 1100 0 20
104 Aman 3000 15
105 Anita 5000 50,000 10
106 Sneha 2450 24,500 10
107 Anamika 2975 30

JOB:

JOB_ID JOB_NAME MIN_SAL MAX_SAL


IT_PROG Programmer 4000 10000
MK_MGR Marketing manager 9000 15000
FI_MGR Finance manager 8200 12000
FI_ACC Account 4200 9000
LEC Lecturer 6000 17000
COMP_OP Computer Operator 1500 3000

DEPOSIT:
A_NO CNAME BNAME AMOUNT DATE
101 Anil andheri 7000 01-jan-06
102 sunil virar 5000 15-jul-06
103 jay villeparle 6500 12-mar-06
104 vijay andheri 8000 17-sep-06
105 keyur dadar 7500 19-nov-06
106 mayur borivali 5500 21-dec-06

Practical-IV: From the above given tables perform the following queries: 2hrs
● Describe deposit, branch.
● Describe borrow, customers.
● List all data from table DEPOSIT.
Practical-V: Implement SQL queries to perform various DDL & DML 2hrs
Commands
● Change the column name and datatype by ALTER command
● Rename the table
● Delete the table
● Edit and modify the table data by update command
● Delete the data by delete command
Practical- VI: Perform SQL constraints using DDL & DML Commands. 2hrs

● Create the table by using various constraints like primary key, foreign key,
unique, not null and check constraints.
Practical- VII: To study various options of LIKE predicate(Implement query 2hrs
using pattern matching operator)
● Display all employee whose name start with ‘A’ and third character is ‘a’.
● Display name, number and salary of those employees whose name is 5
characters long and first three characters are ‘Ani’.
● What will be output if you are giving LIKE predicate as ‘%\_%’ ESCAPE ‘\

Practical-VIII: Implement Arithmetic & Relational Operator and Queries 2hrs


using SELECT
● Implement query using arithmetic operator
● Implement query using relational operator

Practical-IX: Implement Logical & Range searching Operator and Queries 2hrs
using SELECT

● Implement query using logical operator


● Implement query using range searching operator
Practical-X: Implement IN and NOT IN predicate and Queries using 2hrs
SELECT

● Implement query using IN and NOT IN predicate

Practical-X I : To Perform various data manipulation commands, aggregate 2hrs


functions and sorting concept on all created tables:
● List total deposit from deposit.
● List total loan from karolbagh branch
● Give maximum loan from branch vrce.
● Count total number of customers
● Count total number of customer’s cities.
● Create table supplier from employee with all the columns.

Practical-XII: Implement SQL queries using Date functions 2hrs

● Implement SQL query using Date functions like add-months, months-


between, round, nextday, truncate, greatest, new-time etc.
Practical-XIII: Implement SQL queries using Numeric functions. 2hrs
● Implement SQL query using Numeric functions like abs, ceil, cos, cosh, exp,
floor, power, mod, round, trunc, sqrt etc.
Practical-XIV: Implement SQL queries using Character functions 2hrs
● Implement SQL query using Character Functions like initcap, lower, upper,
ltrim, rtrim, translate, replace, substring etc.
Practical-XV: Implement SQL queries using Conversion functions 2hrs
● Implement SQL query using Conversion Functions like to-char, to-date, to-
number and Miscellaneous functions like uid, user, nvl, vsize etc
Practical-XVI: Implement SQL queries using Group functions 2hrs
● Implement SQL query using Group by, Having and Order by clause
Practical- XVII: To study Single-row functions. 2hrs

● For each employee, display the employee number, job, salary, and salary
increased by 15% and expressed as a whole number. Label the column New
Salary
● Modify your query to add a column that subtracts the old salary from the new
salary. Label the column Increase
● Write a query that produces the following for each employee: earns monthly

Practical-XVIII: Implement SQL queries using Set operators 2hrs


● Implement SQL queries using Set operators like Union, union all, Intersect,
and Minus etc.
Practical-XIX: Implement SQL queries using various joins. 2hrs
● Implement various types of joins.
Practical-XX: Implement SQL queries using sub query. 2hrs
● Implement various types of sub query.
Practical- XXI: Demonstrate the use of Delete, Truncate, Drop commands. 2hrs
● Demonstrate the use of Delete, Truncate, Drop commands
Practical- XXII: To study Transaction control commands. 2hrs
● Write an SQL queries to implement commit, rollback and savepoint
commands.
● Write an SQL queries to implement select….for update locking method and
lock table method.
Practical- XXIII: To create synonym and sequence using SQL. 2hrs
● Write an SQL queries to create synonym bk for book table. Display data of
book table using synonyms bk. Grant book table to another user but hide
tablename. Drop synonym.
● Create sequence s_temp start with 1 to100 in ascending order increment by 1
and stop after generating number 100. Insert values for empno, empname in
the temp table. Display current sequence no. Display next sequence no.
Display ROWID along with other columns for customer table.
Practical- XXIV : To Create different indexes using SQL 2hrs
● Create a simple index s_in on cname of customer table.
● Create a unique index u_in on cid of customer table
● Create Composite index c_in on cid and cname of customer table.
● Retrieve first three rows by using ROWNUM. Sort the data in the ascending
order of name.
● Remove index created for the table customer.
Practical- XXV : To Create views using SQL. 2hrs
● Create a view cs1 based on customer table and Display the view. Display all
customer name belong to Rajkot from cs1 view.
● Create a view cs2 based on customer table to have only accounts belong to
Baroda city.
● Insert the new record in cs1 view.
● Create view cs3 (cid, ccity) on customer only for read operation. Replace
view cs3 with updateable view.
● Destroy view cs2.
Practical- XXVI : To apply the concept of privileges. 2hrs
● Write an SQL queries to implement grant and revoke commands.
Practical- XXVII : Basics of PL/SQL 2hrs
● Write a PL/SQL block to print “Hello Everyone”.
● Write a PL/SQL block to get two numbers from user and display its value.
Practical- XXVIII : PL/SQL Loop 2hrs
● Write a program using simple loop and for loop
Practical- XXIX : PL/SQL Trigger 2hrs
● Write an PL/SQL block to implement Trigger
Practical- XXX : PL/SQL Cursor 2hrs
● Write an PL/SQL block to implement Cursor

Text books:
1. A. Silberschatz, Henry F. Korth, S. Sudarshan. (2013). Database System Concepts.
New York, Tata McGraw Hill. Seventh Edition.
2. Ivan Bayross. (2014). SQL-PL/SQL The programming language of oracle. New
Delhi,BPB Publication. Fouth Edition.
Reference books:

1. C J Date. (2013). An Introduction to Database Systems. Addition-Wesley, Pearson


Publication. Eighth Edition
2. Martin Gruber. (2000). Understanding SQL. New Delhi, BPB Publications.
3. Bob Bryla. (2014). Oracle database 12c – The Complete Reference. New York,
TMH/Oracle press.

Pedagogic tools:
● Videos
● Power point presentation
● Semina
Methods of Assessment & Tools:
Components of CIA: 40 marks

Sr. No. Component Content Duration (if any) Marks Sub Total
A Test 1 1st 2 units 11/2 hours 5 (Set for 30) 20
Test 2 All 5 units 3 hours 15 (Set for 70)
B Assignment 10 10
C Practical 10 10
Grand Total 40
● Prepare case study of DBMS Fundamentals
Assignment ● Prepare Practice Programs on DDL,DML,DCL,TCL
● Prepare Application base Videos

You might also like