SS2 Data Processing First Term (2019-2020 Ses
SS2 Data Processing First Term (2019-2020 Ses
Create Blog
Sign In
Obasa's blog
A blog on Computer/Data Processing Education, Motivation for Students, Technology info, Business Ideas,
Job/Vacancy opportunities, General Information and News.
SCHEME OF WORK
WEEK TOPIC
2 COMPUTER ETHICS
·
Definition of Computer ethics
·
Definition of computer room
management ethics
·
Computer ethics issues
·
Responsible ways of using the
Computer
·
Ways of misusing the computer
3 SAFETY MEASURES
·
Meaning of safety measures
·
Safety measures to be taken
when using computer
Assignment: List
10 Computer room rules and regulations.
Computer related
health problems and solutions
1.
Eye strain and vision problem –
continuous staring at the monitor without taking breaks can
cause eyestrain
which weakens the sight.
Precautions/solution
Use anti-glare glasses to cover
the monitor
Take regular short breaks from
sitting in front of the computer
4. Cervical spondylosis (neck and shoulder problem) - reading from the monitor screen or typing
over
a prolonged periods regularly is a risk factor that can over time cause
cervical spondylosis
Precaution/solution
A data model is
a picture or description which shows how data is to be arranged to serve a
specific
purpose.
A data model
defines how data is connected to each other and how they are processed and
stored
inside the system.
A data model
documents and organizes data, how it is stored and accessed, and the
relationships
among different parts of data.
TYPES OF DATA MODEL
4. Relational model: In this model, data record is organised in
two-dimensional tables called relations.
The tables or relations are related to
each other. Each table is made up of rows and columns and a
table stores
records about a particular subject. Relational data models are used in IBM’s
DB2, Informix,
Oracle, Sybase, Paradox, FoxBase, Teradata).
Data modelling
is the process of creating a data model for an information system by applying
certain
formal techniques
APPROACHES
TO DATA MODEL
The three approaches to data model are:
CREATING LIBRARY
DATABASE
Table
A table is the first and the most important
object to be added to a database. It stores data about a
particular subject
such as Authors or Books. It consists of records and fields. Each record
contains
data about one instance of the table subject, such as a particular
author. Each field contains data
about one aspect of the table subject, such as
AuthorName, AuthorPhoneNumber, etc. A field is also
commonly called a column or
an attribute. A record consists of field values.
Field
property
Field property applies to a particular
field in a table and defines one of the field’s characteristics or an
aspect of
the field’s behavior.
Data types
Primary
key: A primary key consist of one or more fields that uniquely identify
each record that you
store in the table. Consider the Student table; the
AdmissionNumber field is the primary key of the
Student table.
Foreign key: A foreign key contains
values that correspond to values in the primary field of another
table. For
example, consider the table information below:
Author (AuID, AuName, AuPhone,
Address,)
Book (ISBN, title, PubName, Category, AuID,
Price)
Forms
A form is another database object that provides a convenient way to
enter and view records in a table.
Queries
A query is a database object that enables you to locate records that
match specified criteria by
providing a way for you to ask a question about the
information stored in a database table.
Report
1. Eliminating
data redundancy i.e. duplication of data
2. To
minimize or avoid modification issues
3. To
simplify queries
Normal
form
Note:
Each subsequent normal form depends on the normalization steps taken in the
previous normal
form. The 3NF is sufficient for most typical database
applications.
First
normal form (1NF)
A database table is said to be in 1NF if:
It contains no
repeating or duplicate fields/columns (i.e. each column name should be
unique)
No data in a columns
is multi-valued (i.e.
each data field is single value)
Each
row of data has a unique identifier (or Primary Key)
The attribute domain
remains the same (i.e. age value cannot be in the name column)
Problems
with tables in first normal form (1NF)
Insert
anomalies: An Insert Anomaly occurs when certain attributes cannot
be inserted into the
database without the presence of other attributes. Suppose
a new item has just been bought and
is to
be added into the table and you do not know the tax applicable, it will be difficult to enter a few item of
information
and not all, thereby leading to Insertion Anomaly.
Delete
anomalies: A Delete Anomaly exists when certain attributes are lost
because of the deletion of
other attributes. If the White colour of the item
Pant is no more in stock, and we
try to delete ‘white’
from the
colour column, then we will be forced to remove the item Pant, the price and
the tax as well
since the entire row will be deleted
Update
anomalies: An Update Anomaly exists when one or more instances of
duplicated data are
updated, but not all. For example, if the tax applicable to the price 12.0 changed, then we will have to
update all the rows where there is 0.60,
else data will become inconsistent i.e. there will be different
tax value for the price 12.0 in different rows.
1. It is in 1NF and
2. Every non-key
attribute is fully functionally dependent on the primary key i.e. there should
be no
partial dependency in the table
Consider the Table 2 above, the non-key attributes are colour, price
and tax. The attribute item is the
primary key. The price and the tax are functionally
dependent on the item and not on the colour i.e. the
item determines the price
and not the colour.
So what do you do to
normalize into 2NF?
Decompose the 1NF table and set up a new relation (table)
for each partial key with its dependent
attributes. Make sure to keep a table
with the original primary key and any attributes that are fully
functionally
dependent on it.
Having decomposed the above table, the tables below are now
in 2NF
Third
normal form (3NF)
Tables 2NF(b)
is not in third normal form because Tax
depends on price, not item.
To normalize
to 3NF, decompose the table and set up a new table that includes the non-key
attribute(s) i.e. price, that
functionally determine(s) other non-key attribute(s) i.e. tax
The tables
below are now in 3NF.
at
September 13, 2019
Labels:
Educational,
Technology
19 comments:
Nice
Please can you post ss1 and ss3 computer first term and some questions
Reply
Replies
Reply
Reply
Replies
thank you
Reply
Reply
Replies
thank you
Reply
Appreciate sir
Reply
Good day sir, I really want to appreciate you for your good work... May God continue to
enrich you...
Pls I want to request for data processing ss3 first-third term.. Thanks in advance
Reply
Thank you so much continue the good work God is your strength. Pls I want to download
s s 2 data processing note but no link to do that is I need it
Reply
Pls I want to request for data processing ss3 first-third term.. Thanks in advance rose
day wishes
Reply
thanks Sir
Reply
With all of my heart i pray GOD BLESS YOU FOR THIS POST
Reply
Reply
nice post.
Reply
Enter comment
Newer Post Home Older Post
Subscribe to:
Post Comments (Atom)
SCHEME OF WORK FOR 2ND TERM WEEK TOPIC 1 Review of first term examination 2-3 ...
POPULAR POSTS
SS2 DATA PROCESSING NOTE FIRST TERM (2019-2020 SESSION)
SCHEME OF WORK WEEK TOPIC 1 Writing of scheme of work 2 COMPUTER ETHICS ·
Definition...