SlideShare a Scribd company logo
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill Technology Education
Chapter 11A
Database Management
Systems
Data
• Information in raw or unorganized form
(such as alphabets, numbers, or
symbols) that represent, conditions,
ideas, or objects.
• In computing, data is information that
has been translated into a form that is
more convenient to process.
11A-2
Data Representation
1. Bits
– A bit is the fundamental unit of computer
storage
– A bit can be 0 (off) or 1 (on)
– Related bits are grouped to represent
different types of information such as
numbers, characters, pictures, sound,
instructions
11A-3
4
Nibbles
• Nibbles
– A nibble is a group of
4 bits
– A nibble is used to
represent a digit in
Hex (from 0-15) and
BCD (from 0-9)
numbers
BCD Hex
0000 0 0
0001 1 1
0010 2 2
0011 3 3
0100 4 4
0101 5 5
0110 6 6
0111 7 7
1000 8 8
1001 9 9
1010 A
1011 B
1100 C
1101 D
1110 E
1111 F
Data Representation inData Representation in
Computer SystemsComputer Systems
5
Bytes
Bytes
– A byte is a group of 8 bits that is used to
represent numbers and characters
– A standard code for representing numbers
and characters is ASCII (American
Standard Code for Information
Interchange )
Data Representation inData Representation in
Computer SystemsComputer Systems
6
Byte Size
Bytes
– How many different combinations of 0’s and
1’s with 8 bits can be formed?
– In general, how many different
combinations of 0’s and 1’s with N bits can
be formed?
– How many different characters can be
represented with a byte (8 bits)?
Data Representation inData Representation in
Computer SystemsComputer Systems
7
Words
Words
– A word is a group of 16 bits or 2 bytes
– UNICODE is an international standard code
for representing characters including non-
Latin characters like Asian, Greek, etc.
Data Representation inData Representation in
Computer SystemsComputer Systems
8
Double Words
Double Words
– A double word is a group of 32 bits or 4
bytes or 2 words
Related Bytes
– A nibble is a half-byte (4-bit) - hex representation
– A word is a 2-byte (16-bit) data item
– A doubleword is a 4-byte (32-bit) data item
– A quadword is an 8-byte (64-bit) data item
– A paragraph is a 16-byte (128-bit) area
– A kilobyte (KB) is 210
= 1,024 bytes ≈ 1,000 bytes)
– A megabyte (MB) is 220
= 1,048,576 ≈1 Million Bytes
– A Gigabyte (GB) is 230
= 1,073,741,824 ≈ 1 Billion
Database approach
• The database approach is a way in
which data is stored within a
computer.
• It is organized into various charts that
are accessed by a variety of computer
applications from different locations.
• Databases are composed of a variety of
information that is relevant to the
organization that is using the database.
11A-10
11A-11
Database Management Systems
• Database management system (DBMS)
• Store large collections of data
• Organize the data
• Becomes a data storage system
11A-12
The Database
• A database is a collection of information
that is organized so that it can easily be
accessed, managed, and updated.
• Stores a collection of related items
• Collection is arranged in a structure
– Organizes and describes the data
• Examples:
• Library database, Police database,
medical store database etc
11A-13
Database Structure
Field NameField Name
RecordRecord
FieldField
11A-14
Components of Database
• 1. Fields
– Hold an individual piece of data
– Are named descriptively
– Often called a column
– Phone book examples
• Name, address, e-mail, phone number
– Fields may contain no data
11A-15
Components of Database
• 2. Records
– One full set of fields
– Often called a row
– Phone book example
• Smith, Joe, 123 Some Street, 412-555-7777
– Databases may have unlimited rows
11A-16
Database Helper Documents
• 4. Forms
– forms are designed to ease the data entry process.
For example, you can create a data entry form that
looks exactly like a paper form . People generally
prefer to enter data into a well-designed form,
rather than a table.
11A-17
Components of Database
• 5. Tables
Tables are where the actual data is defined
and entered. Tables consist of records
(rows) and fields (columns).
• 6. Reports
– Produce printed results from the database
– Includes tools to summarize data
11A-18
Database Helper Documents
• 7. Pages: a data access page is a
special type of Web page designed for
viewing and working with data from the
Internet or an intranet. This data is
stored in a Microsoft Access database
or a Microsoft SQL Server database.
Database types
1. Flat file database
2. Relational database
11A-19
11A-20
Flat-file Databases
• Typically has only one table
– If multiple, each has a separate file
• Useful for simple data storage needs
• Hard to manage large data needs
• Can waste disk space
11A-21
Relational Databases
• Made of two or more tables
• Tables are related by a common field
– Called a relationship or join
– Can help organize data
• Most common form of database
• Maintaining data is easier than flat-file
• No wasted disk space
11A-22
Database Management System
• Programs that control the database
• Allows
– Entering data
– Querying data
– Printing reports
• Supports thousands of users
• Includes tools to protect the data
11A-23
Working with a Database
• Querying a database
– Statement that describes desired data
– List of fields can be modified
– Uses of querying
• Find data
• Calculate values per record
• Delete records
– Most important DBMS skill
11A-24
Working with a Database
• Query languages
– All DBMS use a query language
• Most DBMS modify the language
– Structured Query Language (SQL)
• Most common query language
– xBase
• Query language for dBase systems
– Query by example (QBE)
• Interface to SQL or xBase
• Interactive query design
Data Dictionary
• A data dictionary is a file or a set of files
that contains a database's metadata.
The data dictionary contains records
about other objects in the database,
such as data ownership, data
relationships to other objects, and other
data.
11A-25

