SlideShare a Scribd company logo
1 of 41
DATABASE
Prepare by: M.Robeel
Data and
information
3/9/2020Gulab Devi Educational Complex Lahore
2
Data and Information
 Data is a collection of unprocessed items, which
can include text, numbers, images, audio, and
video. Information conveys meaning and is useful
to people.
 for example, computers process several data items
to print information in the form of a cash register
receipt.
 Computers process data into information.
3/9/2020Gulab Devi Educational Complex Lahore
3
Data and Information
3/9/2020Gulab Devi Educational Complex Lahore
4
Database
3/9/2020Gulab Devi Educational Complex Lahore
5
Database
 Database is an organized collection of related
data. The word organized means that data is store
in such a way that user can store, manipulate and
retrieve data easily. The word related means that
database is normally created to store data about a
particular topic. For example , if you create a
database for students, it will contain the data about
students such as Roll No, name, address and other
information about the students
Database
management
system (DBMS)
3/9/2020Gulab Devi Educational Complex Lahore
7
database management
system (DBMS)
With database software, often called a database
management system (DBMS), users create a
computerized database; add, modify, and delete data
in the database; sort and retrieve data from the
database; and create forms and reports from the data
in the database.
Data Integrity
 Most organizations realize that data is one of their
more valuable assets — because data is used to
generate information. Many business transactions
take less time when employees have instant access
to information. To ensure that data is accessible on
demand, an organization must manage and protect
its data just as it would any other resource. Thus, it
is vital that the data has integrity and is kept secure.
The Hierarchy of Data
 Data is organized in layers. In the computer
profession, data is classified in a hierarchy. Each
higher level of data consists of one or more items
from the lower level. For example, a student has an
address, and an address consists of letters and
numbers. Depending on the application and the user,
different terms describe the various levels of the
hierarchy.
The Hierarchy of Data
Fields
 A field name uniquely identifies each field. When
searching for data in a database, you often specify
the field name. Field names for the data in the
Instructor file are Instructor ID, First Name, Last
Name, Extension, Office, and Web Address.
a field
Records
 A record is a group of related fields. For example, a
student record includes a set of fields about one
student.
a record
primary key
 A primary key is a field that uniquely identifies each
record in a file. The data in a primary key is unique
to a specific record. For example, the Customer ID
field uniquely identifies each Customer because no
two Customer can have the same Customer ID.
primary key field
Files
 A data file is a collection of related records stored on
a storage medium such as a hard disk or optical
disc. A Student file at a school might consist of
thousands of individual student records. Each
student record in the file contains the same fields.
Each field, however, contains different data.
Table
 “A table is the primary unit of physical storage for
data in a database.”1 Usually a database contains
more than one table.
A Database with Multiple
Tables
Publishers Books Customers
Authors Inventory Orders
Maintaining Data
 File maintenance refers to the procedures that keep
data current. File maintenance procedures include
adding records to, modifying records in, and deleting
records from a file.
CRUD
 Create new tables and records
 Retrieve record from tables
 Update table definition and record
data
 Delete existing tables and record
File Processing VS
Databases
3/9/2020Gulab Devi Educational Complex Lahore
25
File Processing
 In the past, many organizations exclusively used
file processing systems to store and manage data.
In a typical file processing system, each
department or area within an organization has its
own set of files. The records in one file may not
relate to the records in any other file.
Disadvantages
 Data Redundancy
 Data Inconsistency
 Difficult in accessing Data
 Data Security
 Privacy
 Sharing of Data
 Backup and Recovery
Data Redundancy
 Data Redundancy — Each department or area in an
organization has its own files in a file processing
system. Thus, the same fields are stored in multiple
files. If a file processing system is used at a school,
for example, the Student file and the Student
Schedule file both might store the same students’
names and addresses. Duplicating data in this
manner wastes resources such as storage space and
people’s time. When new students are added or
student data is modified, file maintenance tasks
consume additional time because people must
Difficult in accessing Data
 Often it is difficult to access data stored in separate
files in different departments. Sharing data from
multiple, separate files is a complicated procedure
and usually requires the experience of a computer
programmer.
Data inconsistency
 Data inconsistency is a condition that occurs
