Module Database Form 4 2023
Module Database Form 4 2023
1
2
At the end of this class, students can explain
3
DATABASE
• Computer-based information system collection point
• Used to facilitate data & information to be stored,
accessed and updated
4
DATA AND INFORMATION
• Making decisions
• Data is meaningless if it is not analyzed into information
5
DIFFERENCE BETWEEN DATA AND
INFORMATION
6
DIFFERENCE EXAMPLES BETWEEN
DATA AND INFORMATION
7
DATA MANAGEMENT
MANUAL
DATABASE
PROCESSING FILE SYSTEM
SYSTEM
SYSTEM
8
IMPORTANCE OF DATA MANAGMENT
9
MANUAL PROCESSING
10
FILE SYSTEM
11
DATABASE SYSTEM
12
DIFFERENCES BETWEEN DATABASE
AND FILE SYSTEM
13
DIFFERENCES BETWEEN DATABASE
AND FILE SYSTEM
14
DATA INTEGRITY, CONSISTENCY &
REDUNDANCY
15
DATA INTERGRITY
16
DATA CONSISTENCY
17
DATA REDUNDANCY
18
INTRO TO DATABASE QUIZ
https://bit.ly/3UE3460
19
20
21
22
23
24
END OF CHAPTER
25
26
At the end of this class, students can explain
• Database Models
o Hierarchy
o Network
o Relational
o Object-Oriented
27
DATABASE MODELS
Hierarchy Network
Database
Models
28
Hierarchical Model
29
MIND TEST:
30
Network Model
31
Relational Model
32
Object Oriented Model
33
MIND TEST:
XXXXXXXXXX
BOOK
----------------------------- SXXXXXX
-----------------
Staff Name --------------------
Book Name
Staff No Student name
XXXXX
Department College No
XXXXX
Position grade Class
XXXXX
----------------------------- Form
------------------
OpenSystem() --------------------
Dipinjam()
ConfirmBookLoan() BorrowBook()
Dipulangkan()
ConfirmBookReturn() ReturnBook()
Dilupus()
CloseSystem()
34
MIND TEST:
• IDENTIFY WHAT DATABASE MODELS ARE SHOWN?
35
MIND TEST:
• IDENTIFY WHAT DATABASE MODELS ARE SHOWN?
36
MIND TEST:
• IDENTIFY WHAT DATABASE MODELS ARE SHOWN?
37
MIND TEST:
• IDENTIFY WHAT DATABASE MODELS ARE SHOWN?
38
DATABASE MODELS QUIZ
https://bit.ly/3GCOSnI
39
40
41
42
END OF CHAPTER
43
44
At the end of this class, students can explain
45
Entity Relationships Diagram
A step-by-step
https://youtu.be/_iVp0n8ALRA
46
Entity Relationship Diagram (ERD)
47
ERD Examples
48
Entity
49
Attribute
50
Relationship
51
Cardinality
52
Entity Relationships Diagram
A step-by-step
https://youtu.be/Tg_8UYoKoQ8
53
How to Draw ER Diagrams
54
Class Activity
55
MIND TEST:
Group Activity 1
56
Group Activity 2
57
Group Activity 3
58
Pair Exercise
1. A company has a number of employees. Each
employee may be assigned to one or more projects. A
project must have at least one department assigned.
Please include two (2) examples of attributes for any
entities identified.
2. A university has a large number of courses in its
catalogue. Each course may have one or more
subjects. The subject contain several assignments.
Please include two (2) examples of attributes for any
entities identified.
3. A college course may have one or more scheduled
classroom, or may not have a scheduled classroom.
The classroom is assigned at least to one lecturer.
Please include two (2) examples of attributes for any
entities identified.
4. A hospital patient has a patient history. Each patient
has one or more history. The history record may be
assigned to at least one medicine. Please include two
(2) examples of attributes for any entities identified.
5. A video store may stock more than one copy of a given
movie. It is also true that the store may not have a
single copy of a particular movie. A movie contain at
least one chapter. Please include two (2) examples of
attributes for any entities identified.
6. An employee must manage exactly one department. A
department may or may not have one employee
manage it. The employee must be assigned at least
59
one task. Please include two (2) examples of attributes
for any entities identified.
ERD QUIZ
https://bit.ly/3GErVAL
60
61
62
63
END OF CHAPTER
64
Akhlak Terbilang, Pendidikan Cemerlang
65