More Related Content

What's hot

File organisation in system analysis and design
File organisation in system analysis and designFile organisation in system analysis and design
File organisation in system analysis and design
Mohitgauri
 
Chap01 (ics12)
Chap01 (ics12)Chap01 (ics12)
Chap01 (ics12)
usmanahmadawan
 
Key database terms
Key database termsKey database terms
Key database termslistergc
 
File organization
File organizationFile organization
File organization
RituBhargava7
 
Indexing structure for files
Indexing structure for filesIndexing structure for files
Indexing structure for files
Zainab Almugbel
 
File organization 1
File organization 1File organization 1
File organization 1
Rupali Rana
 
Lecture27
Lecture27Lecture27
Lecture27
Sumama Shakir
 
File organization
File organizationFile organization
File organization
KanchanPatil34
 
overview of storage and indexing BY-Pratik kadam
overview of storage and indexing BY-Pratik kadam overview of storage and indexing BY-Pratik kadam
overview of storage and indexing BY-Pratik kadam
pratikkadam78
 
File organization continued
File organization continuedFile organization continued
File organization continued
chesterking12
 
Info systems databases
Info systems databasesInfo systems databases
Info systems databases
MR Z
 
358 33 powerpoint-slides_16-files-their-organization_chapter-16
358 33 powerpoint-slides_16-files-their-organization_chapter-16358 33 powerpoint-slides_16-files-their-organization_chapter-16
358 33 powerpoint-slides_16-files-their-organization_chapter-16
sumitbardhan
 
Trees
TreesTrees
Database basics
Database basicsDatabase basics
Database basics
Imran Chowdhary
 
DBMS
DBMSDBMS
DBMS
emran nur
 
Mca iii dfs u-4 tree and graph
Mca iii dfs u-4 tree and graphMca iii dfs u-4 tree and graph
Mca iii dfs u-4 tree and graph
Rai University
 
Types of Databases
Types of DatabasesTypes of Databases
Types of Databases
kedar2310
 
08 sip database
08 sip database08 sip database
08 sip databaseIkhsan Bz
 

What's hot (20)

File organisation in system analysis and design
File organisation in system analysis and designFile organisation in system analysis and design
File organisation in system analysis and design
 
Chap01 (ics12)
Chap01 (ics12)Chap01 (ics12)
Chap01 (ics12)
 
Ch 8 data base
Ch 8 data baseCh 8 data base
Ch 8 data base
 
Key database terms
Key database termsKey database terms
Key database terms
 
File organization
File organizationFile organization
File organization
 
Indexing structure for files
Indexing structure for filesIndexing structure for files
Indexing structure for files
 
