You are on page 1of 8

Lovely Professional University,Punjab

Format For Instruction Plan [for Courses with Lectures and Labs

Course No CAP503

Cours Title DATABASE MANAGEMENT SYSTEMS

Course Planner 11303 :: Sartaj Singh

Lectures Tutorial Practical Credits 3 0 3 5

Text Book:

1 Author: H. F. Korth ,& S. Sudarshan A. Silverschatz,Title: Database System Concepts , Publishers: Tata McGraw Hill, New Delhi,Year of Publication:2006

Other Specific Book:

Elmasri & Navathe, Fundamentals of Database systems, Addison & Weisely, New Delhi.

3 C. J. Date, Database Systems, Prentice Hall of India, New Delhi. 4 Martin Gruber, Understanding SQL, BPB Publication, New Delhi.

5 Val Occardi, Relational Database: Theory & Practice, BPB Publication, New Delhi. 6 Ivan Bayross, SQL, PL/SQL The Programming Language of Oracle, BPB Publication.

Other Reading Sr No Jouranls atricles as compulsary readings (specific articles, Complete reference) 7 InformaWorld:Information Systems Management, Volume 10 Issue 1 1993 8 Informationweek: MYSQL: Understanding The Basics , October 05, 2004 9 Intelligent Enterprise : Microsoft Releases SQL Server 2008, August 06, 2008 10 Dobb's Journal, DBMS 11 The Journal Of The Computer Society Of India 12 My-SQL DBMS , journal in Technology by FIND Articles 13 Postgres Online Journal 1 Approved for Autumn Session 2011-12

Relevant Websites Sr. No. (Web adress) (only if relevant to the courses) 14 http://database.ittoolbox.com/topics/ 15 http://sqlcourse2.com/select2.html 16 http://www.wisegeek.com/what-is-dbms.htm 17 http://stanford.edu/dept/itss/docs/oracle/10g/server.10 18 www.oracle.com 19 www.gossamer-threads.com 20 www.odbms.org Salient Features General website for DBMS It is web based SQL DBMS site. Website containing various articles To give details about Distributed and Oracle is vendor to offer solutions for business It is web based SQL DBMS site Specially dedicated to object

Detailed Plan For Lectures


Week Number Lecture Number Lecture Topic Chapters/Sections of Pedagogical tool Textbook/other Demonstration/case reference study/images/anmatio n ctc. planned

Part 1
Week 1 Lecture 1 Database Fundamentals:Database systems,Database Architecture Relational Model:Structure of Relational databases,fundamental additional and extended relational algebra operations SQL: Data Definition,datatypes,schema definition, Basic structure of SQL Queries Creating tables,DML operations DDL commands for creating and altering ->Reference :1,Chapter1 Section 1.11.21.3 ca/regular/cap503/lectur e01

Lecture 2 Lecture 3 Week 2 Lecture 4 Lecture 5 Lecture 6 Week 3 Lecture 7 Lecture 8

->Reference :1,chapter ca/regular/cap503/lectur 2 2.1-2.2 e02 ->Reference :1,chapter ca/regular/cap503/lectur 2 section 2.3-2.4 e03 ->Reference :1,chapter ca/regular/cap503/lectur 3 section 3.2-3.3 e04 ->Reference :6,chapter ca/regular/cap503/lectur 7 e05 ca/regular/cap503/lectur e06

Set Operations, Aggregate Functions, NULL values ->Reference :1,chapter ca/regular/cap503/lectur 3 section 3.4-3.6 e07 Advanced SQL: Inbuilt functions,Subqueries, Nested subqueries ->Reference :1,chapter ca/regular/cap503/lectur 3 section 3.7 e08

Approved for Autumn Session 2011-12

Week 3 Week 4

Lecture 9 Lecture 10

Complex queries,Views Joined relations, Integrity constraints

->Reference :1,chapter ca/regular/cap503/lectur 3 section 3.8-3.9 e09 ->Reference :1,chapter ca/regular/cap503/lectur 3 section 3.11 chapter e10 4 section 4.2

Part 2
Week 4 Lecture 11 Lecture 12 Week 5 Lecture 13 Lecture 14 Lecture 15 Week 6 Lecture 16 Authorization, DCL Commands Embedded SQL,Dynamic SQL Embedded SQL, Dynamic SQL Relational Languages: Tuple Relational calculus, Domain relational calculus, Query by Example Relational Languages: Tuple Relational calculus, Domain relational calculus, Query by Example Database design and ER model: Overview of Design process, Entity relationship model, constraints ER Diagrams, ER Design issues, Weak entity sets, extended ER features Relational Database Design: Features, Atomic Domains and first normal form, ->Reference :1,chapter ca/regular/cap503/lectur 4 section 4.3 e11 ->Reference :1,chapter ca/regular/cap503/lectur 4 section 4.4-4.5 e12 ->Reference :1,chapter ca/regular/cap503/lectur 4 section 4.4-4.5 e13 ->Reference :1,chapter ca/regular/cap503/lectur 5 section 5.1-5.3 e14 ca/regular/cap503/lectur e15 ->Reference :1,chapter ca/regular/cap503/lectur 6 section 6.1-6.3 e16 ->Reference :1,chapter ca/regular/cap503/lectur 6 section 6.4- 6.7 e17 ->Reference :1,chapter ca/regular/cap503/lectur 7 section 7.1- 7.5 e18

Lecture 17 Lecture 18 Week 7 Lecture 19

Functional dependency theory decomposition using ->Reference :1,chapter ca/regular/cap503/lectur functional dependencies, decomposition using 7 section 7.6 7.8 e19 Multivalued dependencies, Normalization: Objectives of Normalization, 1NF, 2NF. Normalization: Objectives of Normalization: 3NF, BCNF, 4NF, 5NF. ->Reference :1,chapter ca/regular/cap503/lectur 7 e20 ca/regular/cap503/lectur e21

Lecture 20

Lecture 21

MID-TERM Part 3
Week 8 Lecture 22 Lecture 23 Lecture 24 3 PL/SQL:Language elements,subprograms and its types packages, Cursors-implicit and explicit Triggers- row, statement, before, after and insteadof. ->Reference :6,chapter ca/regular/cap503/lectur 15 e22 ->Reference :6,chapter ca/regular/cap503/lectur 16 chapter 18 e23 ->Reference :6,chapter ca/regular/cap503/lectur 18 e24 Approved for Autumn Session 2011-12

Week 9

Lecture 25

Transaction Management: Concept of Transaction, Transaction State, Implementation of atomicity and durability concurrent execution, Serializability, Recoverability

->Reference :1,chapter15 section 15.1 -15.3 ->Reference :1,chapter15 section 15.4-15.6 ->Reference :1,chapter16 section 16.1-16.2 ->Reference :1,chapter16 section 16.3-16.8

ca/regular/cap503/lectur e25 ca/regular/cap503/lectur e26 ca/regular/cap503/lectur e27 ca/regular/cap503/lectur e28

Lecture 26

Lecture 27

Concurrency Control: Lock based protocols, Timestamp based protocol Validation based protocols, Deadlock handling, Insert and Delete operations, Weak levels of consistency

Week 10

Lecture 28

Part 4
Week 10 Lecture 29 Validation based protocols, Deadlock handling, Insert and Delete operations, Weak levels of consistency ->Reference :1,chapter16 section 16.3-16.8 ca/regular/cap503/lectur e29 ca/regular/cap503/lectur e30 ca/regular/cap503/lectur e31 ca/regular/cap503/lectur e32 ->Reference :1,chapter14 section 14.1-14.2 ->Reference :1,chapter14 section 14.3 ->Reference :1,chapter21 section 21.1-21.3 ->Reference :1,chapter21 section 21.4-21.6 ca/regular/cap503/lectur e33 ca/regular/cap503/lectur e34 ca/regular/cap503/lectur e35 ca/regular/cap503/lectur e36

Lecture 30

recovery with concurrent transactions, buffer ->Reference management, failure with loss of nonvolatile storage :1,chapter17 section 17.1-17.4 Query Processing: Overview, measures of query cost, selection operation, sorting, join operation Query Processing: Overview, measures of query cost, selection operation, sorting, join operation Query Optimization: Transformation of relational expressions estimating statistics of expression results ->Reference :1,chapter13 section 13.1-13.6

Week 11

Lecture 31

Lecture 32

Lecture 33

Week 12

Lecture 34

Lecture 35

Parallel Databases: I/O parallelism, Interquery parallelism Intraquery parallelism,Intraoperation parallelism, Interoperation parallelism

Lecture 36

Approved for Autumn Session 2011-12

Spill Over
Week 13 Lecture 37 Lecture 38 SQL injections Distributed daatbases, Packages examples ->Reference :2,2 ->Reference :5,5 ->Reference :6,6 ca/regular/cap503/lectur e37 ca/regular/cap503/lectur e38

Details of homework and case studies


Homework No. Objective Topic of the Homework Nature of homework (group/individuals/field work Evaluation Mode Allottment / submission Week 2/3

Test 1

To enhance the basics of databases

Database Fundamentals: Database systems, Database Individual Architecture Relational Model, Structure of Relational databases, fundamental, additional and extended relational algebra operations SQL: Data Definition, datatypes, schema definition, Basic structure of SQL Queries, Creating tables, DML operations, DDL commands for creating and altering, Set Operations, Aggregate Functions, NULL values PL/SQL Language elements, subprograms and its types, packages, Cursors-implicit and explicit, Triggers- row, statement, before, after and instead-of. Transaction Management: Concept of Transaction, Transaction State, Implementation of atomicity and durability, concurrent execution, Serializability, Recoverability. Concurrency Control: Lock based protocols, Timestamp based protocols, Validation based protocols, Deadlock handling, Insert and Delete operations, Weak levels of consistency Recovery system: Failure classification, storage structure, recovery and atomicity, log-based recovery, recovery with concurrent transactions, buffer management, failure with loss of non-volatile storage Query Processing: Overview, measures of query cost, selection operation, sorting, join operation Query Optimization: Transformation of relational expressions, estimating statistics of expression results. Parallel Databases: I/O parallelism, Interquery parallelism, Intraquery parallelism, Intraoperation parallelism, Interoperation parallelism Individual

Checking

Test 3

To enhance the skills in some advance topics in databases

Checking

10 / 11

Approved for Autumn Session 2011-12

Test 2

To enhance the basics of databases

Advanced SQL: Inbuilt functions, Subqueries, Nested subqueries, Individual Complex queries, Views, Joined relations, Integrity constraints, Authorization, DCL Commands, Embedded SQL, Dynamic SQL Relational Languages: Tuple Relational calculus, Domain relational calculus, Query by Example Database design and ER model: Overview of Design process, Entity relationship model, constraints, ER Diagrams, ER Design issues, Weak entity sets, extended ER features Relational Database Design: Features, Atomic Domains and first normal form, Functional dependency theory decomposition using functional dependencies, decomposition using Multivalued dependencies, Normalization: Objectives of Normalization, 1NF, 2NF, 3NF, BCNF, 4NF, 5NF.

Checking

5/6

Scheme for CA:out of 100*


Component Test Frequency 2 Total :Out Of 3 Each Marks Total Marks 10 10 20 20

* In ENG courses wherever the total exceeds 100, consider x best out of y components of CA, as explained in teacher's guide available on the UMS

*Each experiment of the lab will be evaluated using following relative scheme:
Component WR VIVA J/E % of Marks 20 30 50

List of experiments :Lecture Number practical 1 Lecture Topic To implement different types of DDL statements in SQL Pedagogical Tools Or Equipment Planned LCD,Laptop,oracle 9i( for SQL) lab Manual Not Applicable

Approved for Autumn Session 2011-12

practical 2 practical 3 practical 4 practical 5 practical 6 practical 7 practical 8 practical 9 practical 10 practical 11 practical 12 practical 13 practical 14 practical 15 practical 16 practical 17 practical 18

To implement different types of DML statements in SQL

LCD,Laptop,oracle 9i( for SQL)

Not Applicable Not Applicable Not Applicable Not Applicable Not Applicable Not Applicable Not Applicable Not Applicable Not Applicable Not Applicable Not Applicable Not Applicable Not Applicable Not Applicable Not Applicable Not Applicable Not Applicable

To implement different types of DCLstatements in SQL LCD,Laptop,oracle 9i( for SQL) To implement different types of DCLstatements in SQL LCD,Laptop,oracle 9i( for SQL) To use constraints in SQL clause using where,order by clause using between clause using like clause using group by, having etc To implement character functions available in SQL To implement Numeric functions available in SQL To implement Date Conversion functions available in SQL To implement different in-built functions To implement different user defined Functions To run the various query commands of SQL LCD,Laptop,oracle 9i( for SQL) LCD,Laptop,oracle 9i( for SQL) LCD,Laptop,oracle 9i( for SQL) LCD,Laptop,oracle 9i( for SQL) LCD,Laptop,oracle 9i( for SQL) LCD,Laptop,oracle 9i( for SQL) LCD,Laptop,oracle 9i( for SQL) LCD,Laptop,oracle 9i( for SQL) LCD,Laptop,oracle 9i( for SQL) LCD,Laptop,oracle 9i( for SQL) LCD,Laptop,oracle 9i( for SQL)

To run the various correlated queries using commands LCD,Laptop,oracle 9i( for SQL) of SQL To run the various nested queries using commands of SQL LCD,Laptop,oracle 9i( for SQL)

To run the various correlated queries using commands LCD,Laptop,oracle 9i( for SQL) of SQL

Mid Term
practical 19 practical 20 practical 21 practical 22 practical 23 practical 24 practical 25 7 To create views in PL/SQL To write programs using control structures of PL/SQL like If-else statements To write programs using control structures of PL/SQL like do-while To write programs using control structures of PL/SQL like for statements To write programs using control structures of PL/SQL like while Statements implementation of Cursors implementation of Cursors LCD,Laptop,oracle 9i( for SQL) LCD,Laptop,oracle 9i( for SQL) LCD,Laptop,oracle 9i( for SQL) LCD,Laptop,oracle 9i( for SQL) LCD,Laptop,oracle 9i( for SQL) LCD,Laptop,oracle 9i( for SQL) LCD,Laptop,oracle 9i( for SQL) Not Applicable Not Applicable Not Applicable Not Applicable Not Applicable Not Applicable Not Applicable

Approved for Autumn Session 2011-12

practical 26 practical 27 practical 28 practical 29 practical 30

Implementation of Procedures Implementation of Procedures Implementation of triggers Implementation of triggers Implementation of triggers

LCD,Laptop,oracle 9i( for SQL) LCD,Laptop,oracle 9i( for SQL) LCD,Laptop,oracle 9i( for SQL) LCD,Laptop,oracle 9i( for SQL) LCD,Laptop,oracle 9i( for SQL)

Not Applicable Not Applicable Not Applicable Not Applicable Not Applicable

Spill Over
practical 31 Recovery Techniques LCD,Laptop,oracle 9i( for SQL) Not Applicable

Approved for Autumn Session 2011-12

You might also like