EEC115
EEC115
1.0 Introduction
Today, computers are virtually everywhere in our society. People
encounter and use computers and computing technology many times during
the average day. Individuals use personal computers and mobile devices
both at home and on the go to perform a variety of important daily tasks,
such as to pay bills, manage investment, communicate with others, research
products, make travel arrangements, check current news and weather
information, and view maps location. Individuals also increasingly use these
devices for a growing number of entertainment purposes, such as playing
games, downloading and listening to music, and watching TV shows.
1
EEC112
[email protected]
[email protected]
1.1 Definition of Computer
A computer can be defined as a programmable, electronic device
that accepts data, performs operation on that data, presents the results, and
stores the data or results as needed. The fact that a computer is
programmable means that a computer will do whatever the instructions-
called the program- tell it to do. The programs used with a computer
determine the task the computer is able to perform.
2
EEC112
[email protected]
[email protected]
• Storage: saving data, programs, or output for future use.
For example, assume that you have a computer that has been programmed
to add two numbers in decimal. As shown in the figure below, input occurs
when data (in this example, the numbers 2 and 5) is entered into the
computer, processing takes place when the computer program adds those
two numbers, and output happens when the sum of 7 is displayed on the
computer screen. The storage operation occurs any time the data, a change
to a program, or some output is saved for future use.
Characteristics of Computers
Computers have certain definite characteristics that make them unique. These characteristics
include:
o Speed
3
EEC112
[email protected]
[email protected]
o Accuracy
o Storage
o Consistency
o Repetitiveness
o Complexity
• Speed: The computers have the ability to execute or carry out instructions at very great
speed.
• Accuracy: Computers do not make errors i.e. there is accuracy of work. Any error is usually
caused by the human elements.
• Storage: Computers can store large volume of data/information on secondary storage, which
can be retrieved at a later time.
• Consistency: Computers have the ability to consistently follow instructions without getting
tired.
• Repetitiveness: Computers have the ability to continue processing over an extended period.
• Complexity: Computers have the ability to carry out very complex operations that beats the
best human ability.
Definition of Data
Data are raw facts and figures about an event or activities, somebody,
something or some place. Data can also be defined as unprocessed
information. Data are all facts and figures that a computer processed by the
following set of instruction called program. Datum is the singular form of
data.
Types of Data
1. Numeric Data: These are figures or numbers. Examples are: 1, 2,3,4,5...
2. Alphabetic Data: These can be letters, names, places, or classification.
Examples are: Bamalli, Cephas, Dennis, Mercy and also A-Z letters.
Alphabetic data are also called Labels (String).
4
EEC112
[email protected]
[email protected]
3. Alphanumeric Data: These are combination of numbers and labels.
Home Address: No. 3 NTA Quarters, Hadejia Jigawa State.
Car plate Number: AA 553 KYW, GSE123 are all examples of alphanumeric
data.
4. Audio Data: These are voice data. They can be sent into the computer
through microphone. An example is when you record your voice in to the
computer or Handset.
5. Graphic Data: These can be pictures, images, diagram, etc. Graphic data
also called visual or video data.
Definition of Information
Information means processed data (or raw facts). Information refers to a
data that have been converted into a more meaningful form.
Information = Data + Process
5
EEC112
[email protected]
[email protected]
S/ DATA INFORMATION
N
1 Data by itself is not Information is significant by
significant itself.
2 Data is an input for Information is an output of
processing processed data.
3 Data is a raw and Information is the result of
unorganized analyzed data.
4 Experiments, Analysis is carried out on the
observation and recorded data to obtain
recordings are done to information.
obtain data
5 Data is made up Information is conclusion of
unorganized facts that organized data.
can be drawn to
conclusion
6 Data is the lowest level Information is the second level
of knowledge after data.
There has been a lot of obvious improvements which have taken place
in the growth and development of computer over the years. These
tremendous improvements were on the processing, speed and storage
capacity. As a result, computers became cheaper and more affordable
to all. Below is classification of computers into different generations
based on the major electronic components upon which they are built.
6
EEC112
[email protected]
[email protected]
1. First Generation Computers (Approximately: 1946-1957)
This generation started with vacuum tubes as the basic storage
(memory). These tubes like electric baths produce a lot of heat.
7
EEC112
[email protected]
[email protected]
3. Third Generation Computers ( Aprroximately:1964-1970)
The replacement of transistors with IC’s (Integrated Circuits) marked
the beginning of this generation.
8
EEC112
[email protected]
[email protected]
5. Fifth Generation Computers (Now and the Future)
This generation has no precise classification, since experts tend to
disagree about the definition for this generation of computers.
However, one common opinion is that fifth-generation computers will
be based on artificial intelligence, allowing them to think, reason,
and learn. Voice and touch are expected to be a primary means of
input, and computers may be constructed differently than they are
today.
1. Mainframe computers;
2. Mini-computers;
3. Micro-computer.
1. Mainframe Computers
These are very large computers that require extensive space, and they
are very expensive to buy and maintain. They are general purpose in
nature and have very large computing power, which enable them to be
capable of handling multiple simultaneous activities. Their main
memory is large and a lot of data and instructions can be stored there.
They can only be used in large organizations or institutions where very
large amount of information are being processed like banks, insurance
companies, manufacturing firms and universities. IBM 370 is one the
example of this category which is sometimes called Super Computer.
2. Mini Computers
These are smaller in size than the mainframe but bigger than Micro
computer. They are less expensive to mainframe computers; as a
result, they are affordable to medium size organizations. Their
processing speed is slower, their capability to support secondary
storage system are lower. They have the ability to handle complex
calculations.
9
EEC112
[email protected]
[email protected]
3. Micro Computers
Micro Computers Are the smallest and cheapest when compared with
both Mainframe and Mini computers, they are otherwise known as
personal computer (PC) because they are designed as single user
systems. Their processing speed is the highest and their central
processing unit (CPU) consists of microprocessors placed on silicon
chips. Present day Micro computers are very complex, powerful, and
have very large storage capacity and some of them are portable.
1. Analog computer
2. Digital computer
3. Hybrid computer
1. Analog Computers
These computer measure continuous electrical states, for example,
pressure, temperature, voltage and volume. Example of this device is:
petrol pump, speedometer, thermometer, and volume control of TV
set.
2. Digital Computers
These are computers designed to process data in discrete numerical
form which are represented by discrete signals using binary code.
Numbers, letters, and symbols are represented by codes based on the
binary number system (0, 1). Examples: Digital watches, and
calculators.
3. Hybrid computers
10
EEC112
[email protected]
[email protected]
These are computers that combine the features of Analog and Digital
computers for their functions. They are for counting and measuring. In
fact, they are very useful in the control of manufacturing and
processing.
1. Programmable Computers
These are computers designed to accept different programs from
users to solve problems. Computers that are generally suited to
carry out such programming tasks are programmable computer.
Examples are the Micro and Mainframe computers.
2. Non-Programmable Computers
These are computers designed to tackle a particular set of task(s),
therefore cannot accept any other program from any user apart
from what it is meant for. They are similar to the special/Dedicated
11
EEC112
[email protected]
[email protected]
purpose computers. Examples are the X-ray machine, Vehicle
Speedometer, and Wind Vane.
13
EEC112
[email protected]
[email protected]
The computer system is made up of two (i. e if Human ware is excluded)
major components, which are the:
1. Hardware;
2. Software;
1. Hardware
The physical parts of a computer (the parts you can touch, seen and
moved from one place to another) are called hardware. Hardware
components can be internal (located inside the main box or system
unit of the computer) or external (located outside the system unit via a
wired or wireless connection). There is hardware device associated
with each of the four computer operations previously discussed (input,
processing, output, and storage).
Input Devices
An input device is any piece of equipment that is used for sending
(transferring) data, information, and commands into the computer.
Input devices are shown below.
Other common input devices include digital cameras, digital pens and
styluses, touch pads and touch screens, and fingerprint readers.
Processing Devices
The main processing device for a computer is the central processing
unit (CPU). The CPU is a computer chip located inside the system unit
that performs the calculations and comparisons needed for processing;
it also controls the computer’s operations. For the reasons, the CPU is often
considered the brain of the computer.
14
EEC112
[email protected]
[email protected]
Figure 3: Processing Device.
Output Devices
An output device accepts processed data from the computer and
presents the results to the user, most of the time on the computer
screen (monitor), on paper (via printer), or through a speaker.
15
EEC112
[email protected]
[email protected]
Figure 4: Output Devices.
16
EEC112
[email protected]
[email protected]
Storage Devices
Storage devices (such as CD/DVD drives and flash memory card
readers) are used to store data on or access data from storage media
(such as CD discs, DVD discs, or flash memory cards). Some storage
hardware (such as hard drive or a USB flash drive) includes both a
storage device and storage medium in a single piece of hardware.
Storage devices are used to save data, program settings, or output for
future use; they can be installed inside the computer, attached to the
computer as an external device, or accessed remotely through a
network or wireless connection.
2. Software
The term software refers to the programs or instruction used to tell the
computer hardware what to do. Software is traditionally purchased on
a CD or DVD, or is downloaded from the internet; in either case, the
software needs to be installed on a computer before it can be used.
Computers use two basic types of software: system software and
application software.
System Software
The programs that allow a computer to operate are collectively
referred to as system software. The main system software is the
operating system, which starts up the computer and controls its
operation. Common operating system tasks include setting up new
17
EEC112
[email protected]
[email protected]
hardware, allowing users to run other software, and allowing users to
manage the documents stored on their computers. Without an
operating system, a computer cannot function. Common operating
system for computer is Windows, Mac OS, and Linux.
Application Software
Consists of programs designed to allow people to perform specific task
using a computer, such as creating letters, preparing budgets,
managing inventory and customer database, playing games, watching
videos, listening to music, scheduling appointments, editing digital
photographs, designing homes, viewing \Web pages, burning DVDs,
and exchanging email.
18
EEC112
[email protected]
[email protected]
difference
The data is not permanent
The data is permanent. It can be altered but only a
Data and it can be altered any
limited number of times that too at slow speed.
number of times.
Speed It is a high-speed memory. It is much slower than the RAM.
CPU The CPU can access the The CPU cannot access the data stored on it. In order
Interaction data stored on it. to do so, the data is first copied to the RAM.
Size and Large size with higher
Small size with less capacity.
Capacity capacity.
Firmware like BIOS or UEFI. RFID tags,
Primary memory (DRAM
microcontrollers, medical devices, and at places
Usage DIMM modules), CPU
where a small and permanent memory solution is
Cache (SRAM).
required.
Cost It doesn’t come cheap. Way cheaper than RAM.
Table 2: Difference(s) between RAM and ROM.
Secondary storage
A secondary storage device refers to any non-volatile storage device that is internal or
external to the computer. It can be any storage device beyond the primary storage that
enables permanent data storage. A secondary storage device is also known as an auxiliary
storage device or external storage.
19
EEC112
[email protected]
[email protected]
• Terabyte: A terabyte (TB) consists of approximately 1,000,000,000,000 bytes.
• Files: Data and programs are stored on your disk as files. There are different types of files,
such as the files that you store your data in, the files that contain your programs and also files
used to store your operating system (such as Microsoft Windows).
20
EEC112
[email protected]
[email protected]
Program Loading to the main memory for processing - Multiprogramming -
Interrupt handling - Job Sequencing - File Management
Job Scheduling - Peripheral Control
Recovery from System Failure
Windows
Microsoft Windows has been the predominant personal operating system for many years and still
holds about 90% of the market. There have been many different versions of Windows over the
years: Windows 1.0 through Windows XP, Windows Vista, and Windows 7.
UNIX
Was originally developed in the late 1960s at AT and T Bell laboratories as an OS for midrange
servers. Computer system, ranging from microcomputers to mainframes can run UNIX, and it
can support a variety of devices from different manufactures.
LINUX
The OS resembles UNIX but was developed independently from it. An open source OS that is
available without charge over the internet and is increasingly being used with mobile devices,
personal computers, servers, mainframe and supercomputers.
Utility Programs
A utility program is a software program that performs a specific task, usually related to
managing or maintaining the computer system. Many utility programs such as programs for
finding files, diagnosing and repairing system problems, cleaning up a hard drive, viewing
images, playing multimedia files, and backing up files are built into the operating systems. There
21
EEC112
[email protected]
[email protected]
are also stand-alone utility programs available as an alternative to the operating system’s utility
programs (such as a search or a backup program) or to provide additional utility features not
usually built into operating systems (such as an antivirus or a file compression program). Some
of the most commonly used integrated and stand-alone utility programs are:
File Management Programs
Search Tools
Diagnostic and Disk Management Programs
Uninstall and Cleanup utilities
File Compression Programs
Backup and Recovery Utilities
Antivirus, Antispyware, Firewalls, and Other Security programs
22
EEC112
[email protected]
[email protected]