Nota ict form 5
Nota ict form 5Nota ict form 5
Nota ict form 5
 
File organization 1
File organization 1File organization 1
File organization 1
 
Lecture27
Lecture27Lecture27
Lecture27
 
File organization
File organizationFile organization
File organization
 
overview of storage and indexing BY-Pratik kadam
overview of storage and indexing BY-Pratik kadam overview of storage and indexing BY-Pratik kadam
overview of storage and indexing BY-Pratik kadam
 
File organization continued
File organization continuedFile organization continued
File organization continued
 
Info systems databases
Info systems databasesInfo systems databases
Info systems databases
 
358 33 powerpoint-slides_16-files-their-organization_chapter-16
358 33 powerpoint-slides_16-files-their-organization_chapter-16358 33 powerpoint-slides_16-files-their-organization_chapter-16
358 33 powerpoint-slides_16-files-their-organization_chapter-16
 
Trees
TreesTrees
Trees
 
Database basics
Database basicsDatabase basics
Database basics
 
DBMS
DBMSDBMS
DBMS
 
Mca iii dfs u-4 tree and graph
Mca iii dfs u-4 tree and graphMca iii dfs u-4 tree and graph
Mca iii dfs u-4 tree and graph
 
Types of Databases
Types of DatabasesTypes of Databases
Types of Databases
 
08 sip database
08 sip database08 sip database
08 sip database
 

Viewers also liked

Internet 1 (IT) Lecture Slide
Internet 1 (IT) Lecture SlideInternet 1 (IT) Lecture Slide
Internet 1 (IT) Lecture Slide
Muhammad Talha Zaroon
 
2nd Law of Thermodynamics + Doppler (Physics) Assig # 2
2nd Law of Thermodynamics + Doppler (Physics) Assig # 22nd Law of Thermodynamics + Doppler (Physics) Assig # 2
2nd Law of Thermodynamics + Doppler (Physics) Assig # 2
Muhammad Talha Zaroon
 
Conversion (IT) Slide # 3
Conversion (IT) Slide # 3Conversion (IT) Slide # 3
Conversion (IT) Slide # 3
Muhammad Talha Zaroon
 
Data Backup (IT) Lecture Slide # 5
Data Backup (IT) Lecture Slide # 5Data Backup (IT) Lecture Slide # 5
Data Backup (IT) Lecture Slide # 5
Muhammad Talha Zaroon
 
Internet 2 (IT) Lecture Slide
Internet 2 (IT) Lecture SlideInternet 2 (IT) Lecture Slide
Internet 2 (IT) Lecture Slide
Muhammad Talha Zaroon
 
13 A Programing Languages (IT) Lecture Slide
13 A Programing Languages (IT) Lecture Slide13 A Programing Languages (IT) Lecture Slide
13 A Programing Languages (IT) Lecture Slide
Muhammad Talha Zaroon
 

Viewers also liked (6)

Internet 1 (IT) Lecture Slide
Internet 1 (IT) Lecture SlideInternet 1 (IT) Lecture Slide
Internet 1 (IT) Lecture Slide
 
2nd Law of Thermodynamics + Doppler (Physics) Assig # 2
2nd Law of Thermodynamics + Doppler (Physics) Assig # 22nd Law of Thermodynamics + Doppler (Physics) Assig # 2
2nd Law of Thermodynamics + Doppler (Physics) Assig # 2
 
Conversion (IT) Slide # 3
Conversion (IT) Slide # 3Conversion (IT) Slide # 3
Conversion (IT) Slide # 3
 
Data Backup (IT) Lecture Slide # 5
Data Backup (IT) Lecture Slide # 5Data Backup (IT) Lecture Slide # 5
Data Backup (IT) Lecture Slide # 5
 
Internet 2 (IT) Lecture Slide
Internet 2 (IT) Lecture SlideInternet 2 (IT) Lecture Slide
Internet 2 (IT) Lecture Slide
 
13 A Programing Languages (IT) Lecture Slide
13 A Programing Languages (IT) Lecture Slide13 A Programing Languages (IT) Lecture Slide
13 A Programing Languages (IT) Lecture Slide
 

