Lecture One
Lecture One
IN COLLABORATION WITH
WRITTEN BY:
OCTOBER, 2020
LECTURE ONE
In this lesson, we shall look at the back ground of computer systems, basic components of a
computer system, and salient features of computers.
The lecture covers:
1. Lecture objectives
2. Introduction to computers
3. Salient/ distinguishing characteristics of computers.
4. Basic components/Parts of a computer system
5. Learning Activities
6. Summary
7. Suggestions for further reading
An electronic device that operates (works) under the control of programs stored in its own
memory unit.
A computer is an electronic device that accepts user input (referred to as data), and
transforms it under the influence of a set of special instructions called programs, to produce
the desired output (referred to as information).
.
An electronic machine that processes raw data to give information as output.
A computer automatically accepts data and instructions as input from an input device, stores
them temporarily in its memory, then processes that data according to the instructions given, and
finally transfers the processed data (information) to an output device.
Explanations.
A computer has an internal memory, which stores data and instructions temporarily waiting
processing, and even holds the intermediate result (information) before it is communicated to
the recipients through the output devices.
A computer works on the data using the instructions issued. This means that, the computer
cannot do any useful job on its own. It can only work as per the set of instructions issued.
A computer will accept data in one form and produce it in another form. The data is normally
held within the computer as it is being processed.
Data:
Data is a collection of raw facts, figures or instructions that do not have much meaning to the
user, and cannot be used to make decision.
- Data may be in form of numbers, letters or symbols, and can be processed to produce
information.
Types of data.
This is data that is discrete in nature. It must be represented in form of numbers, alphabets or
symbols for it to be processed by a computer.
This is data that is continuous in nature. It must be represented in physical nature in order to
be processed by the computer.
- Analogue data is obtained by measurement, e.g. pressure, temperature, lengths or currents,
etc
Program:
A program is a set of related instructions written in the language of the computer and is used
to make the computer perform a specific task (or, to direct the computer on what to do).
A set of related instructions which specify how the data is to be processed.
A set of instructions used to guide a computer through a process.
A set of instructions which a computer uses to carry out/perform a particular task.
Data processing:
The process of collecting all items of data together and performing operations on them so as to
generate a set of output which is able to convey some meaning.
The process of transforming raw data into meaningful output (described as information)
It refers to the way the data is manipulated (or handled) to turn it into information.
The processing may involve calculation, comparison or any other logic to produce the required
result. The processing of the data usually results in some meaningful information being
produced.
Information:
It is data which is summarized and processed in the way you want it, so that it is useful in your
work.
Data Information
1. Unprocessed (raw) facts or figures. 1. It is the end-product of data processing (data
which has been processed)
2. Not arranged. 2. Arranged into a meaningful format.
3. Does not have much meaning to the user. 3. More meaningful to the user.
4. Cannot be used for decision-making. 4. Can be used to make decisions.
Information processing cycle
Input Output
Processing
The collected data is input into the computer. The data is processed, and the information is
output. This cycle continues until there is no more data to input.
Before 20th century, most information was processed manually or by use of simple machines.
Today, millions of people are using computers in offices and at home to produce and store all
types of information
The following are some of the attributes that make computers widely accepted and used in the
day-to-day activities in our society:
1. Speed.
Computers operate at very high speeds, and can perform very many functions within a very
short time. They can perform a much complicated task much faster than a human being.
2. Accuracy:
A computer can work for very long periods without going wrong. However, when an error
occurs the computer has in-built, self-checking features in their electronic components that
can detect and correct such errors.
Usually errors are committed by the users entering the data to the computer, thus the saying
garbage in garbage out (GIGO). This means that, if you enter incorrect data into the
computer and have it processed, the computer will give you misleading information.
3. Reliability.
The computer can be relied upon to produce the correct answer if it is given the correct
instructions and supplied with the correct data.
Therefore, if you want to add two numbers, but by mistake, give the computer a “multiply”
instruction, the computer will not know that you intended to “ADD”; it will multiply the
numbers supplied. Similarly, if you give it the ADD instruction, but make a mistake and
enter an incorrect data (e.g. 14 and 83 instead of 14 and 38), then the computer will produce
the “wrong” answer 97 instead of 52. However, note that, 97 is ‘correct’ based on the data
supplied.
Therefore, the output produced by a computer is only as reliable as the instructions used and
the data supplied.
4. Consistency:
Computers are usually consistent. This means that, given the same data and the same
instructions, they will produce the same answer every time that particular process is repeated.
5. Diligence:
Unlike human beings, a computer can work continuously without getting tired or bored.
Even if it has to do a million calculations, it will do the last one with the same speed and
accuracy as the first one.
6. Storage:
- A computer can store data and instructions for later use, and it can produce/ retrieve this
data when required so that the user can make use of it.
- Data stored in a computer can be protected from unauthorized individuals through the use
of passwords.
7. Automation:
A computer is an automatic device. This is because, once given the instructions, it is guided
by these instructions and can carry on its job automatically until it is complete.
It can also perform a variety of jobs as long as there is a well-defined procedure.
8. Versatile:
A computer can be used in different places to perform a large number of different jobs
depending on the instructions fed to it, e.g. a computer can be used in handling complex
arithmetic problems, in railway and airline reservations, for process control in nuclear
reactors, for diagnosis and control in intensive care units in hospitals, etc.
Learning Activities
1. What is a computer?
2. Why is a computer referred to as an electronic device?
3. Define the following terms as used in computer science.
(a) Data. (c) Programs.
(b) Data processing. (d) Information.
4. (a) Briefly explain the two forms of data.
(b) Give three differences between data and information.
5. What is meant by the term ‘information processing cycle’?
6. The speed of a computer is measured in ___________.
7. What does the term GIGO stands for?
8. List and explain 4 salient features/ properties of a computer.
9. List five advantages of a computerized system over a manual system.
1. System unit.
This is the casing (unit) that houses the internal components of the computer, e.g. central
processing unit (CPU) and storage devices.
The CPU is the most important item inside the system unit. It is the brain of the
computer.
It carries out all the processing operations, i.e. calculations, and processing of data and
instructions.
It also handles input/output signals from the peripheral devices
(i) Control unit (CU) - The CU fetches data from the main memory and puts it in the
proper order for the processor. It also sends the processed results back to the main
memory.
(ii) Arithmetic logic unit (ALU) - The ALU carries out all the logical and arithmetic
processing. It decodes the instructions and then processes the data.
Every computer comes with a certain amount of physical memory, usually referred to as
main memory or random access memory (RAM).
The main memory stores information and also the instructions that tell the CPU how to
process the data.
The data in the main memory is temporary, and is lost when the computer is switched
off.
(c) Battery
The battery provides constant power for the system clock and Date/Time stamp that are
inside the system unit. The power keeps the clock running even when the main power to
the computer is turned off.
The hard disk is the computer’s main storage unit where all data is stored. It can hold
large amounts of data, and the data is not affected when the computer is turned off.
Disk drives are used to read from or write to floppy disks and compact disks, e.g.
Compact disk drives (popularly known as CD-ROM drives) can be used for reading and
writing CDs.
An expansion slot is where an expansion card can be fitted. Each expansion slot leads to
the bus on the motherboard.
Expansion board is a circuit board that installs into an expansion slot in the computer. It
allows additional hardware to be attached to the system.
Desktop units lie on the desk with the monitor placed on top.
The system unit is placed lying on its base.
They have less space for expansion.
They occupy a larger space.
Features of the system unit.
2. Keyboard
The keyboard looks like a typewriter, and has letters, numbers and other keys through which
data is entered into the computer. It enables the user to enter data and instructions into the
computer by pressing its keys.
3. Mouse
It is a pointing device that enables the user to issue instructions to the computer by controlling
a special mouse pointer displayed on the screen.
4. Monitor
It is a television-like screen used for displaying output. When you type a letter or number on
the keyboard, it shows up on the monitor.
Note. The monitor enables the user to monitor/track or see what is going on in the computer.
Computer peripherals.
Peripheral devices are the hardware elements (devices/components) connected to the CPU by
use of special cables called data interface cables.
The cables are connected to the system unit using connectors called ports, and are used to carry
data, information and programs from the devices to the processor and from the processor to the
devices.
1.6 Summary
Computer is an electronic device that accepts user input (referred to as data), and transforms
it under the influence of a set of special instructions called programs, to produce the desired
output (referred to as information).
Data is a collection of raw facts, figures or instructions that do not have much meaning to the
user, and cannot be used to make decision.