Lec#1
Lec#1
Lec#1
CE-416
Basic Concepts
&
Definitions
Lecture # 1
1
Course Instructor
Engr. Muhammad Atif Bajwa
Lecturer
E-mail: atif.bajwa@students.au.edu.pk
Phone # 0300-5288926
Course Objectives
Introduction to very basics
3
ASSESSMENT SYSTEM
Theoretical/Instruction 100%
Assignments 10%
Quizzes 10%
CEP 10%
Total 100%
4
Text Book
Modern Database Management
Prentice Hall (2010)
10th Edition
Authors
Jeffrey A. Hoffer, Ramesh, Heikki Topi
5
Examples of Database Applications
Purchases from the supermarket
Renting a video
Studying at university
Definitions of Database
Def 1: Database is an organized collection of logically related
data
9
Figure 1-1a Data in Context
Product
Planning Control Sales
Development
Corporate
Database
Accounting Manufacturing
Accounts Accounts
Scheduling Production
Receivable Payable
13
A bit of History
Computer initially used for computational/ engineering
purposes
14
File Processing System
15
File Processing Systems
Library Examination Registration
17
Files Based Processing
Three file processing systems
Duplicate
Data
Disadvantages of File Processing
Program-Data Dependence
File structure is defined in the program code.
All programs maintain metadata for each file they use
Duplication of Data (Data Redundancy)
Different systems/programs have separate copies of the same data
Same data is held by different programs.
Wasted space and potentially different values and/or different formats for
the same item.
Limited Data Sharing
No centralized control of data
Programs are written in different languages, and so cannot easily access
each other’s files.
Disadvantages of File Processing
Lengthy Development Times
Programmers must design their own file formats
Vulnerable to Inconsistency
Change in one table need changes in corresponding tables as well
otherwise data will be inconsistent
21
Problems with Data Dependency
Each application programmer must maintain their own data
This requires a
Database and Database Management System (DBMS)
Advantages of Database Approach
Library Examination Registration
Database
Management
System
DBMS manages data resources like an operating system manages hardware resources
GCR CODE
wlvloio
30