Similar to Database (IT) Lecture Slide

Database management systems
Database management systemsDatabase management systems
Database management systemsUjjwal 'Shanu'
 
Introduction to computer
Introduction to computerIntroduction to computer
Introduction to computerUjjwal 'Shanu'
 
Introduction to Database Managemant System.ppt
Introduction to Database Managemant System.pptIntroduction to Database Managemant System.ppt
Introduction to Database Managemant System.ppt
Abbas Hyder , Assistant Professor
 
Chapter 9 Data Design .pptxInformation Technology Project Management
Chapter 9 Data Design .pptxInformation Technology Project ManagementChapter 9 Data Design .pptxInformation Technology Project Management
Chapter 9 Data Design .pptxInformation Technology Project Management
AxmedMaxamuudYoonis
 
chapter09-120827115409-phpapp01.pdf
chapter09-120827115409-phpapp01.pdfchapter09-120827115409-phpapp01.pdf
chapter09-120827115409-phpapp01.pdf
AxmedMaxamuud6
 
Data structures
Data structuresData structures
Data structures
MADHAVASAIYENDUVA
 
6.2 software
6.2 software6.2 software
Lec20.pptx introduction to data bases and information systems
Lec20.pptx introduction to data bases and information systemsLec20.pptx introduction to data bases and information systems
Lec20.pptx introduction to data bases and information systems
samiullahamjad06
 
Chapter 9 Microsoft Access Database.pptx
Chapter 9 Microsoft Access Database.pptxChapter 9 Microsoft Access Database.pptx
Chapter 9 Microsoft Access Database.pptx
AbdullaahiHashiSabri
 
database management system (DBMS)
database management system (DBMS)database management system (DBMS)
database management system (DBMS)
BigyanDhital1
 
Ms access
Ms accessMs access
Ms access
RoshanMaharjan13
 
[Www.pkbulk.blogspot.com]dbms12
[Www.pkbulk.blogspot.com]dbms12[Www.pkbulk.blogspot.com]dbms12
[Www.pkbulk.blogspot.com]dbms12
AnusAhmad
 
Introduction to ms access database
Introduction to ms access databaseIntroduction to ms access database
Introduction to ms access database
Obuasi Senior High Technical School
 
MIS-3rd Unit.pptx
MIS-3rd Unit.pptxMIS-3rd Unit.pptx
MIS-3rd Unit.pptx
ssuser5e8d69
 
MIS-3rd Unit.pptx
MIS-3rd Unit.pptxMIS-3rd Unit.pptx
MIS-3rd Unit.pptx
Sumit Kumar
 
DATA-STRUCTURES.pptx
DATA-STRUCTURES.pptxDATA-STRUCTURES.pptx
DATA-STRUCTURES.pptx
RuchiNagar3
 
Introduction to Databases by Dr. Kamal Gulati
Introduction to Databases by Dr. Kamal GulatiIntroduction to Databases by Dr. Kamal Gulati

Similar to Database (IT) Lecture Slide (20)

Database management systems
Database management systemsDatabase management systems
Database management systems
 
Introduction to computer
Introduction to computerIntroduction to computer
Introduction to computer
 
Introduction to Database Managemant System.ppt
Introduction to Database Managemant System.pptIntroduction to Database Managemant System.ppt
Introduction to Database Managemant System.ppt
 
Chapter 9 Data Design .pptxInformation Technology Project Management
Chapter 9 Data Design .pptxInformation Technology Project ManagementChapter 9 Data Design .pptxInformation Technology Project Management
Chapter 9 Data Design .pptxInformation Technology Project Management
 
chapter09-120827115409-phpapp01.pdf
chapter09-120827115409-phpapp01.pdfchapter09-120827115409-phpapp01.pdf
chapter09-120827115409-phpapp01.pdf
 
Data structures
Data structuresData structures
Data structures
 
6.2 software
6.2 software6.2 software
6.2 software
 
Lec20.pptx introduction to data bases and information systems
Lec20.pptx introduction to data bases and information systemsLec20.pptx introduction to data bases and information systems
Lec20.pptx introduction to data bases and information systems
 
