Lecturer: Humaira Abdul Ghafoor: Lec 1 (Week 1) Sep, 2021
Lecturer: Humaira Abdul Ghafoor: Lec 1 (Week 1) Sep, 2021
Sep , 2021
Ghafoor
Contact Information
2
Contact: [email protected]
3 Recommended Books
1) Jeffery A. Hoffer, V. Ramesh, Heikki
Topi, “Modern Database
Management”, tenth edition
Data:
“A collection of raw facts and figures”
Data consists of multi form, text, image, audio, video, graphics etc.
It is collected in different domains of life, e.g. during admission process
UOG gets Data of students.
Information:
“Information is an organized and processed form of data”
Information is more meaningful than Data and it helps in decision
making problems.
Input and Output of a System
6
Data Information
1) Data consists of unprocessed raw facts. 1) Processed form of data.
2) It is difficult or even impossible to 2) It is easier to reproduce in case of lost.
reproduce if lost. 3) Information is meaningful.
3) Data is less meaningful. 4) It is dependent on Data.
4) Data is an independent entity. 5) Information is much important for
5) It is not used in decision-making. decision making.
6) Data is asset of Organization and is 6) Information is normally available to
not available to people for sale. people for sale.
File-Based Systems
8
Redundancy
Same data is held by different programs.
Wasted space and potentially different values and/or
different formats for the same item.
Cont.
12
Data dependence
File structure is defined in the program code.
Arose because:
Definition of data was embedded in application
programs, rather than being stored separately and
independently.
No control over access and manipulation of data
beyond that imposed by application programs.
Result:
The database and Database Management System
(DBMS).
Database
14
a user-accessible catalog.
Example
18
Banking System:
Reduce complexity.
Provide a level of security.
Provide a mechanism to customize the appearance
of the database.
Present a consistent, unchanging picture of the
structure of the database, even if the underlying
database is changed.
Database Management System
22
(DBMS)
“A collection of programs used to create and maintain
Database”
Hardware
Can range from a PC to a network of computers.
Software
DBMS, operating system, network software (if
necessary) and also the application programs.
Data
Used by the organization and a description of this data
called the schema.
Cont.
26
Procedures
Instructionsand rules that should be applied to the
design and use of the database and DBMS.
People
Relationship of Application Program
27
& DBMS
User
User Interface
Application Program
DBMS
Database
Types of Database
28
First-generation
Hierarchical and Network
Second generation
Relational
Third generation
Object Relational
Object-Oriented
Advantages of DBMS
31
Complexity
Size
Cost of DBMS
Additional hardware costs
Cost of conversion
Performance
Higher impact of a failure
For any query Feel Free to ask
33