between files when similar data is kept in different
formats in two different files. As a result of the
data inconsistency, these files duplicate some
data such as addresses and names,
compromising data integrity.
Data Security, Privacy,
Sharing of Data
 Data Security
is another issue of file systems that create problems
to secure Data.
 Privacy
Privacy is another issue of file systems that create
problems to protect Data from unauthorized access.
 Sharing of Data
in file system sharing of data is not easy because
multiples files have duplicate data and some file have
different data.
Backup and Recovery
 Backup and recovery is also difficult in file system
because Multiples file have same data.
Database Advantages
 Reduced Data Redundancy — Most data items are
stored in only one file, which greatly reduces
duplicate data. demonstrates the differences
between how a file processing application and a
database application might store data.
 Improved Data Integrity — When users modify
data in the database, they make changes to one file
instead of multiple files. Thus, the database
approach increases the data’s integrity by reducing
the possibility of introducing inconsistencies.

Databases
Advantages
3/9/2020Gulab Devi Educational Complex Lahore
34
Database Advantages
 Shared Data — The data in a database environment
belongs to and is shared, usually over a network, by
the entire organization. Organizations that use
databases typically have security settings to define
who can access, add, modify, and delete the data in
a database.
 Easier Access — The database approach allows
nontechnical users to access and maintain data,
providing they have the necessary privileges.
 Reduced Development Time — It often is easier
and faster to develop programs that use the
Data Dictionary
 A data dictionary contains data about each file in
the database and each field within those files. For
each file, it stores details such as the file name,
description, the file’s relationship to other files, and
the number of records in the file.
Data Dictionary
Database models
 A data model consists of rules and standards that
define how the database organizes data. A data
model defines how users view the organization of
the data. It does not define how the operating
system actually arranges the data on the disk. Three
popular data models in use today are relational,
object-oriented, and multidimensional.
Relational Databases Model
 Data are organized into two dimensional tables.
 Tables are related to each other.
 It is the most common model being used today.
Object-Oriented Database
(OODB) Model
 An object-oriented database (OODB) stores data
in objects. An object is an item that contains data,
as well as the actions that read or process the data.
A Student object, for example, might contain data
about a student such as Student ID, First Name,
Last Name, Address, and so on. It also could contain
instructions about how to print a student transcript or
the formula required to calculate a student’s grade
point average. Object-oriented databases have
several advantages compared with relational
databases: they can store more types of data,
Multidimensional Databases
 A multidimensional database stores data in
dimensions. Whereas a relational database is a two-
dimensional table, a multidimensional database can
store more than two dimensions of data. These
multiple dimensions allow users to access and
analyze any view of the database data.

More Related Content

What's hot

Computer science 2nd year short questions notes (1)
Computer science 2nd year short questions notes (1)Computer science 2nd year short questions notes (1)
Computer science 2nd year short questions notes (1)umarsajjad18
 
Database Concepts and Components
Database Concepts and ComponentsDatabase Concepts and Components
Database Concepts and ComponentsRIAH ENCARNACION
 
Data base management
Data base management Data base management
Data base management MiXvideos
 
DATA RESOURCE MANAGEMENT
DATA RESOURCE MANAGEMENT DATA RESOURCE MANAGEMENT
DATA RESOURCE MANAGEMENT huma sh
 
Building a-database
Building a-databaseBuilding a-database
Building a-databaseHarry Potter
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to databasePradnya Saval
 
Best practices data management
Best practices data managementBest practices data management
Best practices data managementSherry Lake
 
Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introductionJananath Banuka
 
Bba203 unit 2data processing concepts
Bba203   unit 2data processing conceptsBba203   unit 2data processing concepts
Bba203 unit 2data processing conceptskinjal patel
 
A Survey on Big Data Analytics
A Survey on Big Data AnalyticsA Survey on Big Data Analytics
A Survey on Big Data AnalyticsBHARATH KUMAR
 

What's hot (15)

Dbms
DbmsDbms
Dbms
 
Computer science 2nd year short questions notes (1)
Computer science 2nd year short questions notes (1)Computer science 2nd year short questions notes (1)
Computer science 2nd year short questions notes (1)
 
Database Concepts and Components
Database Concepts and ComponentsDatabase Concepts and Components
Database Concepts and Components
 
