A database management system is a collection of computer software that enables users to define, create and maintain a database. Defining a database involves specifying constraints for the data stored in the database, and normalization is a logical design method which minimizes duplicate, or redundant, data and design flaws. Normalization is the process of effectively organizing data in a database. The primary purpose of normalization is to allow update, insert and delete operations to be performed on a single database table and propagated throughout the database by means of the defined relationship.
There are two goals of the normalization process:
- Eliminating redundant data ( for example storing the same data in more than one table)
- Ensuring data dependencies make sense (only storing related data in a table)
EVALUATION
- Define Normalization.
- Define Database Management System.
NORMAL FORM
The normal form (NF) of relational database theory provide critical for determining a table’s degree of vulnerability to logical inconsistencies and anomalies. The higher the normal form applicable to a table, the less vulnerable it is. Each table has a “Highest Normal Form”(HNF): by definition, a table always meets the requirements of its HNF and all normal forms lower than its HNF; also by definition, a table fails to meet the requirement of any normal form higher than its HNF.
Normal form theory deal with how to reduce the amount of redundancy of data within a given table. Each normal form represents a level. To satisfy each the requirements for certain level, the requirements for the previous level must be met. To reach the optimal normal form for the tables within a database, the creator starts with a large list of all the data that is to be held in the database, and then works through the normal forms until he can no longer break the data down into smaller table.
GENERAL EVALUATION
- Explain Normal Form.
- State the two goals of normalization process.
READING ASSIGNMENT
Data Processing for Senior Secondary Education by HiiT Plc. Chapter Two, Page 65
WEEKEND ASSIGNMENT
Instruction: Choose the correct option from the ones lettered A to D
1. ____ is a collection of computer software that enables users to define, create and maintain a database. (a) Database Management System (b) Normalization(c) Data Model (d) Normal Form
2.____ is the logical design method which minimizes duplicate or redundant data and design flaws. (a) Database (b) Normalization (c) Form (d) Data Model
3. One of the goals of normalization process is ____ (a)Eliminate redundant data (b) Ensure data independencies (c) Allow Update, insertion and deletion(d) Create tables
4. The primary purpose of normalization is to ____ (a) Eliminate redundant data (b) Ensure data dependencies (c) Allow Update, insertion and deletion (d) Create tables
5. ____ is the process of efficiently organizing data in a database.
(a) Database(b) Normalization (c) Form (d) Model
SECTION B
1. What is Normal Form?
2. Differentiate between a common sense and systematic normalization
Types of Normal Form
First Normal Form (1NF)
First Normal Form (1NF) says that all column values must be atomic. 1NF dictates that, for every row by column position in a given table, there exist only one value, not an array or list of values i.e in 1NF, the following rules are observed;
- Eliminating repeating information
- Create separate tables for related data.
Second Normal Form (2NF)
The second normal form (2NF) further addresses the concept of removing duplicate data. The rule for the second normal form is;
- Remove subsets of data that apply to multiple rows of a table and place them in separate table.
- Create relationships between these new tables and their predecessors through the use of foreign keys.
EVALUATION
- State the rules for carrying out first normal form (1NF).
- State the rules for carrying out second normal form (2NF).
NOTE: The 2NF attempts to reduce the amount of redundant data in a table by extracting it, placing it in new table(s) and creating relationships between those tables.
Third Normal Form (3NF)
There are two basic requirements for a database to be in Third Normal Form:
- The requirements of both 1NF and 2NF must have been met.
- Remove columns that are not fully dependent upon the primary key.
The Fourth Normal Form (4NF) and Fifth Normal Form (5NF)
The fourth and the fifth normal form are beyond the scope of this syllabus.
Note: Both the fourth and the fifth normal form still follows the goal of normalization process, which are;
GENERAL EVALUATION
- State the goal of normalization process.
- State the rules for carrying out the first normal form (1NF)
READING ASSIGNMENT: Data Processing for Senior Secondary Education by HiiT Plc. Chapter Three, pages 65 – 67
WEEKEND ASSIGNMENT
Instruction: Choose the correct option from the ones lettered A to D
- ____ normal form says that all column values must be atomic.
- 1NF (b) 2NF (c) 3NF (d) 4NF
- ____ normal form must meet the requirement of first and second.
- 1NF (b) 2NF (c) 3NF (d) 4NF
- ____ normal form are beyond the scope for the syllabus.
- 1NF and 2NF (b) 2NF and 3NF (c) 3NF and 4NF (d) 4NF and 5NF
- One of the following is a basic requirement for database to be in the third normal form.
- Remove columns that are not fully dependent upon the primary key
- Create relationship between these new tables
- Eliminate repeating information
- Remove subsets of data that apply to multiple rows
- How many value(s) exist in 1NF for every row-by-column position in a given table?
(a) one (b) two (c) three (d) four
SECTION B
- State the rules for carrying out first normal form.
State the rules for carrying out second normal form.
KEY
A key is an attribute or field that can be used to identify a record in a database table or file.
The primary Key is a unique attribute that can be used to identify a record in a database table. For Example, in the student database table above, the attribute that is unique to identify each record is the Student-ID or RegNo.
CONCEPTS OF FOREIGN KEY
A foreign key is a field in a relational table that matches a candidate key of another table. A foreign key (FK) is a column or combination of columns that is used to establish and enforce a link between the data in two tables. You can create a foreign key by defining a FOREIGN KEY constraint when you create or modify a table. The foreign key can be used to cross-reference table. The foreign key identifies a column or set of columns in one (referencing or child) table that refers to a column or set of column in another (referenced or parent) table. The columns in the child table must reference the columns of the primary key or other super key in the parent table.
EVALUATION
- Define Key as regards to database.
- Differentiate between primary key and foreign key
EXPLAIN THE DETERMINATION OF NORMAL FORM
Normalization is a technique for producing a set of suitable relations that support the data requirements of an enterprise. Characteristics of a suitable set of relations include:
- The minimal number of attributes necessary to support the data requirements of the enterprise
- Attributes with a close logical relationship are found in the same relation.
- Minimal redundancy with each attribute represented only once with the important exception of attributes that form all or part of foreign keys.
- Attributes with a close logical relationship are found in the same relation.
READING ASSIGNMENT
Data Processing for Senior Secondary Education Hiit Plc. Chapter Four Page 67.
WEEKEND ASSIGNMENT
Instruction: Choose the correct option from the ones lettered A to D
- ____ is a unique attribute that can be used to identify a record in a database table.
- Foreign Key (b) Primary Key (c) Secondary Key (d) Elementary Key
- ____ is a field in a relational table that matches a candidate key of another table.
- Foreign Key (b) Primary Key (c) Secondary Key (d) Elementary Key
- ____ is a technique for producing a set of suitable relations that support the data requirements of an enterprise.
- Normal Form (b) Entity (c) Attribute (d) Normalization
- One of the following is not a part of the characteristics that support the data requirements of an enterprise.
- The minimal number of attributes necessary to support the data requirements of the enterprise
- Attributes with a close logical relationship are found in the same relation.
- Minimal redundancy with each attribute represented only once with the important exception of attributes that form all or part of foreign keys.
- Attributes with a open logical relationship are found in the same relation.
- ____ is an attribute or field that can be used to identify a record in a database table or file. (a) Key (b) Attribute (c) Entity (d) Relationship
SECTION B
- Using tables, explain the differences between primary key and foreign key.
- State two characteristics of suitable relations that support the data requirements of an enterprise.
Read our disclaimer.
AD: Take Free online baptism course: Preachi.com