CSC208
CSC208
LESSON 1
INTRODUCTION TO INFORMATION AND COMMUNICATION
TECHNOLOGY (ICT)
EVOLUTION OF COMMUNICATION
Communication has improved and evolved to facilitate our daily activities. In
the 21st century, everything related to communication utilizes technology to
‘send out’ or disseminate information to a wider audience. Information can be
‘sent out’ in many ways. The inventions of cellular phones, television and
other electronic devices are important in enhancing communication.
WHAT IS ICT?
ICT is the technology required for information processing, in particular,
the use of electronic computers, communication devices and software
applications to convert, store, protect, process, transmit and retrieve
information from anywhere, anytime.
INFORMATION
Information refers to the knowledge obtained from reading,
investigation, study or research.
The tools to transmit information are the telephone, television and radio.
1
1.0 ICT AND SOCIETY
COMMUNICATION
TECHNOLOGY
Technology is the use of scientific knowledge, experience
and resources to create processes and products that fulfill
human needs. Technology is vital in communication.
2
1.0 ICT AND SOCIETY
Aiding Communication
Telephone and fax machines are the devices used in
extending communication.
Spreading Information
To broadcast information such as news or weather reports
effectively. Radio, television, satellites and the World Wide
Web (www) are powerful tools that can be used.
TECHNOLOGY TIMELINE
Technology Year
3
1.0 ICT AND SOCIETY
Technology Year
4
1.0 ICT AND SOCIETY
Technology Year
5
1.0 ICT AND SOCIETY
LESSON 2
EVOLUTION OF COMPUTERS
In the early years, before the computer was invented, there are
several inventions of counting machines.
CHINESE ABACUS
500
BC
EGYPTIAN ABACUS
1620
1653
6
1.0 ICT AND SOCIETY
1673
LEIBNIZ'S RECHNER
GOTTFRIED WILHELM VON
LEIBNIZ
1801
1823
MECHANICAL CALCULATOR
CHARLES BABBAGE MACHINE
1941
HARVARD UNIVERSITY
MARK 1
7
1.0 ICT AND SOCIETY
GENERATION (1940-1956)
The first generation of computer were huge, slow, expensive and often
unreliable. In 1946, two Americans, Presper Eckert and Willian Mauchly
build the ENIAC (Electronic Numerical Integrator and Computer). It use
vacuum tube instead of mechanical switches of the MARK 1.
Vacuum tube
MARK 1
Technology Details
The vacuum tube was an extremely
VACUUM TUBE important step of the advancement of
computers.In a computer, a vacuum tube
which is an electronic tube about the size of
light bulbs, was used as the internal
computer components. Thousands of them
were used.
PUNCHED CARD Punched card was used to store data.
Problems
8
1.0 ICT AND SOCIETY
The famous computer scientists during the second generation era were:
9
1.0 ICT AND SOCIETY
was replaced by a device called the microchip. Also the first 256 bit RAM
was introduced and it was the basis for development of 1K bit RAM.
Advantages
A new concept in this generation was that of a family of computer
which allowed computer to be upgraded and expanded as necessary.
In 1971 Intel created the first microprocessor. In 1976, Steve Jobs built
the first Apple computer. Then, in 1981, IBM introduced its first personal
computer.
10
1.0 ICT AND SOCIETY
Microprocessor
Silicone Chips
The microprocessor is a large-scale integrated circuit which contained
thousands of transistors. The transistors on this one chip are capable of
performing all of the functions of a computer's central processing unit.
Advantages
· Computers became 100 times smaller than ENIAC (Electronic
Numerical Integrator and Computer) the first computer
· Gain in speed, reliability and storage capacity
· Personal and software industry boomed
11
1.0 ICT AND SOCIETY
After the fifth generation computer, the technology of computer has become
more advanced, modern and sophisticated. The latest invention in the era
of computers are :
· Super Computers
· Mainframe Computers
· Mini Computers
· Personal Computers
· Mobile Computers
Super Computers
Mini Computers
Mainframe Computers
Mobile Computer
Personal Compute
.0 ICT AND SOCIETY
LESSON 3
USAGE OF ICT IN DAILY LIFE
EDUCATION
Teachers
Students
13
1.0 ICT AND SOCIETY
Researchers
School administrators
BANKING
14
1.0 ICT AND SOCIETY
Customers
Businessmen
Bank administrators
INDUSTRY
Workers
15
1.0 ICT AND SOCIETY
Researchers
Administrators
E-COMMERCE
Customers
16
1.0 ICT AND SOCIETY
Suppliers
Employees
OTHER SECTOR
17
1.0 ICT AND SOCIETY
LESSON 4
COMPUTERISED AND NON-COMPUTERISED SYSTEMS
COMPUTER SYSTEM
EDUCATION
BANKING SYSTEM
18
1.0 ICT AND SOCIETY
INDUSTRY
COMMERCE
20
1.0 ICT AND SOCIETY
PAPERLESS ENVIRONMENT
ICT technology has created the term paperless environment. This term
means information can be stored and retrieved through the digital
medium instead of paper. Online communication via emails, online chat
and instant messaging also helps in creating the paperless environment.
BORDERLESS COMMUNICATION
SOCIAL PROBLEMS
There are some negative effects of ICT. It has created social problems in
the society. Nowadays, people tend to choose online communication rather
than having real time conversations. People tend to become more
individualistic and introvert.
21
1.0 ICT AND SOCIETY
This will result a moral decedent and generate threads to the society.
HEALTH PROBLEMS
A computer may harm users if they use it for long hours frequently.
Computer users are also exposed to bad posture, eyestrain, physical
and mental stress. In order to solve the health problems, an ergonomic
environment can be introduced. For example, an ergonomic chair can
reduces back strain and a screen filter is used to minimize eye strain.
22
1.0 ICT AND SOCIETY
LESSON 6
COMPUTER ETHICS
ETHICS IN GENERAL
A guideline is needed to stop the current technology products from being
exploited for example replicating original CDs and selling them as pirated
software, this unethical behaviour can be controlled by the code of conducts.
24
1.0 ICT AND SOCIETY
LESSON 7
THE DIFFERENCES BETWEEN ETHICS AND LAW
DEFINITION OF ETHICS
In general, ethics is a moral philosophy where a
person makes a specific moral choice and sticks
to it. On the other hand, ethics in computing
means moral guidelines to refer to when using
the computer and computer networks. This
includes the Internet.
DEFINITION OF LAW
Law is a legal system comprising of rules and principles that govern
the affairs of a community and controlled by a political authority.
· Respecting Ownership
· Respecting Privacy
· Respecting Property
RESPECTING OWNERSHIP
We must respect ownership by not stealing other people’ s work either
by duplicating or distributing it. Duplicating and distributing copies of
audio tapes, video tapes and computer programs without permission
and authorisation from the individual or company that created the
program are immoral and illegal.
25
1.0 ICT AND SOCIETY
RESPECTING PROPERTY
Property here means ownership. Since an individual data and information
are considered as property, therefore, an act of tampering and changing
electronic information is considered as vandalism and disrespect for other
people’s property.
ETHICS
GUIDELINE As a guideline to computer users.
MORAL STANDARDS Ethical behaviour is judged by moral
standards.
FREE TO FOLLOW Computer users are free to follow or
ignore the code of ethics.
NO PUNISHMENTS No punishment for anyone who
violates ethics.
UNIVERSALS Universal, can be applied anywhere,
all over the world.
PRODUCE ETHICAL COMPUTER To produce ethical computer users.
USERS
IMMORAL Not honouring computer ethics
means ignoring the moral elements
(immoral).
LAW
CONTROL As a rule to control computer users.
JUDICIAL STANDARDS Law is judged by judicial standards.
MUST FOLLOW Computer users must follow the
regulations and law.
PENALTIES, IMPRISONMENTS Penalties, imprisonments and other
AND OTHER PUNISHMENTS punishments for those who break the
law.
DEPENDS ON COUNTRY Depends on country and state where
the crime is committed.
PREVENT MISUSING OF COMPUTERS To prevent misuse of computers.
CRIME Not honouring the law means
committing a crime.
26
1.0 ICT AND SOCIETY
Unethical:
Law breaking:
· Trademarks
· Service marks
· Trade/company names
· Domain names
· Geographical indications
· Copyrights
· Patents
28
1.0 ICT AND SOCIETY
29
1.0 ICT AND SOCIETY
LESSON 9
PRIVACY IN COMPUTER USAGE
WHAT IS PRIVACY?
Privacy in IT refers to data and information privacy. Data refers to a
collection of raw unprocessed facts, figures and symbols. Then, computer
is used to process data into information. In general, data include texts,
numbers, sounds, images and video.
It is done through:
· Cookies
· Electronic profile
· Spyware
Cookies
· are used to identify users by web casting,
e-commerce and other web applications
· contain user information and are saved in
the computer hard disk
· are used by some websites to store passwords
and track how regularly we visit a website, that’s how we
become potential targets for web advertisers
· enable web sites to collect information about
your online activities and store them for future
use, then the collected details will be sold to any company
that requests for it.
30
1.0 ICT AND SOCIETY
Electronic profile
· electronic profile is the combining of data in a
database that can be sold to the Internet by the company
to the interested parties.
· this database is in a form such as magazine
subscription or product warranty cards that
had been filled by online subscribers.
· the information in electronic profile includes
personal details such as your age, address and marital status.
Spyware
· refers to a program that collects user
information without the user’s knowledge.
· can enter computers, sneaking in like a virus.
· is a result of installing new programs.
· communicates information it collects to
some outside source while we are online.
We do not want our private lives and habits exposed to third parties.
Authentication is a process where users verify that they are who they say
they are. The user who attempts to perform functions in a system is in
fact the user who is authorised to do so.
For Example : When you use an ATM card, the machine will verify the
validation of the card then the machine will request for a pin number.
This is where the authentication process takes place.
AUTHENTICATION
1.0 ICT AND SOCIETY
METHODS OF AUTHENTICATION
There are two commonly used authentication methods, which are
biometric device and callback system.
Callback system refers to the checking system that authenticates the user.
BIOMETRIC DEVICES
Fingerprint Recognition
In order to prevent fake fingers from being used, many
biometrics fingerprint systems also measure blood flow,
or check for correctly arrayed ridges at the edges of the
fingers.
Facial Recognition
Facial recognition analyses the characteristics of an
individual's face images captured through a digital
video camera. Facial recognition is widely used, touted
as a fantastic system for recognising potential threats
(whether terrorists, scam artists, or known criminals).
Iris Scanning
Iris scanning analyses the features that exist in the
coloured tissues surrounding the pupil which has
more than 200 points that can be used for
comparison, including rings, furrows and freckles.
The scans use a regular video camera and can be done from further away
than a retinal scan.It will work perfectly fine through glasses and in fact
has the ability to create an accurate enough measurement that it can be
used for identification purposes.
The accuracy of this method is excellent while the cost involved is high.
Retinal Scanning
Retinal biometrics involves the scanning of retina and
analysing the layer of blood vessels at the back of the
eye.
Retina scanning requires the user to remove glasses, place their eye close
to the device, and focus on a certain point. Whether the accuracy can
outweigh the public discomfort is yet to be seen.
The accuracy in retinal scanning is very good and the cost involved is fair.
Voice Recognition
Voice recognition system compares a person’s
live speech with their stored voice pattern.
34
1.0 ICT AND SOCIETY
The similarity between an input signature and the reference set is computed
using string matching and the similarity value is compared to a threshold.
The accuracy in signature verification system is fair and the cost involved
is excellent.
CALLBACK SYSTEM
The callback system is commonly used in the
bank operation and business transaction.
For example, when you book for the taxi service, the
operator will ask you to hang up and she will call you
back to confirm for the service required.
35
1.0 ICT AND SOCIETY
LESSON 11
VERIFICATIONS
IDENTIFICATION
present what the user has (e.g ATM card) Access Granted
Valid
VERIFICATION
verify the validity of the ID
IDENTIFICATION
present what the user has (e.g pin number)
METHODS OF VERIFICATION
There are two methods commonly used in
verification, which are user identification
and processed object. User identification
refers to the process of validating the user.
Processed object refers to something the
user has such as identification card, security
token and cell phone.
USER IDENTIFICATION
The examples of validating process using the user identification are:
· Key in the user name to log-in to a system and the
system will verify whether the user is valid or invalid user
· Show the exam slip to verify that you are the
valid candidate for the exam.
· show a passport before departure.
PROCESSED OBJECT
The examples of validating process using the
processed object are:
· the policeman will check on the driver’s license
to identify the valid driver
· employees have to swipe their security card to
enter the building
· buy blouses at the mall using a credit card
36
1.0 ICT AND SOCIETY
LESSON 12
CONTROVERSIAL CONTENT
PORNOGRAPHY
What is pornography? Why is pornography considered “negative” content?
Both pictures are very cute pictures of innocent babies. Neither can
be considered pornographic by normal standards.
DEFINITION OF PORNOGRAPHY
The definition of pornography is any form of media or material (like books
or photographs) that depicts erotic behaviour and is intended to cause
sexual excitement.
37
1.0 ICT AND SOCIETY
SLANDER
Slander is another example of controversial content.
Examples :
You wrote an e-mail that a fellow classmate was having an affair with a
teacher, even though it was not true. You then sent it to five other friends.
Ahmad is a muslim. One day, he received a “spam” e-mail stating that his
favourite soda drink “Soda Moda” uses non-halal food colouring, but he
does not know if the source of the content is credible or true. He decides
to forward the e-mail to 50 of his friends.
Pornography
· can lead to criminal acts such as exploitation of women and children
· can lead to sexual addiction or perversion
· can develop low moral value towards other men, women or children
· can erode good religious, cultural and social beliefs and behaviour
Slander
· can develop into a society that disregards honesty and truth
· can develop bad habit of spreading untruths and rumours
· can lead to unnecessary argument
· can cause people to have negative attitudes towards another person
LESSON 13
THE PROCESS OF INTERNET FILTERING
INTERNET FILTERING
It is our responsibility to ensure that the teenagers are
protected from these corruptions of the mind by
filtering access to the Internet. Internet filtering is a
process that prevents or blocks access to certain
materials on the Internet.
KEYWORD BLOCKING
One of the strategies is by using the keyword
blocking method.This method uses a list of banned
words or objectionable terms.
39
1.0 ICT AND SOCIETY
SITE BLOCKING
· software company maintains a list of ‘dubious Internet sites’
· the software prevents access to any sites on this list
· ‘denial lists’ regularly updated
· some software provides control over what categories of
information you block
· Who decides what goes on the ‘denial list’ and what criteria are
they using?
· can you keep track of the whole of the Internet?
· filters can use both site blocking and word blocking
40
1.0 ICT AND SOCIETY
LESSON 14
CYBER LAW
Assignment
Make a research on the cyber Act in Nigeria
LESSON 15
COMPUTER CRIMES
COMPUTER CRIMES
A computer crime is defined as any criminal activity
that is related to the use of computers. These activities
include computer fraud, copyright infringement,
computer theft and computer attack.
COMPUTER FRAUD
Computer fraud is defined as having an intention to take advantage over
or causing loss to other people, mainly on monetary basis through the use
of computers.
There are many forms of computer fraud which include e-mail hoaxes,
programme fraud, investment schemes, sales promotions and claims
of expertise on certain fields.
COPYRIGHT INFRINGEMENT
Copyright infringement is defined as a violation of
the rights secured by a copyright. Copyright
infringement involves illegal copy or reproduction of
copyrights material by the black market group. The
open commercial sale of pirated item is also illegal.
With the current technology, the most perfect copy of the original copy
can be downloaded from the internet.
COMPUTER THEFT
Computer theft is defined as the unauthorised use of
another person’s property with the intention to deny
the owner the rightful possession of that property or
its use.
43
1.0 ICT AND SOCIETY
COMPUTER ATTACK
Computer attack may be defined as any activities taken
to disrupt the equipment of computer systems, change
processing control or corrupt stored data.
44
1.0 ICT AND SOCIETY
LESSON 16
COMPUTER SECURITY
We do not want strangers to read our e-mail, use our computer to attack
other systems, send forged e-mail from our computer, or examine personal
information stored on our computer such as financial statements.
a) hardware security
b) software security/data security
c) network security
a) HARDWARE SECURITY
Hardware security refers to security measures
used to protect the hardware specifically the
computer and its related documents.
45
1.0 ICT AND SOCIETY
c) NETWORK SECURITY
The transfer of data through network has become
a common practice and the need to implement
network security has become significant.
Computer threats can come from many ways either from human or natural
disasters. For example, when someone is stealing your account information
from a trusted bank, this threat is considered as a human threat. However,
when your computer is soaked in heavy rain, then that is a natural disaster
threat.
MALICIOUS CODE
Malicious code is also known as a rogue program. It is
a threat to computing assets by causing undesired
effects in the programmer’s part. The effect is caused
by an agent, with the intention to cause damage.
a) VIRUS
· a program that can pass on the malicious
code to other programs by modifying them
· attaches itself to the program, usually
files with .doc, .xls and .exe extensions
· destroys or co-exists with the program
· can overtake the entire computing
system and spread to other systems
47
1.0 ICT AND SOCIETY
b) TROJAN HORSE
· a program which can perform useful and unexpected action
· must be installed by users or intruders
before it can affect the system’s assets
· an example of a Trojan horse is the login
script that requests for users’ login ID and password
· the information is then used for
malicious purposes
c) LOGIC BOMB
· logic bomb is a malicious code that goes
off when a specific condition occurs.
· an example of a logic bomb is the
time bomb
· it goes off and causes threats at
a specified time or date
e) TRAPDOOR OR BACKDOOR
· a feature in a program that allows
someone to access the program with special
privileges
f) WORM
· a program that copies and spreads
itself through a network
Worm Virus
48
1.0 ICT AND SOCIETY
HACKER
Hacking is a source of threat to security in computer.
It is defined as unauthorised access to the computer
system by a hacker.
49
1.0 ICT AND SOCIETY
THEFT
Two types of computer theft:
50
1.0 ICT AND SOCIETY
LESSON 18
SECURITY MEASURES
1) DATA BACKUP
Data Backup is a program of file duplication.
Backups of data applications are necessary so that
they can be recovered in case of an emergency.
51
1.0 ICT AND SOCIETY
2) CRYPTOGRAPHY
Cryptography is a process of hiding information
by altering the actual information into different
representation, for example, an APA can be
written as I ?
3) ANTIVIRUS
An antivirus program protects a computer against
viruses by identifying and removing any computer
viruses found in the computer memory, on storage
media or incoming e-mail files.
IDENTIFYING VIRUS
Two technique are used to identify the virus.
52
1.0 ICT AND SOCIETY
4) ANTI-SPYWARE
Spyware is a program placed on a computer without
the user’s knowledge. It secretly collects information
about the user.
5) FIREWALL
Firewall is a piece of hardware or software which
functions in a networked environment to prevent
some communications forbidden by the security
policy.
53
1.0 ICT AND SOCIETY
54
1.0 ICT AND SOCIETY
LESSON 19
RELATIONSHIP BETWEEN SECURITY THREATS AND
SECURITY MEASURES
Security threats may come from in many forms. For example, when
someone is invading your account information from a trusted bank, this
act is considered as a security threat.
SECURITY THREATS
Security threats may come from in many forms. For example, when
someone is invading your account information from a trusted bank, this
act is considered as a security threat.
Security measures can be used to prevent this invader from getting the
account information. For example, the bank can use a firewall to prevent
unauthorised access to its database.
limiting connectivity
allowing only authorised media for loading data and software
enforcing mandatory access controls
blocking the virus from the computer program
55
1.0 ICT AND SOCIETY
The backup system is needed to backup all data and applications in the
computer. With the backup system, data can be recovered in case of
an emergency.
Computers should have alarm systems to guard them from any attacks
such as viruses and data corruption. The alarm system is the security
measures that we take to ensure its safety.
DATA PROTECTION
We need to protect the data in the computer as it
may somehow get lost or corrupted due to some
viruses or mishap like fire, flood, lightning,
machine failures and even human errors.
1) BACKUP FILES
Users can do backups of file systems by:
keeping the duplicated files in external storage
such as in the floppy disk and thumb drive
do backup frequently
2) DETECT VIRUS AND DO CLEANUP
A computer virus is able to affect and infect the way
the computer works. Viruses can be detected when
we run an antivirus program.We can also delete the
infected files and documents.
57
1.0 ICT AND SOCIETY
TCPWRAPPERS
TRIPWIRE
Tripwire will detect and report on any changes in
the thousands of strategic system files.
There are things that cannot be taken inside the airplane. It is for
the purpose of security procedures.
58
1.0 ICT AND SOCIETY
Sudo stands for (Superuser do) and is a program in Unix, Linux and similar
operating systems such as Mac OS X that allows users to run programs in the
form of another user (normally in the form of the system's superuser).
PATCH
Patch supplies small updates to software,
provided that the source code is available.
Resources are not enough to patch all security holes that we hear
about through the bugtraq list.
1. Data collection
Also referred to as data gathering or fact finding ,it involves looking for crucial
facts needed for processing.
The accuracy of the computer output is critical. As the saying goes garbage in
garbage out (GIGO),the accuracy of the data entered in the computer directly
determines the accuracy of the information given out.
Some of the errors that influence the accuracy of data input and information
output include
Transcription,
Computation and
Algorithm or logical errors.
2.Transcription errors
Transposition errors
Results form incorrect arrangement of characters i.e. putting characters in the
wrong order. For example the user might enter 396 instead of 369.
These errors may be avoided by using modern capture devices such as bar code
readers, digital cameras etc which enter data with the minimum user intervention.
Rounding errors
Results from raising or lowering a digit in a real number to the required rounded
number. for example, to round off 30.666 to one decimal place we raise the first
digit after the decimal point if its successor is more than or equal to five. In this
case the successor is 6 therefore 30.666 rounded up to one decimal place is
30.7.if the successor is below five,e.g.30.635,we round down the number to 30.6
Data integrity
Data integrity refers to the accuracy and completeness of data entered in a computer or
received from the information system. Integrity is measured in terms
of accuracy, timeliness and relevance of data.
Accuracy
It refers to how close an approximation is to an actual value. As long as the correct
instructions and data are entered, computers produce accurate results efficiently. In
numbers, the accuracy of a real number depends on the number. For example, 72.1264 is
more accurate than 72.13.
Timeliness
This is the relative accuracy of data in respect to the current state of affairs for which it is
needed.
This is important because data and information have a time value attached to them. If
received late, the information may have become useless to the user. For example,
information in the newspaper that is meant to invite people for a meeting or occasion
must be printed prior to the event and not later.
Relevance
Data entered into the computer must be relevant so as to get the expected output. In this
case, relevance means that the data entered must be pertinent to the processing needs at
hand and must meet the requirements of the processing cycle. The user also needs
relevant information for daily operations or decision making.
In manual data processing, most tasks are done manually with a pen and a paper. For
example in a busy office, incoming tasks (input) are stacked in the “tray” (output). The
processing of each task involves a person using the brain in order to respond to queries.
The processed information from the out tray is then distributed to the people who need it
or stored in a file cabinet.
Manual is cumbersome and boring especially repetitive tasks. Mechanical devices were
developed to help in automation of manual tasks. Examples of mechanical devices
include the typewriter, printing press, and weaving looms. Initially, these devices did not
have electronic intelligence.
For a long time, scientists have researched on how to develop machine or devices that
would stimulate some form of human intelligence during data and information
processing. This was made possible to some extent with the development of electronic
programmable devices such as computers.
The advent of microprocessor technology has greatly enhanced data processing efficiency
and capability. Some of the micro processor controlled devices include computers,
cellular(mobile) phones, calculators, fuel pumps, modern television sets, washing
machines etc
Computer files
A file can be defined as a collection of related records that give a complete set of
information about a certain item or entity. A file can be stored manually in a file cabinet
or electronically in computer storage devices.
Computerized storage offers a much better way of holding information than the manual
filing system which heavily relies on the concept of the file cabinet.
Some of the advantages of computerized filing system include:
Characters
A character is the smallest element in a computer file and refers to letter, number or
symbol that can be entered, stored and output by a computer. A character is made up of
seven or eight bits depending on the character coding scheme used.
Field
A field is a single character or collection of characters that represents a single piece of
data. For example, the student’s admission number is an example of a field.
Records
A record is a collection of related fields that Represents a single entities, e.g. in a class
score sheet, detail of each student in a row such as admission number, name, total marks
and position make up a record.
Logical files
A computer file is referred to as logical file if it is viewed in terms of what data item it
contains and details of what processing operations may be performed on the data items. It
does not have implementation specific information like field, data types, size and file
type.
Physical files
As opposed to a logical file, a physical file is viewed in terms of how data is stored on a
storage media and how the processing operations are made possible. Physical files have
implementation specific details such as characters per field and data type for each field.
1. Master file
A master file is the main that contains relatively permanent records about particular items
or entries. For example a customer file will contain details of a customer such as
customer ID, name and contact address.
A transaction file is used to hold data during transaction processing. The file is later used to
update the master file and audit daily, weekly or monthly transactions. For example in a busy
supermarket, daily sales are recorded on a transaction file and later used to update the stock file.
The file is also used by the management to check on the daily or periodic transactions.
Reference file
A reference file is mainly used for reference or look-up purposes. Look-up information is that
information that is stored in a separate file but is required during processing. For example, in a
point of sale terminal, the item code entered either manually or using a barcode reader looks up
the item description and price from a reference file stored on a storage device.
Backup file
A backup files is used to hold copies (backups) of data or information from the computers fixed
storage (hard disk). Since a file held on the hard disk may be corrupted, lost or changed
accidentally, it is necessary to keep copies of the recently updated files. Incase of the hard disk
failure, a backup file can be used to reconstruct the original file.
Report file
Used to store relatively permanent records extracted from the master file or generated after
processing. For example you may obtain a stock levels report generated from an inventory
system while a copy of the report will be stored in the report file.
Sort file
It stores data which is arranged in a particular order.
sequential,
random,
serial and
indexed-sequential
Records are stored and accessed in a particular order sorted using a key field.
Retrieval requires searching sequentially through the entire file record by record to the
end.
Because the record in a file are sorted in a particular order, better file searching methods
like the binary search technique can be used to reduce the time used for searching a file .
Since the records are sorted, it is possible to know in which half of the file a particular
record being searched is located, Hence this method repeatedly divides the set of records
in the file into two halves and searches only the half on which the records is found.
For example, of the file has records with key fields 20, 30, 40, 50, 60 and the computer is
searching for a record with key field 50, it starts at 40 upwards in its search, ignoring the
first half of the set.
The sorting does not remove the need to access other records as the search looks for
particular records.
Sequential records cannot support modern technologies that require fast access to stored
records.
The requirement that all records be of the same size is sometimes difficult to enforce.
It is simple
It is cheap
It is cumbersome to access because you have to access all proceeding records before
retrieving the one being searched.
Wastage of space on medium in form of inter-record gap.
It cannot support modern high speed requirements for quick record access.
Almost similar to sequential method only that, an index is used to enable the computer to
locate individual records on the storage media. For example, on a magnetic drum,
records are stored sequential on the tracks. However, each record is assigned an index
that can be used to access it directly.
1. online processing
2. real time processing
3. distributed processing
4. Time sharing
5. Batch processing
6. multiprocessing
7. multitasking
8. interactive processing
1. Online processing
In online data processing data is processed immediately it is received. The computer is
connected directly to the data input unit via a communication link. The data input may be
a network terminal or online input devices attached to the computer.
1. Real-time processing
Computer processes the incoming data as soon as it occurs, updates the transaction file
and gives an immediate response that would affect the events as they happen.
This is different from online in that for the latter an immediate response may not be
required.
The main purpose of a real-time processing is to provide accurate, up-to-date information
hence better services based on a true (real) situation.
An example of a real time processing is making a reservation for airline seats. A
customer may request for an airline booking information through a remote terminal and
the requested information will be given out within no time by the reservation system. If a
booking is made, the system immediately updates the reservation file to avoid double
booking and sends the response back to the customer immediately.