Electronic Databases
Electronic DatabasesElectronic Databases
Electronic Databases
 
Week 9
Week 9Week 9
Week 9
 
Data base management
Data base management Data base management
Data base management
 
DATA RESOURCE MANAGEMENT
DATA RESOURCE MANAGEMENT DATA RESOURCE MANAGEMENT
DATA RESOURCE MANAGEMENT
 
Building a-database
Building a-databaseBuilding a-database
Building a-database
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Best practices data management
Best practices data managementBest practices data management
Best practices data management
 
Db lecture 1
Db lecture 1Db lecture 1
Db lecture 1
 
Database
DatabaseDatabase
Database
 
Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introduction
 
Bba203 unit 2data processing concepts
Bba203   unit 2data processing conceptsBba203   unit 2data processing concepts
Bba203 unit 2data processing concepts
 
A Survey on Big Data Analytics
A Survey on Big Data AnalyticsA Survey on Big Data Analytics
A Survey on Big Data Analytics
 

Similar to Ch # 09 database management system

Building a-database
Building a-databaseBuilding a-database
Building a-databaseJames Wong
 
Building a-database
Building a-databaseBuilding a-database
Building a-databaseYoung Alista
 
Building a-database
Building a-databaseBuilding a-database
Building a-databaseTony Nguyen
 
Building a-database
Building a-databaseBuilding a-database
Building a-databaseDavid Hoen
 
Building a-database
Building a-databaseBuilding a-database
Building a-databaseFraboni Ec
 
Database Management Systems - Management Information System
Database Management Systems - Management Information SystemDatabase Management Systems - Management Information System
Database Management Systems - Management Information SystemNijaz N
 
Data base management system
Data base management systemData base management system
Data base management systemNavneet Jingar
 
Database management system by Gursharan singh
Database management system by Gursharan singhDatabase management system by Gursharan singh
Database management system by Gursharan singhGursharan Singh
 
Database Management System
Database Management SystemDatabase Management System
Database Management SystemTamur Iqbal
 
Database - R.D.Sivakumar
Database - R.D.SivakumarDatabase - R.D.Sivakumar
Database - R.D.SivakumarSivakumar R D .
 
Mca ii-dbms- u-i-introductory concepts of dbms
Mca ii-dbms- u-i-introductory concepts of dbmsMca ii-dbms- u-i-introductory concepts of dbms
Mca ii-dbms- u-i-introductory concepts of dbmsRai University
 
Database management system
Database management systemDatabase management system
Database management systemSayed Ahmed
 
Database management system
Database management systemDatabase management system
Database management systemSayed Ahmed
 
Data base management
Data base management Data base management
Data base management MiXvideos
 

Similar to Ch # 09 database management system (20)

Building a-database
Building a-databaseBuilding a-database
Building a-database
 
Building a-database
Building a-databaseBuilding a-database
Building a-database
 
Building a-database
Building a-databaseBuilding a-database
Building a-database
 
Building a-database
Building a-databaseBuilding a-database
Building a-database
 
Building a-database
Building a-databaseBuilding a-database
Building a-database
 
Building a-database
Building a-databaseBuilding a-database
Building a-database
 
Dbms mca-section a
Dbms mca-section aDbms mca-section a
Dbms mca-section a
 
Data base
Data baseData base
Data base
 
Database basics
Database basicsDatabase basics
Database basics
 
Dbms
DbmsDbms
Dbms
 
Database Management Systems - Management Information System
Database Management Systems - Management Information SystemDatabase Management Systems - Management Information System
Database Management Systems - Management Information System
 
Data base management system
Data base management systemData base management system
Data base management system
 
Database management system by Gursharan singh
Database management system by Gursharan singhDatabase management system by Gursharan singh
Database management system by Gursharan singh
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Database - R.D.Sivakumar
Database - R.D.SivakumarDatabase - R.D.Sivakumar
Database - R.D.Sivakumar
 
8.DBMS.pptx
8.DBMS.pptx8.DBMS.pptx
8.DBMS.pptx
 
Mca ii-dbms- u-i-introductory concepts of dbms
Mca ii-dbms- u-i-introductory concepts of dbmsMca ii-dbms- u-i-introductory concepts of dbms
Mca ii-dbms- u-i-introductory concepts of dbms
 
