You are on page 1of 23

COMPUTER HARDWARE

• What is Computer Hardware?


- It refers to the physical components that make up a
computer system.
- There are many different kinds of hardware that can be
installed inside, and also be connected to the outside
of a computer.
- The hardware can further be divided into three areas:
✓ The Central Processing Unit (CPU) or the Processor,
✓ The main memory, and
✓ The Peripheral units or electrical gadgets.

1
The Central Processing Unit
• It is responsible for interpreting from the program counter.
and executing instructions from theb. Copy the instruction from its
computer’s hardware and location in memory into the
software. It supervises the instruction register.
execution of the instructions of thec. Increment the Program Counter
stored program in the correct so that it will contain the address
sequence. of the next instruction in memory
• It is what distinguishes a computerd. The Instruction Decoder decodes
from a calculating machine.it could the instruction from its pattern of
be considered the “brains” of the binary digits to determine what
computer. operation is to be carried out.
• It helps in fetching and decoding ofe. The Arithmetic and Logical Unit
instructions, and it requires a (A.L.U.) then executes the
number of special storage locations instruction.
of its own called Registers.
• Its operations are as follows:
a. Obtain the address to be obeyed CENTRAL PROCESSING
UNIT

2
The Arithmetic and Logical Unit (A.L.U)
• It is the part of a computer operations. (In personal
processor which contains computers floating point
logical circuitries used to operations are sometimes
perform arithmetic, logic, done by a floating point unit
and manipulation operation on a separate chip called a
in computer instruction numeric coprocessor).
words. • The operand could be in an
• In some processors, the ALU accumulator, memory word,
is divided into two units, an or general register.
arithmetic unit (AU) and a • Its input are the operand,
logic unit (LU). Some information from the status
processors contain more than register, control signals from
one AU - for example, one for the control section.
fixed-point operations and
another for floating-point 3
The A.L. U. Contd…
• In the arithmetic unit, multiplication and division are done by
a series of adding or subtracting and shifting operations.
There are several ways to represent negative numbers. In the
logic unit, one of 16 possible logic operations can be
performed - such as comparing two operands and identifying
where bits don't match
• Typically, the ALU has direct input and output access to the
processor controller, main memory (random access memory
or RAM in a personal computer), and input/output devices.
Inputs and outputs flow along an electronic path that is called
a bus.
• The input consists of an instruction word (sometimes called a
machine instruction word) that contains an operation code
(sometimes called an "op code"), one or more operands, and
sometimes a format code.
4
The A.L.U. Contd…
• The operation code tells the ALU what operation to perform and
the operands are used in the operation. (For example, two
operands might be added together or compared logically.) The
format may be combined with the op code and tells, for example,
whether this is a fixed-point or a floating-point instruction. The
output consists of a result that is placed in a storage register and
settings that indicate whether the operation was performed
successfully. (If it isn't, some sort of status will be stored in a
permanent place that is sometimes called the machine status
word).
• It produces two sets of output: one represents the results of the
operation performed on the operand, while the other is a set of
status which are sent to the status register to set and clear various
flag bits.

5
A.L.U. SCHEMATIC DIAGRAM

6
Main Memory
• It is also known as immediate circuits and needs to have
access memory or Random electrical power in order to
Access Memory (RAM),which maintain its information. When
holds both the program being power is lost, the information is
executed and the data to be lost too! It can be directly
worked upon for quick access by accessed by the CPU. The access
the computer’s processor. time to read or write any
• The terms main storage and particular byte are independent
auxiliary storage originated in of whereabouts in the memory
the days of the mainframe that byte is, and currently is
computer to distinguish the approximately 50 nanoseconds
more immediately accessible (a thousand millionth of a
data storage from storage that second).
required input/output
operations. An earlier term for
main storage was core in the
days when the main data MAIN
storage contained ferrite cores. MEMORY
• It is constructed from integrated
7
Main Memory Contd…
• The memory is divided into large number of small parts. Each part is
called cell. Each location or cell has a unique address, which varies
from zero to memory size minus one.
• For example, if computer has 64k words, then this memory unit has
64 * 1024=65536 memory location. The address of these locations
varies from 0 to 65535.
• Memory is primarily of three types:
✓ Cache Memory
✓ Primary Memory/Main Memory
✓ Secondary Memory
• The Read Once Memory (ROM) is used for holding short programs
that help to start up the system. Its content is fixed and cannot be
altered due to the fact that the writing circuit was disconnected
during the manufacturing process. It is non-volatile in nature.

