Chapter 0 - Introduction
Chapter 0 - Introduction
Introduction.
Others:
float 4 bytes Stores fractional numbers. Sufficient for storing 6 to 7 decimal digits
double 8 bytes Stores fractional numbers. Sufficient for storing 15 decimal digits
Declaring a variable means: allocating memory location for some specific data.
Initializing a variable means: assigning the initial value to that allocated memory location.
BEFORE EXECUTION
// Variable Declaration
int Age;
Memory Location Name= Age
Type = Integer Memory Location Address = #201256
Size = 4 Byte Holds Integer
Location Name = Age
9
PREREQUISITE CONCEPTS … (7)
Introduction.
Data is a collection of raw facts and information is a processed data in the form that is meaningful to the user.
The word raw indicates that the facts have not yet been processed to reveal their meaning.
Mostly data represents recordable facts that helps in producing information, which is based on facts.
o Example, if we have data about marks obtained by all students, we can then conclude about toppers and
In order to process data and to obtain an information, the data should be organized and structured in the way to
Each and every sector in the world such as educational, health, industrial, commercial, as a whole governmental
and non- governmental institutions have their own record keeping system.
12
INTRODUCTION … (2)
Data management is a discipline that focuses on the proper generation, storage, and
retrieval of data.
Given the crucial role that data play, it should not surprise you that data management is a
core activity for any business, government agency, service organization, or charity.
o Manual approach
o Computerized Approach
Database approach
13
INTRODUCTION … (2)
DATABASE APPROACH
15
INTRODUCTION … (3)
Management of data involves both defining structures for storage of information and
In addition, the database system must ensure the safety of the information stored, despite
If data are to be shared among several users, the system must avoid possible anomalous
results.
16
INTRODUCTION … (4)
17
INTRODUCTION … (5)
o Designing
o Implementation
o Testing
o Maintenance
19
DATABASE DESIGNING
Such inconsistencies may arise when have a particular record stored in multiple locations
Forms (NF)
21
DATA ANOMALIES … (2)
22
DATA ANOMALIES … (3)
23
NORMALIZATION … (1)
data redundancy.
Data redundancy is repetition of similar data in multiple places that increases the size of the
NOTE:
SUBJECT LEVEL TOTAL = 100 Teachers have subject based department. The subject will be
OVERALL TOTAL = 500 assigned for one of the teacher from the department.
PASS MARK = 50% Homeroom Teacher: a teacher who collect student’s mark from
subject teachers and prepare a student roster.
TEACHING YOU IS A GOOD LUCK