Database management system
Database management systemDatabase management system
Database management system
 
Database management system
Database management systemDatabase management system
Database management system
 
Data base management
Data base management Data base management
Data base management
 

More from MuhammadRobeel3

More from MuhammadRobeel3 (17)

Programming languages
Programming languagesProgramming languages
Programming languages
 
Osi model
Osi modelOsi model
Osi model
 
Memory management
Memory managementMemory management
Memory management
 
Command line interface
Command line interfaceCommand line interface
Command line interface
 
Ch # 11
Ch # 11Ch # 11
Ch # 11
 
Ch # 10 computer security risks and safe guards
Ch # 10 computer security risks and safe guardsCh # 10 computer security risks and safe guards
Ch # 10 computer security risks and safe guards
 
Ch # 08 communication devices, network typologies , network protocol
Ch # 08 communication devices, network typologies , network protocolCh # 08 communication devices, network typologies , network protocol
Ch # 08 communication devices, network typologies , network protocol
 
Ch # 07 operating system
Ch # 07 operating systemCh # 07 operating system
Ch # 07 operating system
 
Ch # 06 storage devices
Ch # 06 storage devicesCh # 06 storage devices
Ch # 06 storage devices
 
Ch # 05 input and output devices in computer
Ch # 05 input and output devices in computerCh # 05 input and output devices in computer
Ch # 05 input and output devices in computer
 
Ch # 04 computer hardware
Ch # 04 computer hardware Ch # 04 computer hardware
Ch # 04 computer hardware
 
Ch # 03 software
Ch # 03  softwareCh # 03  software
Ch # 03 software
 
Ch # 02 internet
Ch # 02 internetCh # 02 internet
Ch # 02 internet
 
Introduction to computer
Introduction to computerIntroduction to computer
Introduction to computer
 
pdlc
pdlc pdlc
pdlc
 
Introduction to computer
Introduction to computerIntroduction to computer
Introduction to computer
 
SDLC
SDLCSDLC
SDLC
 

Recently uploaded

MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 

Recently uploaded (20)

MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 

