FIRST TERM SS2 Data Processing
FIRST TERM SS2 Data Processing
FIRST TERM SS2 Data Processing
SCHEME OF WORK
WEEK TOPIC
1 REVISION
2 DATA MODELS I
3 DATA MODELS II
4 DATA MODELING I
5 DATA MODELING II
6 DATA MODELING III
7 NORMAL FORM
8 NORMAL FORM II
9 NORMAL FORMS III
10 ENTITY – REALATIONSHIP MODELS
11 REVISION
12 EXAMINATION
REFERENCE BOOK
Data processing for Senior Secondary Education by HiiT Plc.
WEEK ONE
TOPIC: REVISION
History of computing
Abacus – Napier’s Bones – Slide Rule – Schickard’s Calculating Clock – Pascal’s calculator
– Leibnitz Multiplier – Analytical Engine – Herman Hollerith Punch Card – John Von
Neumann Machine
Concepts of Number System: Binary (or Base 2) – Octal (or Base 8) – Decimal (or base
10) – Hexadecimal (or base 16)
History of Computer
First Generation – Vacuum Tube
Second Generation – Transistors
Third Generation – Integrated Circuits
Fourth Generation – Microprocessor
Fifth Generation (Artificial intelligence)
Classification of Computer
Classification Based on Type (Analogue, Digital and Hybrid)
Classification Based on Size (Micro, Mini, Mainframe and Super Computers)
Classification Based on Purpose (General and Special)
ICT Application in Everyday Life
Uses of ICT (Education, Banking, Industry, Commerce)
Impact of ICT on the Society
Faster Communication Speed
Lower Communication
Effective Sharing Information
Paperless Environment
Borderless Communication
Social Problem
REVISON QUESTIONS
1. Identify the Concrete device used in computing.
2. Convert the following decimal to Hexadecimal i. 4D5 ii 5F
3. Convert the following decimal to Octal i. 476 ii 57
WEEK TWO
TOPIC: DATA MODELS I
Definition of Data Model
Concept of Data Modelling
INTRODUCTION TO DATA MODELLING
The main effort during the system development life cycle (SDLC) was to produce a set of
programs that automates a business process. Processing was the key drivers for
information systems, not the data or information. As the technology and complexity of
system grew, methodologies and modelling techniques were invented to improve the
quality of the deliverables and to ensure that inexperienced programmers could follow
repeatable SDLC processes.
Data Structure
A data model describes the structure of the data within a given domain and, by
implication, the underlying structure of that domain itself.
Data Organisation
A data Model also describes how to organized data using a database management
system.
EVALUATION
1. State the concepts of data modelling.
2. Describe the following; Data Structure and data Organization.
Conceptual Data Modelling: The conceptual data modelling identifies the highest level
relationships between different entities. This is the first step in organising the data
requirements.
Logical Data Modelling: The logical Data modelling illustrates the specific entities,
attribute and relationships involves in a business function. It serves as the basis for the
creation of the physical data model.
Physical Data Modelling: The physical Data Modelling represents an application and
database-specific implication of a logical data model and describes the physical means
used to store data.
GENERAL EVALUATION
1. Explain the different approaches to data modelling.
2. Define data modelling.
READING ASSIGNMENT
Data Processing for Senior Secondary Education by HiiT Plc. Chapter One, page 55
WEEKEND ASSIGNMENT
Instruction: Choose the correct option from the ones lettered A to D
1. In the approach of data modeling ____ data modeling illustrate the specific
entities, attribute and relationship involved in business function.
(a) Conceptual Data Modeling (b) Logical Data Modeling (c) Flat data
Modeling
SECTION B
1a. Define data modeling.
b. List three (3) approaches to Data modeling.
2. State the major concept of Data Modeling.
HIERARCHICAL MODEL
In a hierarchical database, data is organized into an upside-down tree-like structure,
implying a single upward link in each record to describe the nesting, and a sort field to
keep the records in a particular order in each same-level list. Hierarchical structures were
widely used in the early mainframe database management systems.
Hierarchical Model
Pavement Improvement
Preventive maintenance
Relational Model
The relational model or relational data base model is based on first-order predicate logic.
Its core idea is to describe a database as a collection of predicates over a finite set of
predicate variables, describing constraints on the possible values and combinations of
values.
Object-Relational Model
The object relational model is similar to relational database model, but objects, classes
and inheritance are directly supported in database schemas and in the query language.
Star Schema
The star schema is the simplest style of data warehouse schema. The star schema
consists of a few “fact table” (possibly only one, justifying the name) referencing any
number of dimension tables”. The star schema is considered an important special case of
the snowflake schema.
GENERAL EVALUATION
1. List and explain the types of data model.
2. With the aid of a chart, using the school setting as a case study, explain Network
model.
READING ASSIGNMENT
Data Processing for Senior Secondary Education by HiiT Plc. Chapter One, pages 56
WEEKEND ASSIGNMENT
Instruction: Choose the correct option from the ones lettered A to D
1. One of the following is an example of a DBMS package.
(a) Ms Word (b) Ms Power-point (c) Ms access (d) Ms Outlook
2. In the approach of data modeling ____ data modeling identifies the highest level
relationship between different entities.
(a) Conceptual Data Modeling
(b) Logical Data Modeling
(c) Flat data Modeling
(d) Physical Data Modeling
3. ____ model organizes data using two fundamental construct called record and set.
(a) Network (b) Relational (c) Object Oriented (d) Star Schema
4. ____model consists of a single, two-dimensional array of data elements.
(a) Network (b) Relational (c) Object Oriented (d) Star Schema
5. ____database model is organized into an upside-down tree-like structure
(a) Network (b) Relational (c) Object Oriented (d) Hierarchical
SECTION B
1. List and explain four types of database model
2. Define the following; Data, Field, record, File.
WEEK FOUR
TOPIC: DATA MODELING I
Database packages are used to design a database in a computer. Example of a common
database package is Microsoft Access. MS Access is a Relational Database Management
System used to create and modify databases.
Creating Database
From the displayed window, click on blank database.
By the right hand side of the windows, where the arrow is pointing in the picture-
screen above, click inside the file name text box and type the desired database
name.
Click on Create command button. A database with the filename given will be
created
Files are created as tables in the database
Creating a file
Click on Create menu and select Table
At all Tables tab, right click on any of the table.
Select design View
A row contains records or diverse fields. The rows specify the number of records in the
table. For example, in the picture-screen above, there are six records in the student
table.
A column usually represents a field in a database table. It contains specify the type of
information. For example, in the picture screen above, there are three fields (data fields),
REG. No., Surname, and first name.
EVALUATION
1. List the steps on how to lad MS-Access.
2. List three (3) examples of Database package.
Note: The symbol of a key should appear beside the field, after setting that field as a
unique identifier. If it does not appear repeat previous steps.
Creating Database
Generally, creating database using any DBMS entails the following basic steps:
Input Data
After the field names and their data types have been specified, then records are stored in
the database by specifying the appropriate input. In MS Access, to input a data:
Double click on the Student Table at the left hand pane of MS Access windows
Enter the data beneath the field names and click on the next cell to populate
data.
To keep database updated, data inputted into the database must be saved regularly.
Keyboard command CTRL + S is used. Alternatively, you click on the Office button and
save.
EVALUATION
1. How is a database created?
2. What are data types you can specify in Ms-Acess
BASIC OPERATION
The basic operations to be considered are:
Searching
Sorting
Modifying
Generate report
Searching
On the Tools Menu, click Options
Click the Edit/Find tab
Under Default find/replace behave, do one of the following:
Select Fast Search to search the current field and match the whole field.
Select General search to search all fields and match any part of the field.
Select Start of Field Search to search the current field and match the
beginning characters of field.
DBMS have certain command for saving a database. For example in MS
Access, select the save option on the MS Access window to save.
Sorting
To sort records in form view or in datasheet view, follow these steps:
1. Start MS Access, and then open the database that you are working with.
2. Open the table or the form whose data you want to view.
3. Click the field that you want to use for sorting records. To sort records in sub-
form, click the field that you want to sort. To sort records in a sub-datasheet,
display the sub-datasheet by clicking expand indicator, and then click the field
that you want to sort.
4. On the records menu, point to sort, and then click Sort Ascending or Sort
Descending. NOTE: In a form, you can only sort on only one field at a time.
Modifying Data
How to Add or edit Data in a Datasheet (Table or Query) or in a Form
1. Open a table or a query in datasheet View or a form in Form View.
2. Do one of the following:
In MS Office Access 2003 or in earlier versions of Access, to add a new record,
point to Go to on the Edit menu, and then click New Record. Type the data,
and then press TAB to go to the next field. At the end of the record, press TAB
to go to the next record.
In MS Office Access 2007, to add a new record, click the Home tab, and then
click New in the Records group.
To edit data within a field, click in the field that you want to edit, and then
type the data.
To replace the entire value, move the mouse pointer to the leftmost part of
the field until the pointer changes into the plus pointer, and then click. Type
the data.
NOTE: To correct a typing mistake, press BACKSPACE. To cancel your changes both in
current field and in the entire record, press ESC.
How to save a record in a Datasheet or in a Form
NOTE: MS Access automatically saves the record that you are adding or editing as soon
as you move to a different record or close the form or table that you are working on.
Explicitly, to save the data in a record while you are editing, In Access2003 or earlier
versions,
Generating reports
1. AutoReport
Open the database window (F11) and click on the Report tab.
Click New. A dialog box appears.
Choose between Columnar and Tabular.
Select the table or query that you want to use for you report.
Click OK.
2. Create Your Own Report
Repeat the first two steps above.
When the dialog box appears, click Design View.
Select the table or query that you intend to use.
Click OK.
GENERAL EVALUATION
1. State the operations that can be performed in a database.
2. List five (5) datatype.
READING ASSIGNMENT
Data Processing for Senior Secondary Education by HiiT Plc. Chapter Two, pages 58 - 63
WEEKEND ASSIGNMENT
Instruction: Choose the correct option from the ones lettered A to D
1. Another name for field type is known as ____ (a) File type (b) Name type (c)
Record type (d) Data type
2. Another name for unique identifier is known as ____ (a) Key (b) Data (c) Field (d)
Record
3. ____ is an attribute or field that can be used to identify a record in a database
table or file. (a) Data (b) Field (c) Key (d) Table
4. ____ is used to design a database in a computer. (a) Database package (b)
Graphics package (c) Spreadsheet package (d) Word Processing package
5. ____model organizes data using two fundamental constructs, called records and
sets.
(a) Hierarchical (b) Relational (c) Network (d) Optical
SECTION B
1. Define database Model.
2. List and explain types of database Model.
3. All fields are set to accept a particular type of input, list and explain the data types.
To Delete a Table,
1. Open the desired database by clicking the Microsoft office button and clicking
Open.
2. Right click on a table and choose Delete.
To Rename a table,
1. Open the desired database by clicking the Microsoft office button and clicking
Open.
2. Right click on a table and choose Delete.
3. Type in the new name.
EVALUATION
1. Write down steps on how to perform the following on MS Access; T
To edit data-type, delete a table and to rename a table
2. Write down steps on how to load MS Access.
Creating Forms
Forms allows you to enter, edit or display data. They are based on tables. With forms,
you can choose the format and arrangement the fields will take or will be displayed.
To create a form
1. Open the navigation pane
2. Click the table or query on which you want to base your form
3. Activate the create tab
4. Click form in the forms group
After you create a form, you can save it. You can also open a saved form at any time.
1. Click the save button on the Quick Access toolbar.
2. Type the name you want to give the form.
3. Click OK. You can access the form by clicking the navigation pane.
Form Wizard
You can create forms with the help of a form wizard
On the create tab, click the more forms down arrow.
1. Click Form Wizard
2. Choose the Table/ Queries that you wish to have on the form
3. Choose the field you wish to have on the forms
4. Click Next
5. Choose the layout for the form
6. Click Next
EVALUATION
(1) What is a form?
(2) How would you create a form?
Creating Queries
A query allows you to select and filter data from multiple tables. Queries can be saved
and utilized as often as you need them.
CREATING REPORT
Reports organize and summarize data for viewing online or for printing. A detail report
displays all of the selected records. Reports are a means to view and analyse large
amount of data. You can use the report wizard or create a custom report that meets your
specific need.
a. Click the Blank report button on the Create Tab
b. Click the Add Existing Fields button
c. From the field list, click and drag the fields to the report
GENERAL EVALUATION
1. State the operations that can be performed in a database.
2. List five (5) data-type.
READING ASSIGNMENT
Data Processing for Senior Secondary Education by HiiT Plc. Chapter Two, pages 58 - 63
WEEKEND ASSIGNMENT
SECTION B
1. Define database Model.
2. List and explain types of database Model.
3. All fields are set to accept a particular type of input, list and explain the types of
data types you know.
WEEK SIX
TOPIC: DATA MODELING III
Significance of Data Model
Data model is a great communication tool because it facilitates interaction and
communication between the designers, programmers and end users. In essence it does
not allow one party’s bias towards a certain view of a data (whether they consider to be
most important) to take hold.
A well-developed data model can even foster improved understanding of the
organization for which the database design is developed.
Data model help in structuring and organizing data. These data structure are then
typically implemented in a database management system which is used mostly by
organization for decision making.
In addition to defining and organizing the data, data modelling will impose
(implicitly or explicitly) constraints or limitation on the data placed within the
structure
EVALUATION
1. State the significance of Data Model.
2. What is another name for “standard data model”?
GENERAL EVALUATION
1. Explain the significance of data model.
2. State two examples of standard data model.
WEEKEND ASSIGNMENT
Instruction: Choose the correct option from the ones lettered A to D
1. Standard Data model can also be called ____.
(a) Manufacture Standard data Model
(b) Industry Standard data Model
(c) Structured Standard data Mode
(d) Enhanced Standard data Model
2. ____ are great communication tool because it allows interaction and
communication between designers, programmers and end users.
(a) Data Model (b) Normal Form (c) Database (d) Attribute
3. What is the full meaning of ISDM?
(a) Industry Significant Data model
(b) International Standard Data Model
(c) International Significant Data Model
(d) Industry Standard Data Model
4. ____ is the international defense enterprise architecture specification for exchange
group. (a) Ideas Group (b) Standard Group (c) Best Group
(d) Normal Group
5. The following are significance of data model except
(a) It can foster improved understanding of the organization for which the
database design is developed
(b) It also imposes constraints or limitations on the data placed within the
structure
(c) It helps in structuring and organizing data
(d) It creates database management system for organization
SECTION B
1. Give two (2) examples of Standard data Model.
2. Explain the need for Industry Standard Data Model.
WEEK SEVEN
TOPIC: NORMAL FORM
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.
EVALUATION
1. Define Normalization.
2. 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.
GENERAL EVALUATION
1. Explain Normal Form.
2. 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
WEEK EIGHT
TOPIC: NORMAL FORM II
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;
1. Eliminating repeating information
2. Create separate tables for related data.
EVALUATION
1. State the rules for carrying out first normal form (1NF).
2. 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.
GENERAL EVALUATION
1. State the goal of normalization process.
2. 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
1. ____ normal form says that all column values must be atomic.
(a) 1NF (b) 2NF (c) 3NF (d) 4NF
2. ____ normal form must meet the requirement of first and second.
(a) 1NF (b) 2NF (c) 3NF (d) 4NF
3. ____ normal form are beyond the scope for the syllabus.
(a) 1NF and 2NF (b) 2NF and 3NF (c) 3NF and 4NF (d) 4NF and 5NF
4. One of the following is a basic requirement for database to be in the third normal
form.
(a) Remove columns that are not fully dependent upon the primary key
(b) Create relationship between these new tables
(c) Eliminate repeating information
(d) Remove subsets of data that apply to multiple rows
5. 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
1. State the rules for carrying out first normal form.
2. State the rules for carrying out second normal form.
WEEK NINE
TOPIC: NORMAL FORMS III
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.
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
1. ____ is a unique attribute that can be used to identify a record in a database table.
(a) Foreign Key (b) Primary Key (c) Secondary Key (d) Elementary
Key
2. ____ is a field in a relational table that matches a candidate key of another table.
(a) Foreign Key (b) Primary Key (c) Secondary Key (d) Elementary
Key
3. ____ is a technique for producing a set of suitable relations that support the data
requirements of an enterprise.
(a) Normal Form (b) Entity (c) Attribute (d) Normalization
4. One of the following is not a part of the characteristics that support the data
requirements of an enterprise.
(a) The minimal number of attributes necessary to support the data requirements of
the enterprise
(b) Attributes with a close logical relationship are found in the same relation.
(c) Minimal redundancy with each attribute represented only once with the important
exception of attributes that form all or part of foreign keys.
(d) Attributes with a open logical relationship are found in the same relation.
5. ____ 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
1. Using tables, explain the differences between primary key and foreign key.
2. State two characteristics of suitable relations that support the data requirements of
an enterprise.
WEEK TEN
TOPIC: ENTITY – REALATIONSHIP MODELS
Entity-Relationship is a graphical representation of entities and their relationships to each
other. Entity relationship diagrams (ERDs) illustrate the logical structure of database.
Diagrams created to design these entities and relationships are called entity-relationship
diagrams or ER diagram.
Entities: Entities are objects or concepts within the data model. Each entity is
represented by a box with in the ERD. An entity might be considered a container that
holds all of the instances of a particular thing in a system.
Cardinality: The cardinality defines the relationship between the entities in terms of
numbers.
EVALUATION
1. Define the following; Entity, Attribute and relationship.
2. State the uses of entity-relationship diagram.
Types of cardinality relationship
There are potentially three types of relationship which can exist between different
entities;
One-to-One Relationship
One-to-Many Relationship
Many-to-Many Relationship
GENERAL EVALUATION
1. What is Cardinality?
2. Mention and explain three types of relationship with example.
READING ASSIGNMENT
Data Processing for Senior Secondary Education Hiit Plc. Chapter Four Pgs69 - 70.
WEEKEND ASSIGNMENT
Instruction: Choose the correct option from the ones lettered A to D
1. ____ is the unique, distinguishing characteristic of the entity.
A. Entity B. Relationship C. Attribute D. cardinality
2. Another name for data Element is ____.
A. Attribute B. Key C. Entity D. Relationship
3. ____ are objects or concepts within the data model.
A. Attributes B. Relationship C. Cardinality D. Entity
4. A roof covering a building will be considered in relationship as?
A. One-to-Many
B. Many-to-Many
C. One-to-One
D. Many-to-One
5. A pastor preaching to his congregation will be considered in relationship as?
A. One-to-Many
B. Many-to-Many
C. One-to-One
D. Many-to-One
SECTION B
1. List with example, the types of cardinal relationship.
2. State the uses of entity-relationship diagram.
WEEK ELEVEN
REVISION