Chapter 9 Microsoft Access Database.pptx
Chapter 9 Microsoft Access Database.pptxChapter 9 Microsoft Access Database.pptx
Chapter 9 Microsoft Access Database.pptx
 
database management system (DBMS)
database management system (DBMS)database management system (DBMS)
database management system (DBMS)
 
Ms access
Ms accessMs access
Ms access
 
[Www.pkbulk.blogspot.com]dbms12
[Www.pkbulk.blogspot.com]dbms12[Www.pkbulk.blogspot.com]dbms12
[Www.pkbulk.blogspot.com]dbms12
 
Introduction to ms access database
Introduction to ms access databaseIntroduction to ms access database
Introduction to ms access database
 
MIS-3rd Unit.pptx
MIS-3rd Unit.pptxMIS-3rd Unit.pptx
MIS-3rd Unit.pptx
 
MIS-3rd Unit.pptx
MIS-3rd Unit.pptxMIS-3rd Unit.pptx
MIS-3rd Unit.pptx
 
Databases
DatabasesDatabases
Databases
 
4 create database
4 create database4 create database
4 create database
 
DATA-STRUCTURES.pptx
DATA-STRUCTURES.pptxDATA-STRUCTURES.pptx
DATA-STRUCTURES.pptx
 
Unit 08 dbms
Unit 08 dbmsUnit 08 dbms
Unit 08 dbms
 
Introduction to Databases by Dr. Kamal Gulati
Introduction to Databases by Dr. Kamal GulatiIntroduction to Databases by Dr. Kamal Gulati
Introduction to Databases by Dr. Kamal Gulati
 

More from Muhammad Talha Zaroon

Viruses (Lecture) IT Slides # 3
Viruses (Lecture) IT Slides # 3Viruses (Lecture) IT Slides # 3
Viruses (Lecture) IT Slides # 3
Muhammad Talha Zaroon
 
Derivative and Integeration Formulas
Derivative and Integeration FormulasDerivative and Integeration Formulas
Derivative and Integeration Formulas
Muhammad Talha Zaroon
 
Input & output devices (IT lab) assig # 1
Input & output devices (IT lab) assig # 1Input & output devices (IT lab) assig # 1
Input & output devices (IT lab) assig # 1
Muhammad Talha Zaroon
 
IT semester 1 course outline
IT semester 1 course outlineIT semester 1 course outline
IT semester 1 course outline
Muhammad Talha Zaroon
 
Chap 9A Networks (Lecture) IT Slides # 1
Chap 9A Networks (Lecture) IT Slides # 1Chap 9A Networks (Lecture) IT Slides # 1
Chap 9A Networks (Lecture) IT Slides # 1
Muhammad Talha Zaroon
 
Data Communication (Lecture) IT Slide # 2
Data Communication (Lecture) IT Slide # 2Data Communication (Lecture) IT Slide # 2
Data Communication (Lecture) IT Slide # 2
Muhammad Talha Zaroon
 
Map of UNI TUF
Map of UNI TUFMap of UNI TUF
Map of UNI TUF
Muhammad Talha Zaroon
 
Role of computer (IT-Lab) Presentation # 1
Role of computer (IT-Lab) Presentation # 1Role of computer (IT-Lab) Presentation # 1
Role of computer (IT-Lab) Presentation # 1
Muhammad Talha Zaroon
 
Front Page
Front PageFront Page
Welding (WorkShop) Assig # 1
Welding (WorkShop) Assig # 1Welding (WorkShop) Assig # 1
Welding (WorkShop) Assig # 1
Muhammad Talha Zaroon
 
History of Computer (IT) Assig # 1
History of Computer (IT) Assig # 1 History of Computer (IT) Assig # 1
History of Computer (IT) Assig # 1
Muhammad Talha Zaroon
 

More from Muhammad Talha Zaroon (11)

Viruses (Lecture) IT Slides # 3
Viruses (Lecture) IT Slides # 3Viruses (Lecture) IT Slides # 3
Viruses (Lecture) IT Slides # 3
 
Derivative and Integeration Formulas
Derivative and Integeration FormulasDerivative and Integeration Formulas
Derivative and Integeration Formulas
 