Ch # 09 database management system

  • 2. Data and information 3/9/2020Gulab Devi Educational Complex Lahore 2
  • 3. Data and Information  Data is a collection of unprocessed items, which can include text, numbers, images, audio, and video. Information conveys meaning and is useful to people.  for example, computers process several data items to print information in the form of a cash register receipt.  Computers process data into information. 3/9/2020Gulab Devi Educational Complex Lahore 3
  • 4. Data and Information 3/9/2020Gulab Devi Educational Complex Lahore 4
  • 6. Database  Database is an organized collection of related data. The word organized means that data is store in such a way that user can store, manipulate and retrieve data easily. The word related means that database is normally created to store data about a particular topic. For example , if you create a database for students, it will contain the data about students such as Roll No, name, address and other information about the students
  • 8. database management system (DBMS) With database software, often called a database management system (DBMS), users create a computerized database; add, modify, and delete data in the database; sort and retrieve data from the database; and create forms and reports from the data in the database.
  • 9. Data Integrity  Most organizations realize that data is one of their more valuable assets — because data is used to generate information. Many business transactions take less time when employees have instant access to information. To ensure that data is accessible on demand, an organization must manage and protect its data just as it would any other resource. Thus, it is vital that the data has integrity and is kept secure.
  • 10. The Hierarchy of Data  Data is organized in layers. In the computer profession, data is classified in a hierarchy. Each higher level of data consists of one or more items from the lower level. For example, a student has an address, and an address consists of letters and numbers. Depending on the application and the user, different terms describe the various levels of the hierarchy.
  • 12. Fields  A field name uniquely identifies each field. When searching for data in a database, you often specify the field name. Field names for the data in the Instructor file are Instructor ID, First Name, Last Name, Extension, Office, and Web Address. a field
  • 13. Records  A record is a group of related fields. For example, a student record includes a set of fields about one student. a record
  • 14. primary key  A primary key is a field that uniquely identifies each record in a file. The data in a primary key is unique to a specific record. For example, the Customer ID field uniquely identifies each Customer because no two Customer can have the same Customer ID. primary key field
  • 15. Files  A data file is a collection of related records stored on a storage medium such as a hard disk or optical disc. A Student file at a school might consist of thousands of individual student records. Each student record in the file contains the same fields. Each field, however, contains different data.
  • 16. Table  “A table is the primary unit of physical storage for data in a database.”1 Usually a database contains more than one table.
  • 17. A Database with Multiple Tables Publishers Books Customers Authors Inventory Orders
  • 18. Maintaining Data  File maintenance refers to the procedures that keep data current. File maintenance procedures include adding records to, modifying records in, and deleting records from a file.
  • 19. CRUD  Create new tables and records  Retrieve record from tables  Update table definition and record data  Delete existing tables and record
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25. File Processing VS Databases 3/9/2020Gulab Devi Educational Complex Lahore 25
  • 26. File Processing  In the past, many organizations exclusively used file processing systems to store and manage data. In a typical file processing system, each department or area within an organization has its own set of files. The records in one file may not relate to the records in any other file.
  • 27. Disadvantages  Data Redundancy  Data Inconsistency  Difficult in accessing Data  Data Security  Privacy  Sharing of Data  Backup and Recovery
  • 28. Data Redundancy  Data Redundancy — Each department or area in an organization has its own files in a file processing system. Thus, the same fields are stored in multiple files. If a file processing system is used at a school, for example, the Student file and the Student Schedule file both might store the same students’ names and addresses. Duplicating data in this manner wastes resources such as storage space and people’s time. When new students are added or student data is modified, file maintenance tasks consume additional time because people must
  • 29. Difficult in accessing Data  Often it is difficult to access data stored in separate files in different departments. Sharing data from multiple, separate files is a complicated procedure and usually requires the experience of a computer programmer.
  • 30. Data inconsistency  Data inconsistency is a condition that occurs between files when similar data is kept in different formats in two different files. As a result of the data inconsistency, these files duplicate some data such as addresses and names, compromising data integrity.
  • 31. Data Security, Privacy, Sharing of Data  Data Security is another issue of file systems that create problems to secure Data.  Privacy Privacy is another issue of file systems that create problems to protect Data from unauthorized access.  Sharing of Data in file system sharing of data is not easy because multiples files have duplicate data and some file have different data.
  • 32. Backup and Recovery  Backup and recovery is also difficult in file system because Multiples file have same data.
  • 33. Database Advantages  Reduced Data Redundancy — Most data items are stored in only one file, which greatly reduces duplicate data. demonstrates the differences between how a file processing application and a database application might store data.  Improved Data Integrity — When users modify data in the database, they make changes to one file instead of multiple files. Thus, the database approach increases the data’s integrity by reducing the possibility of introducing inconsistencies. 
  • 35. Database Advantages  Shared Data — The data in a database environment belongs to and is shared, usually over a network, by the entire organization. Organizations that use databases typically have security settings to define who can access, add, modify, and delete the data in a database.  Easier Access — The database approach allows nontechnical users to access and maintain data, providing they have the necessary privileges.  Reduced Development Time — It often is easier and faster to develop programs that use the
  • 36. Data Dictionary  A data dictionary contains data about each file in the database and each field within those files. For each file, it stores details such as the file name, description, the file’s relationship to other files, and the number of records in the file.
  • 38. Database models  A data model consists of rules and standards that define how the database organizes data. A data model defines how users view the organization of the data. It does not define how the operating system actually arranges the data on the disk. Three popular data models in use today are relational, object-oriented, and multidimensional.
  • 39. Relational Databases Model  Data are organized into two dimensional tables.  Tables are related to each other.  It is the most common model being used today.
  • 40. Object-Oriented Database (OODB) Model  An object-oriented database (OODB) stores data in objects. An object is an item that contains data, as well as the actions that read or process the data. A Student object, for example, might contain data about a student such as Student ID, First Name, Last Name, Address, and so on. It also could contain instructions about how to print a student transcript or the formula required to calculate a student’s grade point average. Object-oriented databases have several advantages compared with relational databases: they can store more types of data,
  • 41. Multidimensional Databases  A multidimensional database stores data in dimensions. Whereas a relational database is a two- dimensional table, a multidimensional database can store more than two dimensions of data. These multiple dimensions allow users to access and analyze any view of the database data.