Week 2
Week 2
Week 2
1. Classify computers: by type of data accepted, by size, by purpose, by use and by computer
generations.
2. Define computer hardware and give examples.
3. Explain what each part of hardware does.
4. Define peripheral devices and give examples
5. Define computer input devices, give examples and explain their functions.
6. Explain the processing unit of the computer :- central processing unit,
7. Differentiate between the ALU, control and the internal Memory and what they do in a
computer.
8. Differentiate between ROM, RAM and cache types of memory.
Topics
Classification of computers
Computer hardware: - input devices, central processing unit, storage devices and output
devices.
TYPES OF COMPUTERS
a) By the type of data accepted for processing and form in which output data/information
appears (i.e. Digital, Analogue & Hybrid computers).
b) Classification by purpose.
c) Classification by generation/age of technology.
d) Classification by size and capabilities.
e) Classification by use.
a) Digital Computers
They process data that is represented in the form of discrete numbers or digits such as 0 and
1. Their arithmetic operations and logical comparisons are based on digits and on other
characters that have been numerically coded.
b) Analogue Computers
They are computers that deal with variable/continuous data/quantities such as temperature,
pressure, humidity etc. The output from them is often in form of graphs or smooth curves
from which the information can be read. They perform arithmetic operations and logical
comparisons by measuring changes in physical magnitudes such as electronic voltage,
pressure changes.
c) Hybrid
These are the computers that have the combined features of digital and analogue computers.
Both the digital and the analogue features are built within the sane processor.
2. CLASSIFICATION BY PURPOSE
1. Special purpose; These are computers designed for a particular job only. They solve
problems of a restricted nature e.g. Weapon guidance systems or the ones used in digital
watches.
2. General Purpose; These are computer designed to solve a wide variety of problems.
3. CLASSIFICATION BY SIZE
a) Mainframe
These are large general-purpose computers with extensive processing, storage and input/output
capabilities. A large number of peripherals can be attached to them. Atypical application is the
airline reservation system. The airlines have a mainframe computer at their head office where
information of all the flights is stored. Small computers, installed at the booking offices, are
attached to the central data bank so that up to date information of all flights is always available.
b) Mini – Computers
These are physically smaller computers as compared to mainframes. They are used for
special purpose or small-scale general-purpose work.
c) Micro – computers
Various integrated circuits are replaced by a single integrated one. They can be categorized
by size and relative capabilities into workstations, desktops and laptops.
d) Super Computers;
They are the largest and the fastest machines.
4. CLASSIFICATION BY USE
c) Embedded Computers - These computers are within some other devices/systems but are not
accessed directly e.g. Small computers found in digital watches, video recorder, washing
machines etc.
5. CLASSIFICATION BY GENERATION
The first electronic computers were made in 1940’s. Since then a series of radical breakthroughs in
electronics have occurred. The computer generations are the stages in the evolution of electronic
circuitry, hardware, software, programming languages and other technological developments.
These include:
1) First Generation.(1940- 1956) – Vaccum Tubes
These computers used vacuum tubes as their electrical switching devices. Their CPU speeds were
very low. The input devices were paper tapes or punched cards. Electronic typewriters,
programmed to type by a paper tape or punched card reader were used for printing reports. They
had between 1K and 4K of RAM. The computers received its instructions in machine language or
electrical on/off signals. There were no programming languages.
The application software available was tabulating, now called spreadsheets. Since computers could
only perform one task a time, the computer work was done in batches thus the operating system
was called batch processing systems in 1950’s.
They utilized keyboards and video display monitors. The first light pen was used as an input device
for drawing on the face of the monitor. High-speed printer came into use.
RAM grew from 4K to 32K, making it possible for the computer to hold more data and instructions.
Use of magnetic tapes and disks was introduced to replace permanent storage on computer cards.
The IBM 1401 didn’t have an operating system; instead it used a special language called Symbolic
Programming System (SPS) to create programs. This generation marked the common use of high-
level languages. FORTRAN (1957) was used for scientific purposes and COBOL (1961) for
business purposes. There were also improvements in system software. Almost every computer had
its unique operating system, programming language and application software.
Started with the introduction of IBM 360 in about 1960s which used integrated circuits (a number
of electrical components on a single slice of silicon) termed as hybrid integrated technology where
separate transistors and diodes were inserted into circuits.
Questions
1. Describe the advantages of third generation over the 2nd generation computer.
2. What were the major problems with using vacuum tubes in computers?
3. Describe the fourth generation and the start of the fifth generation.
4. What is the primary difference between the first and second-generation computers? What
were some of the advantages of the second-generation computers over the first generation
computers?
5. What are the negative impacts of computers to society?
COMPUTER ARCHITECTURE
SECONDARY MEMORY
OR
AUXILLIARY STORAGE
CONTROL Key:
Data Flow
ARITHMETIC /
LOGIC UNIT Command
Peripheral devices
These are equipment that are used with the computer but are not integral part of it. They include
printers, keyboards, monitors, mice, disk drives.
Monitor
Systems Unit
Keyboard
Mouse
I n p u t D e vi c e s
Input refers to the process of entering programs, commands, user responses and data into main
memory. The most common input devices are:
a) Keyboard:
Users input data to a computer by pressing the keys on the keyboard. As the user enters the data
on the Keyboard it displays on the screen. It has several keys such as:-
• The function keys labeled with letters F1 - F12. Which perform different tasks depending on
the software program you are using.
• The arrow keys/cursor control keys used to move the cursor.
• The Data Keys used to enter the letters, numbers and symbols.
• Special purpose keys e.g. Backspace, Del. Shift, Alt., Ctrl, Enter ,Esc., Pause etc.
Function Keys
Numeric Keypad
16
Backspace Key
Cursor-Control
Keys
b) Mouse
This is a small lightweight device that easily fits in the palm of your hand. Software programs
designed to use mouse display a mouse pointer on the screen. The pointer may be an arrow, small
rectangle, an I-beam or even a hand with a pointed finger.
To move the pointer, you gently slide the mouse around the mouse pad. Mouse has a language of
its own.
E.g.
Point - to move a pointer to a desired spot.
Click - press and release the left hand button.
Double click - press and release button twice as quickly as possible.
Drag - press and hold the right mouse button while moving the pointer to another
Location.
Drop - release the mouse button after dragging.
c) Trackball
It is a pointing device that is used as an alternative to a mouse. You roll the ball to position the
pointer on the screen. Unlike the mouse, a trackball doesn’t move on the desk and therefore
requires less space.
d) Scanners
Scanners convert texts, characters or images into a form that can be processed by the computer.
17
17
• Reset button – used to restart the system without disconnecting the Power supply.
• Power indicator – indicates that the system has been powered.
• Power switch – Used to switch on the PC.
• Hard disk/floppy disk/CD indicators – are LEDs that come on when respective disk is being
read or written.
Memory
Memory is electronic circuitry that holds the data and program instruction. It is sometimes called
primary storage. There are four major types of memory, namely random access memory (RAM),
virtual memory, CMOS memory and read-only memory (ROM).
In RAM, the microscopic electronic parts called capacitor hold the electronic signals for the binary
codes that represent the data. RAM is volatile i.e. if the computer is turned off or the power goes
out, all the data stored in RAM instantly and permanently disappears.
RAM stores user data, operating system instructions and program instructions temporarily. Every
time you turn on your computer, it copies a set of operating system instructions from disk into
RAM. These instructions, which help control basic computer functions, remain in RAM until you
turn the computer off.
RAM also holds program instructions. When you use a word processing program, the computer
copies the instructions that turn your computer into a word processor from disk into RAM.
RAM capacity
18
18
The storage capacity of RAM is measured in megabytes (MB) or Gigabytes (GB). Most recent
micro-computers have between 128 MB – 2 GB of RAM. The amount of RAM your computer
needs depends on the software you use.
Virtual Memory
The computer sometimes uses space on the computers hard disk as an extension of RAM. A
computer’s ability to use disk storage to simulate RAM is called virtual memory.
Virtual memory allows computers without enough real memory to run large programs, manipulate
large data files and run more than one program at a time. One disadvantage of a virtual memory is
reduced performance.
When you turn on your computer, the CPU receives electrical power and is ready to begin
executing instructions. But because the computer was turned on, RAM is empty with no
instructions for CPU to process. This is when ROM finds its use.
When you turn on your computer, the CPU performs a series of steps by following instructions
stored in ROM. This series of steps is called the boot process.
• Programmable read-only memory (PROM) - acts the same as ROM when it is part of the
computer. I.e. it can only be read but its contents cannot be altered. However the data or
programs are not stored in the memory when they are manufactured. Instead it can be loaded
with special programs during installation.
• Erasable Prom (EPROM) - their data can be erased using special ultraviolet light device that
destroys the bit settings within the memory.
CMOS Memory
Metal oxide semi conductor memory. This is a type of memory which is more permanent than
RAM but less permanent than ROM which is used to store boot data such as the number of hard
disk tracks and sections. CMOS require very little power to retain its contents and as such can be
powered by battery. To change CMOS data, you usually run a CMOS configuration, or set up
program.
This is the circuitry in a computer that executes instructions to process data. CPU is the heart of the
computer system. It retrieves instructions and data from RAM, processes them and places the result
back into RAM so they can be displayed or stored.
CPU Architecture
19
19
The CPU consists of one or more integrated circuits. In microcomputer the CPU is a single
integrated circuit called a micro-processor.
The CPU has two main parts; the arithmetic logic unit (ALU) and the control unit (CU).
The ALU performs arithmetic operations such as addition, subtraction, division and multiplication.
It also performs logical operations such as comparing two numbers. It uses registers to hold the
data that is being processed. In ALU, the results of an arithmetic or logical operation is held
temporarily in the accumulator.
The CU (Control Unit) - directs and coordinates processing and places it in a special instruction
register. The CU then interprets the instruction to find out what needs to be done. According to its
interpretation, the control unit sends signals to the data bus to fetch data from RAM, and to the
ALU to perform a process.
CPU Performance
CPU performance/speed is influenced by several factors such as clock rate, word size, cache and
instruction set size.
Clock rate
A computer contains a system clock that emits pulses to establish the timing for all system
operations. The “system clock” is not the same as “real-time clock” that keeps track of the time of
day.
The system clock sets the speed for data transport and instruction execution. The clock rate set by
the system clock determines the speed at which the computer can execute an instruction. The time
to complete an instruction circle is measured in megahertz (MHz).
Word Size
This refers to the number of bits the CPU can manipulate at a time. e.g. CPU with 8 - bit word size
is referred to as an 8 -bit processor. Today’s faster computers use 32 bit or 64 - bit micro
processors.
Cache
This is a special high-speed memory that give the CPU more rapid access to data. As you begin a
task, the computer anticipates what data the CPU is likely to need and loads or caches this data into
the cache area. The CPU then takes the data from cache instead of fetching it from RAM, which
takes longer. Therefore more cache means faster processing.
20
20
Output Devices
Output is the data that has been processed into useful form/information that can be used by a person
or a machine.
Most outputs are in form of reports or graphics. The most used output devices are:-
1. Printers
Printers can be classified by how they transfer characters from the printer to the paper.
Impact Printers
Transfer images into paper by some type of printing mechanism striking paper, ribbon, and
character together.
Non-Impact Printers
Printing occurs w/o having a mechanism striking against a sheet of paper.
Speed
Another way of classifying printers is by speed:-
• Medium and high-speed printers - called line printers, can print multiple characters on a line
at the same time.
• Very high-speed printers - can print excess of 3,000 lines per minute, often called page
printers.
Types of Printers
21
21
• Moderate price
• Inexpensive to operate
• High quality color printouts/high quality output.
• Quiet
• Durable
Disadvantages
• Slow
• Cannot print multi-part forms – cannot make carbon copies
• Poor quality colour compared to laser printers
3) Laser Printers
Use the same technology as the duplicating machines.
A d va n t a ge s
• Quiet
• High quality output
• Fast
• High quality color
• Durable
Limitations
• Expensive color
• Cannot print multi-part forms
• More expensive to operate
Others
4) Daisy wheel printers
5) Thermal printers
6) Chain printers
7) Band printers
3. Plotters
Used to produce high-quality line drawing, such as building plans, charts or circuit diagrams. The
two types are (a) pen plotters - create image on a sheet of paper by moving the paper under the tip
of pen (b) electrostatic plotters.
4. Computer Output Microfilm
COM is an output technique that records output from a computer as microscopic images on roll or
sheet film.
5. Voice Output
22
22
Consist of spoken words that are conveyed to the user from the computer. The data that
produces voice output is usually created in one of two ways:-
a) A person can talk into a device that will encode the words in digital pattern. The
digital data is then stored on a disk. It can later be translated back from digital data
into voice.
b) Voice Synthesizer:- can transform words stored in main memory into speech.
Auxiliary/Secondary Storage
Stores programs and data when they are not being processed. They are non-volatile ie. data
and programs are retained when the power is turned off.
1) Hard Disk:
This is where most of the computer data is stored especially the programs and personal files. It
consists of one or more rigid metal platters coated with a metal oxide material that allows data to
be magnetically recorded on the surface of the platter.
2) Floppy Disks/Diskettes/Floppies/Disks
Consists of a circular piece of a thin Mylar plastic (actual disk) which is coated with oxide
material.
The circular piece is enclosed in a flexible square plastic jacket.
This type of storage is convenient, reliable and relatively low in cost. The storage capacity
ranges between 360 K to 2.88 MB. They come in several sizes: Most common being 3½ inch.
3) Magnetic Disk
This is used for medium and large computers. They are similar to the devices used in PC’s but
have larger capacities.
23
23