8
Main Memory Contd…
• Primary Memory/ Main • Characteristic of Main Memory
Memory ✓ These are semiconductor
- Primary memory holds only memories.
those data and instructions on ✓ It is known as main memory.
which computer is currently
working. It has limited capacity ✓ Usually volatile memory.
and data gets lost when power ✓ Data is lost in case power is
is switched off. switched off.
- It is generally made up of
semiconductor device. These
memories are not as fast as
registers. The data and RANDOM
instructions required to be ACCESS
processed earlier reside in main MEMORY
memory. It is divided into two (RAM)
subcategories RAM and ROM.
9
Peripheral Units
• A computer peripheral is any external device
which provides input and output for the
computer.
• It can also be defined as electronic equipment
connected by cable to the CPU of a computer.
• It can be sub-divided into 3 devices:
1. Input devices
2. Output devices
3. Auxiliary Storage devices

10
Input Devices
• An input device is a device that can be used to
insert data into a computer or other
computational device.
• Examples of input devices include:
1. Document readers
2. Magnetic Ink Character Recognition (MICR)
3. Optical Mark Recognition (OMR)
4. Optical Character Recognition (OCR)
11
Examples of some Manual Input
Devices

12
Output Devices
• Output devices are electronic 2. Visual Display Unit (VDU)
or electromechanical 3. Computer Output in
equipment connected to a Microfilm (COM)
computer and used to 4. Graphics
transfer data out of the
computer in the form of text, 5. Magnetically encoded
images, sounds, or other 6. Voice Response (Audio
media. Response Unit)
• They help to bring out 7. Printer/Plotter
processed information from 8. Graph plotter
the processing unit to the 9. Mouse
outside world. 10. Graphic tables (sometimes
• Examples of Input/output called digitalising table)
devices include: 11. Light Pen
1. Printers
13
Examples of some input/output
devices

14
Printers
• They are output devices that prints the results
of data processing
• They can be classified into two categories
1. Impact Printers
2. Non-Impact Printers

15
Impact Printers
• They are printers that print characters by
impact onto papers by means of an ink ribbon
and print wires of hammers.
• Examples include:
- Line printers
- Daisy Wheel Printers
- Dot Matrix Printers

16
Non-Impact Printers
• They are printers that work without the
impact of something hitting the piece of paper
held within it.
• Examples include:
1. Ink-Jet Printers
2. Thermal Printers
3. Laser Printers

17
Examples of some Printers

18
Computer Graphics
• They are graphics created using computers and the
representation of image data by a computer specifically
using the specialised graphic hardware and software.
• Its development has had a very significant impact on
various types of media and have revolutionised animation,
movies, and the video game industry.
• From a business point of view, using of graphics to
represent information is often more useful and creates
higher impact than detailed printed reports.
• Images can be displayed on screens and also printed out on
devices such as graph plotters, printers/plotters, and
normal computer printers.

19
Auxiliary Storage Devices
• They are all addressable data storage devices that are not
currently in a computer’s main storage or memory. They are
also known as external storage or secondary storage devices.
• These storage devices hold data and programs for future use
and are considered non-volatile storage which retains
information even when power is not available. They trade
slower read/write rates for increased storage capacity.
• They are devices that store noncritical system data like
documents, multimedia and programs, which are used
whenever they are required. These files are invoked from the
auxiliary storage when needed and then transferred to the
primary storage so that the CPU can process them. The results
of the process can also be sent back to the auxiliary storage
for later retrieval or usage. They serve as safer means of data
storage though they are also susceptible to damage.
20
Auxiliary Storage Devices Contd…
• Its different types can be categorised as follows:
a. Hard disc
b. Soft disc, e.g. 5¼ inch floppy disk, 3½ inch floppy
disk, 8 inch floppy disk
c. Integrated disk
d. Optical disks
i. Compact Disk Read Only Memory (CD-ROM)
ii. Write Once/Read Many (WORM)
iii. Rewriteable magneto-optical disk
iv. Integrated discs
21
Examples of some Auxiliary Storage
Devices

22
ASSIGNMENT FOUR

1. What is Cache Memory? Give 2 advantages and 2 disadvantages


of cache memory.
2. Mention 3 characteristics of Main Memory.
3. Mention 3 characteristics of the A.L.U.
4. In three sentences, explain how the CPU functions
5. What is the difference between the Random Access Memory
(RAM) and the Read Once Memory (ROM)?
6. Give 2 examples of secondary storage devices
7. What is the difference between CPU and Peripheral Unit?
8. Give 3 examples with explanation of auxiliary storage devices.
9. What is the difference between the Optical Pen and the Mouse?
10. Give 3 examples each of Laser printers and Desk-Jet printers.
23

You might also like