Introduction to Computer Hardware (Module i)
Introduction to Computer Hardware (Module i)
Learning Objectives
At the end of this module, the students are expected to have learnt the following
outcomes:
Definitions
Port Classification
Ports can be classified based on size, shape, speed, pin configuration and design.
Further details are presented below:
1. Size: They also have a determined size that is rather small, running for
example from the size of a penny (for the round ports) to the size of an
electric plug (for a trapezoid shaped one like COM ports)
4. Design and shape: ports have specific shapes that are the first and best
way of recognizing them. Some are round (DIN/PS2, BNC), some are
trapezoid (D-shell, Centronics) and some are rectangular (USB , Firewire)
5. Symbol: Some computer ports have a special well known symbols that
identify it, like USB, COM, FireWire or SCSI, and for other computer ports
often computer manufacturers provide a symbol that is similar and also
identifies the port, like having a symbol of a printer to identify a LPT port,
or a keyboard or mouse for a PS2 port. However there is not a unique icon
for these other ports. Normally the symbol is present right next to the place
where the port is located, usually in the back of the computer.
6. Gender, which is either come with male or female ends. This means that
one connector end is meant to match and connect to the other. The male
connector will have pins, and the female connector will have socket holes
that the pins fit into.
Port Description
A VGA (Video Graphics array) port, also called a
DB-15 port, DB15 port, HD15 port, or DE15 port,
is a 15-pin, D-shaped, female port that transmits
analog video. (analog means a continuous signal
with infinite variations as compared with digital,
which is a series of binary values—1s and 0s.) All
older monitors use VGA ports. (By the way, the
HD15 [high-definition 15-pin] name for the port
is an older name that distinguishes it from the
early 9-pin VGA ports.)
An S-Video port is a 4-pin or 7-pin round video
port sometimes used to connect to a television.
The 7-pin port is shown on the left. The 4-pin port
is missing the extra pins in the middle and is the
more common type.
Many more ports not captured here also exist. It must be very clear that ports are
either directly connected to the motherboard or are connected to the motherboard
through expansion cards or special cables as shown in figures 1.4 and 1.5 below.
Input and output devices connect to the ports to be able to communicate with the
motherboard. Connectors are used to connect between the ports and the I/O
devices. Common I/O devices are monitor for display, printer for printing hard
copies, mouse, and keyboard. Figure 1.6 shows the basic I/O devices and their
connectors.
Several computing elements exist within the casing of the system unit. Those are
called the internal components of the computer system. In this section, we shall
study some important components in the system unit. Figure 1.7 is a quick
overview of the internal components of the system unit.
The power supply unit or PSU is one of the most important component without
which the computer cannot function. The primary function of the PSU is to
The PSU is installed in the casing and must be of the sae form factor with the
motherboard and the casing. ATX form factor is common with many PCs today.
Figure 1.8 shows a sample ATX PSU.
ATA, which stands for Advanced Technology Attachment, is a thin, flat cables,
with multi-connector functions. This means that many parts of a device can be
connected by one cable, rather than many separate wires. The colors that they
come in are usually gray or tan, but they can come in white, blue and
multicolored. Every ribbon cable has a unique identifying mark on it to facilitate
connecting a device or component inside a computer. The identifying mark is that
only one side has a red stripe or dotted line imprinted on and traversing down the
cable.
The cable needs to be attached to the device according to the pin setup. Number
1 pin on the device needs to connect to the number one pin on the adapter card or
motherboard, and so on. If you connect these in the wrong way, you risk the
chance of burning out the device, components, motherboard, etc. Even if it did
not burn or damage anything, the device would not work. For example floppy
disk drive, if the cable is plugged in backwards, the floppy drive LED (Light
Emitting Diode) light will stay on, and BIOS will recognize an error when the
computer boots up. The floppy disk will not immediately become damaged;
however, it will not function. Note the floppy drive ribbon cable is twisted.
2. SATA Cable
Serial ATA is a serial link -- a single cable with a minimum of four wires creates
a point-to-point connection between devices. Transfer rates for Serial ATA begin
at 150MBps. One of the main design advantages of Serial ATA is that the thinner
serial cables facilitate more efficient airflow inside a form factor and also allow
for smaller chassis designs. In contrast, IDE cables used in parallel ATA systems
are bulkier than Serial ATA cables and can only extend to 40cm long, while Serial
ATA cables can extend up to one meter Serial ATA supports all ATA and ATAPI
devices
The Motherboard
Buses
Buses are those tiny metallic lines on the motherboard. They are known as
communication channels that are used to transport data to and fro the CPU. Each
component that is connected to the motherboard uses a bus to interface with the
CPU. Two main buses that exist on the motherboard are Front Side Bus (FSB)
and Back Side Bus (BSB).
Figure 1.
Binary data corresponds to voltage on the line. The presence of voltage to certain
level is represented as “1” while the absence of required level of voltage is
interpreted as “0”. The number of binary digit a bus has is used as the bus size.
Most data buses today are designed as 16, 32, 64, 128, 256 bits wide.
Chipsets
A chipset is a set of chips on the motherboard that works closely with the
processor to collectively control the memory, buses on the motherboard, and
some peripherals. The chipset must be compatible with the processor it serves.
The motherboard contains some chipsets that are responsible for the control of
data flow between the CPU and other devices. The chipset contains a form of
secondary CPU that regulates this function. There are two types of chipsets on a
typical motherboard, namely:
1. Northbridge
2. Southbridge
While the Northbridge is responsible for coordinating data flow between the CPU
and fast devices, such as main memory and Video interface, the Southbridge is
used to coordinate the flow of information between the CPU and slow devices.
The central processing unit (CPU), also called the processor or microprocessor,
does most of the processing of data and instructions for the entire system. The
CPU is the main computing element in the computer system, sometimes referred
to as the brain of the computer in some context.
Because the CPU generates heat, a fan and heat sink might be installed on top to
keep it cool. A heat sink consists of metal fins that draw heat away from a
component. The fan and heat sink together are called the processor cooler.
Figure 1.14: CPU Fan and Heat Sink
The basic building block of the processor is shown in figure 1.15 below.
An input/output (I/O) unit manages data and instructions entering and leaving
the processor.
Registers, which are small holding areas on the processor chip, work much like
RAM does outside the processor to hold counters, data, instructions, and
addresses that the ALU is currently processing.
Internal memory caches (L1, L2, and possibly L3 or L4) hold data and
instructions waiting to be processed by the ALU.
Buses inside the processor connect components within the processor housing.
These buses run at a much higher frequency than the motherboard buses that
connect the processor to the chipset and memory on the motherboard.
System Clock
The system clock is a pulsating electrical signal sent out by this component that
works much like a crystal in a wristwatch (one line, or circuit, on the motherboard
bus is dedicated to carrying this pulse).
Figure 1.
Devices work according to beats (or cycles), which is generated by the system
clock. Clock speed measured in hertz (cycles/second).
The storage unit is another important unit of the computer system. It is used for
storing data during and after (backup) processing. Storage units are of two types,
namely primary memory and secondary memory.
The Primary Memory is also known as the Main memory, which are of two types,
namely Random Access Memory (RAM) and Read Only Memory (ROM). RAM
is the most common type of primary memory. The RAM is temporarily memory
that holds data and instructions as the CPU processes them and that the memory
modules used on a motherboard are made of dynamic RAM or DRAM. DRAM
loses its data rapidly, and the memory controller must refresh it several thousand
times a second. RAM is stored on memory modules, which are installed in
memory slots on the motherboard.
Secondary Storage
The Secondary storage unit consist of devices that are used for large backup
storage. These include the hard drives, CD ROMs, and other devices. The most
common type of the storage devices is the Hard Drive or HDD. It a permanent
storage unit and can be used to store large amount of information/data. Hard
drive, comes in two sizes for personal computers: the 2.5" size is used for laptop
computers and the 3.5" size is used for desktops. See Figure 1.18. In addition, a
smaller 1.8" size hard drive (about the size of a credit card) is used in some low-
end laptops and other equipment such as MP3 players.
Figure 1.18: Hard Disk Sizes
Two main types of Hard Disk based on technology are the Magnetic and the Solid
State Hard Drive (SSD).
A solid-state drive (SSD), also called a solid-state device (SSD), is called solid-
state because it has no moving parts. The drives are built using nonvolatile
memory, which is similar to that used for USB flash drives. Recall that this type
of memory does not lose its data even after the power is turned off.
Because flash memory is expensive, solid-state drives are much more expensive
than magnetic hard drives, but they are faster, more reliable, last longer, and use
less power than magnetic drives.
A magnetic hard drive has one, two, or more platters, or disks, that stack
together and spin in unison inside a sealed metal housing that contains firmware
to control reading and writing data to the drive and to communicate with the
motherboard. The top and bottom of each disk have a read/writehead that moves
across the disk surface as all the disks rotate on a spindle. All the read/write heads
are controlled by an actuator, which moves the read/write heads across the disk
surfaces in unison. The disk surfaces are covered with a magnetic medium that
can hold data as magnetized spots. The spindle rotates at 5400, 7200, or 10,000
RPM (revolutions per minute). The faster the spindle, the better performing the
drive.
Before a magnetic drive leaves the factory, sector markings are written to it in a
process called low-level formatting. (This formatting is different from the high-
level formatting that Windows does after a drive is installed in a computer.) The
hard drive firmware, UEFI/BIOS on the motherboard, and the OS use a simple
sequential numbering system called logical block addressing (LBA) to address
all the sectors on the drive. SSD drives are marked into blocks, which are
communicated to the motherboard and OS, which read/write to the drive in blocks
just as with magnetic drives.
The size of each block and the total number of blocks on the drive determine the
drive capacity. Today’s drive capacities are usually measured in GB (gigabytes)
or TB (terabytes, each of which is 1024 gigabytes). Magnetic drives are generally
much larger in capacity than SSD drives.
You need to be aware of one more technology supported by both SSD and
magnetic hard drives called S.M.A.R.T. (Self-Monitoring Analysis and reporting
Technology), which is used to predict when a drive is likely to fail. System
UEFI/BIOS uses S.M.A.R.T. to monitor drive performance, temperature, and
other factors. For magnetic drives, it monitors disk spin-up time, distance
between the head and the disk, and other mechanical activities of the drive. Many
SSD drives report to the UEFI/BIOS the number of write operations, which is the
best measurement of when the drive might fail. If S.M.A.R.T. suspects a drive
failure is about to happen, it displays a warning message. S.M.A.R.T. can be
enabled and disabled in UEFI/BIOS setup.
Years ago, hard drives used the Parallel ATA (PATA) standards, also called the
IDE (Integrated Drive Electronics) standards, to connect to a motherboard. PATA
allowed for one or two IDE connectors on a motherboard, each using a 40-pin
data cable. Two drives could connect to one cable. In addition, a few personal
computer hard drives used the SCSI (pronounced “scuzzy”) interface standard.
Interface standards for drives define data speeds and transfer methods between
the drive controller, the UEFI/BIOS, the chipset on the motherboard, and the OS.
The standards also define the type of cables and connectors used by the drive and
the motherboard or expansion cards.
Assignment 2
Find out other secondary storage devices based on the following criteria:
1. Technology used for storage of information
2. Cabling/Interface standards
3. Storage capacity
Motherboard
Figure 1.21: The Intel desktop motherboard DH67GD uses the microATX form factor
The form factor is the most important factor to consider when determining the
size of the PC. Table 2 below is a summary of the various form factors.
Figure 1.22: Sizes and holes positions for the ATX, microATX, and Mini-ITX
motherboards
Components of the Motherboard
The motherboard provides all connecting interfaces for other devices, such as
CPU socket, Memory slots, IDE, slots, SATA plug, Expansion slots, and other
connecting points for all other cables.
BIOS stands for basic input/output system, which consists of low-level software
that controls the system hardware and acts as an interface between the operating
system (OS) and the hardware. Most people know the term BIOS by another
name—device drivers, or just drivers. In other words, the BIOS is drivers,
meaning all of them. It’s essentially the link between hardware and software in a
system.
The BIOS consists of software that interfaces the hardware to the OS. The BIOS
is unique compared to normal software in that some of it is preloaded into read-
only memory (or ROM), and some is loaded into RAM from disk.
The BIOS in a running PC is loaded during the system startup from three possible
sources:
■ Motherboard ROM
When the PC was introduced, the BIOS software containing all the device drivers
for the entire system was collectively burned into one or more nonvolatile read-
only memory (ROM) chips (nonvolatile means they retain their data even when
the power is turned off) and placed on the motherboard. In essence, the drivers
were self-contained, preloaded into memory, and accessible any time the PC was
powered on.
This ROM chip also contained a power-on self test (POST) program and a
bootstrap loader. The bootstrap program was designed to initiate the loading of
an OS by checking for and loading the boot sector from a floppy disk or, if one
was not present, a hard disk. After the OS was loaded, it could call on the low-
level routines (device drivers) in the BIOS to interact with the system hardware.
In the early days, all the necessary device drivers were in the BIOS stored in the
motherboard ROM. This included drivers for the keyboard, MDA/CGA video
adapters, serial/parallel ports, floppy controller, hard disk controller, joystick, and
clock.
ROM vs CMOS
Some people confuse BIOS with the CMOS RAM in a system. This confusion is
aided by the fact that the Setup program in the BIOS is used to set and store the
configuration settings in the CMOS RAM. They are, in fact, two separate
components.
The BIOS on the motherboard is stored in a fixed ROM chip. Also on the
motherboard is a chip called the RTC/NVRAM chip, which stands for real-time
clock/nonvolatile memory. This is where the settings in the BIOS Setup are
stored, and it is actually a clock chip with a few extra bytes of memory thrown
in. It is usually called the CMOS chip because it happens to be made using CMOS
(complementary metal-oxide semiconductor) technology.
The first example of this ever used in a PC was the Motorola MC146818 chip,
which had 64 bytes of storage, of which 14 bytes were dedicated to the clock
function, leaving 50 bytes to store BIOS Setup settings. Although it is called
nonvolatile, the chip is actually volatile, meaning that without power, the
time/date settings and the data in the RAM portion will in fact be erased. Many
consider this chip nonvolatile because it is designed using CMOS technology,
which results in a chip that requires little power compared to other chips. A small
battery can provide that power when the system is unplugged. This battery-
powered clock/memory chip is commonly referred to as “the” CMOS RAM chip;
although that is somewhat misleading (almost all modern chips use a form of
CMOS technology), the term has stuck. Most RTC/NVRAM chips run on as little
as 1 micro amp (millionth of an amp), so they use little battery power to run. Most
lithium coin cell batteries can provide power to one of these chips for five years
or more before they die and the information stored (including the date and time)
is lost.
When you enter the BIOS Setup, configure settings, and save them, the settings
are written to the storage area in the RTC/NVRAM chip (otherwise called the
CMOS RAM chip). Every time your system boots up, software in the BIOS reads
the parameters stored in the CMOS RAM chip to determine how to configure the
system. A relationship exists between the BIOS and CMOS RAM, but they are
two distinct parts of the system.
Motherboard ROM
All motherboards have a special chip containing software called the ROM BIOS.
This ROM chip contains the startup programs and drivers that get the system
running and act as the interface to the basic hardware in the system. When you
turn on a system, the POST in the BIOS also tests the major components in the
system. Additionally, you can run a setup program to store system configuration
data in the CMOS memory, which is powered by a battery on the motherboard.
This CMOS RAM is often called NVRAM (nonvolatile RAM) because it runs on
about 1 millionth of an amp of electrical current and can store data for years when
powered by a tiny lithium battery.
1. Jean Andrew, Joy Dark, Jill West, “A+ Guide to IT Technical Support:
Ninth Edition”, Cengage Learning, 2017.
2. Scott Mueller, “Upgrading and Repairing PCs, 20th Edition”, QUE, 800
East Street Indianapolis, 46240, 2012.