SlideShare una empresa de Scribd logo
1 de 25
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

Más contenido relacionado

La actualidad más candente

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 designMohitgauri
 
Key database terms
Key database termsKey database terms
Key database termslistergc
 
Indexing structure for files
Indexing structure for filesIndexing structure for files
Indexing structure for filesZainab Almugbel
 
File organization 1
File organization 1File organization 1
File organization 1Rupali Rana
 
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 continuedchesterking12
 
Info systems databases
Info systems databasesInfo systems databases
Info systems databasesMR 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-16sumitbardhan
 
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 graphRai University
 
Types of Databases
Types of DatabasesTypes of Databases
Types of Databaseskedar2310
 
08 sip database
08 sip database08 sip database
08 sip databaseIkhsan Bz
 

La actualidad más candente (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
 

Destacado

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 # 2Muhammad 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 SlideMuhammad Talha Zaroon
 

Destacado (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 a 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'
 
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 ManagementAxmedMaxamuudYoonis
 
chapter09-120827115409-phpapp01.pdf
chapter09-120827115409-phpapp01.pdfchapter09-120827115409-phpapp01.pdf
chapter09-120827115409-phpapp01.pdfAxmedMaxamuud6
 
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 systemssamiullahamjad06
 
Chapter 9 Microsoft Access Database.pptx
Chapter 9 Microsoft Access Database.pptxChapter 9 Microsoft Access Database.pptx
Chapter 9 Microsoft Access Database.pptxAbdullaahiHashiSabri
 
database management system (DBMS)
database management system (DBMS)database management system (DBMS)
database management system (DBMS)BigyanDhital1
 
[Www.pkbulk.blogspot.com]dbms12
[Www.pkbulk.blogspot.com]dbms12[Www.pkbulk.blogspot.com]dbms12
[Www.pkbulk.blogspot.com]dbms12AnusAhmad
 
MIS-3rd Unit.pptx
MIS-3rd Unit.pptxMIS-3rd Unit.pptx
MIS-3rd Unit.pptxSumit Kumar
 
DATA-STRUCTURES.pptx
DATA-STRUCTURES.pptxDATA-STRUCTURES.pptx
DATA-STRUCTURES.pptxRuchiNagar3
 

Similar a 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
 

Más de Muhammad Talha Zaroon

Más de 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
 

Último

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
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
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...KokoStevan
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.MateoGardella
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 

Último (20)

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
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
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 

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

Notas del editor

  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.