Course Outline
Title Database Systems
Code IT-243
Credit Hours 3
Theory/week:
Weight 3 Cr. Hrs.
Contact Hours 3 Hrs.
Lectures: 2
Duration 1.5 Hrs.
Syllabus Topics: Traditional File Based Systems; Database Approach; Roles in Database Environment; History of Database Management
Systems; Advantages and Disadvantages of DBMS; ANSI-SPARC Architecture; Data Manipulation Language (DML); Data Models;
Functions of DBMS; Components of DBMS; Multi-User DBMS Architectures; History of Relational Model; Terminologies; Relational
Data Structures, Mathematical Relation, Database Relations, Relational Keys, Representing Relational, Database Schemas; Relational
Integrity; Relational Algebra; Introduction to SQL; Data Manipulation; Integrity enhancement Feature; Data Definition: Create a
Database, Creating Tables, Altering Table, Dropping Table, Creating Index, Removing Index; Views: Creating Views, Removing views,
Restrictions on Views, Updating Views, Advantages and Disadvantages, View Materialization; Transactions; Access Control;
Information Systems Life Cycle; Database Application Life Cycle; Database Planning; System Definition; Requirements Collection &
Analysis; Database Design; DBMS Selection; Implementation; Testing; Data Administration & Database Administration; Entity Types;
Relationship Types; Attributes; Strong & weak Entity Types; Attributes on Relationships; Structural Constrains; Problems with ER
Models; Specialization/Generalization For EERD; Constraints on Specialization/Generalization; Insertion Anomalies, Deletion
Anomalies, Update Anomalies; Functional Dependency; Process of Normalization; First Normal Form; Second Normal Form; Review of
Normalization (1NF-BCNF); Introduction and overview of Database Design Methodology; Conceptual Database Design Methodology;
Logical Database Design Methodology; Comparisons of Logical and Physical Database Design; Overview of Physical Database Design;
Physical Database Design Methodology: Centralized and Distributed Databases; Advance Topics.
Text Book/s Thomas Connally and Carolyn Begg “Database Systems”, 6th Edition, 2014, ISBN0-515-13038-9.
Reference Books/Material Hand-outs
Instructional Aids/Resources Windows Environment
Oracle 10g client & Server / SQL Server
Erwin / DB Designer
Multimedia in Class Rooms as well as in Labs
Photocopy Facility for Handouts/Case Studies
E-Books (Provided)
Assessment Criteria Sessional 25% Mid 25% Final 50% Total 100%
Project 15
Assignment 05
University of the Gujrat 3-9
Rec mme ti
Pr ect i t e c m l ry rt t i re
Grading Policy:
1 Assignments 10%
Assignm
2 Quizzes 5% ents
Quizzes
Presenta
3 Project Presentation 10% Final tion
Exam
3 Mid term 25% Mid
Term
Important notes:
Quizzes:
A number of quizzes will take place in the class to measure the learning progress of the students. These quizzes will be announced or unannounced.
Plagiarism Policy:
During this course a strict no tolerance plagiarism policy will be adopted regarding class assignments and term projects. While collaboration in this course is highly encouraged,
you must ensure that you do claim other people’s work/idea as your own. Plagiarism occurs when the words, ideas, assertion, theories, figures, images, programming code of
others is presented as your own work. Failing to comply with plagiarism policy will lead to strict penalties including zero marks in assignments.
University of the Gujrat 4-9
Frame
work
Week Lecture Topic Source Recommendations for Learning Activities
(Book-Chapter (Mention Assignments, Test, Quizzes, Practical, Case
No. Section Study, Projects, Lab Work or Reading Assignments)
No.)
Overvie o or a io y e Li e ycle
lanning
naly i
evelop Conceptual ata model Text –Ch9
e ign
5
Logical ataba e e ign and out
hy ical ataba e e ign
mplementati n
aintenance
3 a a a e la i g ignment: 1
aa ae aly i
e o act inding Technique
What act a e collected? Text –Ch10
act inding Technique
6 Examining ocumentation Text B Ch2
nte vie ing
b e vation
Re ea ch
ue tionnai e
o ked Example
aa a e e ig
pp oache to ataba e e ign
ata odeling
ha e o ataba e e ign Text –Ch9
o ce al a a a e e ig
7 Text B Ch5 &
nt oduction to Entity Relational model
6
Entity Type
Relatio ip Type
4 eg ee o Relation hip Type
Recu ive Relation hip
ri e
imple & Compo ite tt ibute
ingle alued & ulti alued tt ibute
e ived tt ibute Text –Ch 11
8
ey
t ong & eak Entity Type
tt ibute on Relation hip
University of the Gujrat 6-9
Relational Calculus:
Difference of two relations
14
Intersection of two relations
Cartesian product
Introduction to SQL: Quiz:3
Objective of SQL
History of SQL
Importance & Environment of SQL
Categories of SQL Commands
DML Text A –Ch5
DDL
15
DCL Text A- Ch 2
Data Definition: Creating a Database
Creating Tables
8 Altering Table
Dropping Table
Creating Index
Removing Index
Data Integrity: Assignment:3
Types of Data integrity:
Entity Integrity Text A –Ch6
16
Domain Integrity
Referential Integrity
User-defined Integrity
Constraints: Assignment of Term Projects
PRIMARY KEY Constraint
UNIQUE Constraint Text A –Ch6
IDENTITY Property
DEFAULT Definition Text B-Ch5
17
FOREIGN Key Constraint
CHECK Constraint
9
NOT NULL Constraint
Rules
Data Manipulation:
Understanding the SELECT command Format
The SELECT Clause Text A –Ch5
18
The FROM Clause
The WHERE Clause
University of the Gujrat 8-9
Use of Operators:
Relational Operators
Logical Operators
Text A –Ch5
19 Wildcard Characters
Understanding the NULL values and
Expressions
10 ORDER BY Clause
Aggregate Functions in SQL Quiz:4
The GROUP BY Clause
The HAVING Clause Text A –Ch5
20
Querying from Multiple Tables
UNIION
Sub Query
Types of Sub Query
Nested Sub query
o Single row sub query Text A –Ch5
21
o Multiple row sub query
Correlated Sub query
Parameters Queries
11
Joins
Types of Joins
o Inner join Text A –Ch5
22
o Outer Join
o Left outer join
o Right outer join
Views: Assignment:4
Creating Views
Removing views
23 Restrictions on Views Text A –Ch6
Updating Views
Advantages and Disadvantages
12 View Materialization
Indexes
Types of Indexes
Indexed sequential Files
25 Secondary indexes Text B –Ch6
13 Multilevel indexes
B+ trees
Clustered, Non Clustered Indexes
RAID Text A –Ch18
26
Text B –Ch6
Transaction Management:
The Concept of Transaction
27 Transaction and Scheduling Text A –Ch17
Properties of successful transactions.
14
Text A –Ch19
Concurrent Execution of Transactions Text B-Ch12
28 Serialzability
Lock-Based Concurrency Control
Deadlocks