Input & output devices (IT lab) assig # 1
Input & output devices (IT lab) assig # 1Input & output devices (IT lab) assig # 1
Input & output devices (IT lab) assig # 1
 
IT semester 1 course outline
IT semester 1 course outlineIT semester 1 course outline
IT semester 1 course outline
 
Chap 9A Networks (Lecture) IT Slides # 1
Chap 9A Networks (Lecture) IT Slides # 1Chap 9A Networks (Lecture) IT Slides # 1
Chap 9A Networks (Lecture) IT Slides # 1
 
Data Communication (Lecture) IT Slide # 2
Data Communication (Lecture) IT Slide # 2Data Communication (Lecture) IT Slide # 2
Data Communication (Lecture) IT Slide # 2
 
Map of UNI TUF
Map of UNI TUFMap of UNI TUF
Map of UNI TUF
 
Role of computer (IT-Lab) Presentation # 1
Role of computer (IT-Lab) Presentation # 1Role of computer (IT-Lab) Presentation # 1
Role of computer (IT-Lab) Presentation # 1
 
Front Page
Front PageFront Page
Front Page
 
Welding (WorkShop) Assig # 1
Welding (WorkShop) Assig # 1Welding (WorkShop) Assig # 1
Welding (WorkShop) Assig # 1
 
History of Computer (IT) Assig # 1
History of Computer (IT) Assig # 1 History of Computer (IT) Assig # 1
History of Computer (IT) Assig # 1
 

Recently uploaded

Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 

Recently uploaded (20)

Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 

Database (IT) Lecture Slide

  • 1. Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill Technology Education Chapter 11A Database Management Systems
  • 2. Data • Information in raw or unorganized form (such as alphabets, numbers, or symbols) that represent, conditions, ideas, or objects. • In computing, data is information that has been translated into a form that is more convenient to process. 11A-2
  • 3. Data Representation 1. Bits – A bit is the fundamental unit of computer storage – A bit can be 0 (off) or 1 (on) – Related bits are grouped to represent different types of information such as numbers, characters, pictures, sound, instructions 11A-3
  • 4. 4 Nibbles • Nibbles – A nibble is a group of 4 bits – A nibble is used to represent a digit in Hex (from 0-15) and BCD (from 0-9) numbers BCD Hex 0000 0 0 0001 1 1 0010 2 2 0011 3 3 0100 4 4 0101 5 5 0110 6 6 0111 7 7 1000 8 8 1001 9 9 1010 A 1011 B 1100 C 1101 D 1110 E 1111 F
  • 5. Data Representation inData Representation in Computer SystemsComputer Systems 5 Bytes Bytes – A byte is a group of 8 bits that is used to represent numbers and characters – A standard code for representing numbers and characters is ASCII (American Standard Code for Information Interchange )
  • 6. Data Representation inData Representation in Computer SystemsComputer Systems 6 Byte Size Bytes – How many different combinations of 0’s and 1’s with 8 bits can be formed? – In general, how many different combinations of 0’s and 1’s with N bits can be formed? – How many different characters can be represented with a byte (8 bits)?
  • 7. Data Representation inData Representation in Computer SystemsComputer Systems 7 Words Words – A word is a group of 16 bits or 2 bytes – UNICODE is an international standard code for representing characters including non- Latin characters like Asian, Greek, etc.
  • 8. Data Representation inData Representation in Computer SystemsComputer Systems 8 Double Words Double Words – A double word is a group of 32 bits or 4 bytes or 2 words
  • 9. Related Bytes – A nibble is a half-byte (4-bit) - hex representation – A word is a 2-byte (16-bit) data item – A doubleword is a 4-byte (32-bit) data item – A quadword is an 8-byte (64-bit) data item – A paragraph is a 16-byte (128-bit) area – A kilobyte (KB) is 210 = 1,024 bytes ≈ 1,000 bytes) – A megabyte (MB) is 220 = 1,048,576 ≈1 Million Bytes – A Gigabyte (GB) is 230 = 1,073,741,824 ≈ 1 Billion
  • 10. Database approach • The database approach is a way in which data is stored within a computer. • It is organized into various charts that are accessed by a variety of computer applications from different locations. • Databases are composed of a variety of information that is relevant to the organization that is using the database. 11A-10
  • 11. 11A-11 Database Management Systems • Database management system (DBMS) • Store large collections of data • Organize the data • Becomes a data storage system
  • 12. 11A-12 The Database • A database is a collection of information that is organized so that it can easily be accessed, managed, and updated. • Stores a collection of related items • Collection is arranged in a structure – Organizes and describes the data • Examples: • Library database, Police database, medical store database etc
  • 13. 11A-13 Database Structure Field NameField Name RecordRecord FieldField
  • 14. 11A-14 Components of Database • 1. Fields – Hold an individual piece of data – Are named descriptively – Often called a column – Phone book examples • Name, address, e-mail, phone number – Fields may contain no data
  • 15. 11A-15 Components of Database • 2. Records – One full set of fields – Often called a row – Phone book example • Smith, Joe, 123 Some Street, 412-555-7777 – Databases may have unlimited rows
  • 16. 11A-16 Database Helper Documents • 4. Forms – forms are designed to ease the data entry process. For example, you can create a data entry form that looks exactly like a paper form . People generally prefer to enter data into a well-designed form, rather than a table.
  • 17. 11A-17 Components of Database • 5. Tables Tables are where the actual data is defined and entered. Tables consist of records (rows) and fields (columns). • 6. Reports – Produce printed results from the database – Includes tools to summarize data
  • 18. 11A-18 Database Helper Documents • 7. Pages: a data access page is a special type of Web page designed for viewing and working with data from the Internet or an intranet. This data is stored in a Microsoft Access database or a Microsoft SQL Server database.
  • 19. Database types 1. Flat file database 2. Relational database 11A-19
  • 20. 11A-20 Flat-file Databases • Typically has only one table – If multiple, each has a separate file • Useful for simple data storage needs • Hard to manage large data needs • Can waste disk space
  • 21. 11A-21 Relational Databases • Made of two or more tables • Tables are related by a common field – Called a relationship or join – Can help organize data • Most common form of database • Maintaining data is easier than flat-file • No wasted disk space
  • 22. 11A-22 Database Management System • Programs that control the database • Allows – Entering data – Querying data – Printing reports • Supports thousands of users • Includes tools to protect the data
  • 23. 11A-23 Working with a Database • Querying a database – Statement that describes desired data – List of fields can be modified – Uses of querying • Find data • Calculate values per record • Delete records – Most important DBMS skill
  • 24. 11A-24 Working with a Database • Query languages – All DBMS use a query language • Most DBMS modify the language – Structured Query Language (SQL) • Most common query language – xBase • Query language for dBase systems – Query by example (QBE) • Interface to SQL or xBase • Interactive query design
  • 25. Data Dictionary • A data dictionary is a file or a set of files that contains a database's metadata. The data dictionary contains records about other objects in the database, such as data ownership, data relationships to other objects, and other data. 11A-25

Editor's Notes

  1. Discussion point Ask your student if anyone knows why sorting by zip code is important. Hopefully, someone knows that the post office provides a discount on presorted mail.
  2. Teaching tip Figure 11A.2 on page 423 describes the database structure
  3. Teaching tip Figure 11A.3 on page 423 provides examples of forms and reports.
  4. Teaching tip Start your students thinking about real databases, with millions of records. Using PA instead of Pennsylvania saves 10 bytes per record. In a database with 1 million records, this saves 10,000,000 bytes. This is roughly equal to a stack of 10 floppy disks
  5. Teaching tip To demonstrate the power of relationships, setup a flat file database with music, artists, CD and year released. Demonstrate how difficult and wasteful it is to store several songs by the same artist and CD. Be sure to make several typing mistakes. Then build the same structure relationally. Create music, artist and CD tables. Join the artist and CD to the music table. Now show how easy it is to add songs from the same CD. While creating this database, it helps to use music the students know.
  6. Teaching tip Protecting databases is similar to network administration, covered in chapter 9. Access to read and change data is limited to a list of allowed users.
  7. Teaching tip Page 432 and 433 show examples of the different querying languages.