0% found this document useful (0 votes)
15 views89 pages

Understanding Computer Hardware Basics

Uploaded by

avvanthikaa
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views89 pages

Understanding Computer Hardware Basics

Uploaded by

avvanthikaa
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

MODULE 2

HARDWARE
2
■ Computer hardware refers to the physical components of a
computer system.
■ These are the tangible parts that you can touch and see.
■ Hardware works together with software, which consists of the
programs and operating systems that run on the hardware.
■ Common components of computer hardware includes CPU,
Motherboard, RAM, Storage Devices(HDD,SSD), Input/Output
Devices,
■ Computer hardware serves as the foundation for all computing
activities, supporting software and allowing users to perform
tasks ranging from simple calculations to complex simulations.
Each component plays a vital role in the overall performance
and capability of the computer system.

3
ELECTRONIC
COMPONENTS
■ Electronic components are the elements of the circuit which
help in its functioning the electrical circuit. They are the basic
building blocks of an electronic device.
■ Electronic components are very small. So that they are easy to
carry them from one place to another place.
■ The cost of electronic components is also low. Electronic
components consist of two or more terminals.
■ Each electronic component in a circuit performs a particular
task.

5
Types of Electronic Components
■ An electrical circuit is an interconnection of electronic
components.
■ Based on their capability to generate energy electronic
components are classified into two groups:
• Passive Components
• Active components

6
Active Components

■ Active components are electronic components that need an


external power source to work.
■ They actively control and manipulate the flow of electric
current in a circuit. These components can amplify, switch, or
generate electrical signals.
■ The different types of active components include:
– Diode, Transistor, Integrated circuit

7
Diodes

■ Diode is a two-terminal electronic component that allow current to flow in


one direction while blocking it in the opposite direction.
■ It has high resistance on one end and low resistance on the other end.
■ A diode is made of PN junction ,which combines P-type and N-type
semiconductors
■ Diode blocks electric current when it is reverse biased.(+ve terminal
connected to N-type semiconductor and –ve terminal to P-type
semiconductor)
■ Diode allows electric current when it is forward biased.
■ Diodes are used to protect circuits by limiting the voltage and to also
transform AC into DC.
■ Semiconductors like silicon and germanium are used to make the most of
the diodes.
8
■ In circuit diagrams, a diode is represented by a triangle with a
line across one vertex.

■ The two terminals in the above diagram are known as anode


and cathode. The arrowhead is the anode that represents the
direction of the conventional current flow in the forward
biased condition. The other end is the cathode.

9
Transistors

• Transistor is an electronic component that amplifies electrical


signals.
• They are commonly used in amplifiers, digital logic circuits,
and voltage regulators.
• Transistors function as both, switches and amplifiers in most
electronic circuits.
• Designers often use a transistor as a switch because unlike a
simple switch, it can turn a small current into a much larger
one.
• A Transistor can store a zero when it’s off or a one when it’s
on, which is the working principle of computers.

10
 A transistor is a miniature semiconductor that regulates or
controls current or voltage flow in addition to amplifying and
generating these electrical signals and acting as a switch/gate
for them.
 Transistors consist of three layers, or terminals, of
semiconductor material, each of which can carry a current.
 A transistor is made up of three terminals which are called the
emitter, base, and collector.
 An electrical signal is applied to the base, and the current flow
between the emitter and collector.
 The standard units of a transistor for electrical measurement
are Ampere (A), Volt (V), and Ohm (Ω), respectively.
 The word transistor is a combination of transfer and resistance.

11
How transistors work?
12
Integrated Circuit (IC)

• An integrated circuit (IC) is a small semiconductor chip on which


millions of electronic components such as resistors, capacitors
and transistors are fabricated.
• Integrated circuits are a combination of diodes, microprocessors,
and transistors in a minimized form on a wafer made of silicon.
Each of these components has a specific function.
• The integrated circuit function is mainly to offer high-level
functions and tasks like amplification, complex digital
calculations i.e. microprocessors, and signal processing.
• The sole purpose of ICs is to increase the efficiency of the
electronic devices, while reducing their size and manufacturing
cost.

13
■ a rectangle or square box, marked with pin functions and
pin numbers where the connections to other components
go.

14
Passive Components
■ Passive components are electronic components that don’t
need an external power source to operate actively.
■ They mainly resist, store, or control the flow of electric current
or voltage in a circuit without actively amplifying or
generating signals.
■ These passive components belongs to inactive functions of
components, do not have capacity to amplify the voltage or to
rectify the supply.
■ The different types of passive components include:
– Resistors, Capacitors, Inductors

15
Resistors
■ A passive electrical component with two terminals that are
used for either limiting or regulating the flow of electric
current in electrical circuits.
■ The main purpose of resistor is to reduce the current flow
and to lower the voltage in any particular portion of the
circuit.
■ It is made of copper wires which are coiled around a ceramic
rod and the outer part of the resistor is coated with an
insulating paint.
■ As current passes through the resistor, they dissipate energy
in the form of heat.

16
■ The symbol for a resistor consists of a zigzag line, representing the
resistive element, with two terminals at each end. The symbol may
also include a numerical value or color bands to indicate the
resistance value.

17
■ The resistance value, expressed in ohms, is fundamental
for circuit analysis and construction.
■ A resistor, slows down the flow of electricity and lowers
the current and also produces heat.
■ If a resistor is said to have high resistance then it means
less current flows in it for the given voltage.

18
Functions:
1. Voltage Division: Resistors play a vital role in dividing voltage among
circuits
2. Current Regulation: Regulate flow of current in a circuit thus preventing
damage to other components.
3. Used for heating: Because of the nature of generating heat when
conducting current, resistors are used in many heating appliances.
4. Uses of Resistor to function in particular timing and at a certain
frequency: They work on the principle of filling up current to a certain time
and then discharge light, in here, the resistor decides how much current has
to be passed according to the time allotted.
Eg: electronic sirens, blinking lights used in airplanes or tall towers which
acts as a collision avoidance measure.

19
Capacitors
■ A capacitor is a two-terminal electrical device that can store
energy in the form of an electric charge, and releases it to
smooth out interruptions in the supply.
■ It consists of two electrical conductors that are separated by
a distance.
■ The space between the conductors may be filled by vacuum
or with an insulating material known as a dielectric.
■ The ability of the capacitor to store charges is known as
capacitance.
■ Capasitor resists changes in voltage.

20
21
Functions
■ Storing and releasing electricity: When connected to a charging
circuit, they store energy, and when disconnected, they release
it. This allows capacitors to act as temporary batteries.
■ Passing alternating current (AC) and preventing direct current
(DC): Capacitors allow AC to flow through a circuit, but prevent DC
from flowing, which can help prevent circuit failure
■ Maintaining the voltage at the same level: Capacitors are also
used to maintain the voltage at a certain level. They are useful in
reducing the voltage pulsation.
■ In digital circuits, capacitors can store energy to maintain information
in computer memories during power outages.

22
Inductors

■ An inductor, also known as a coil, is a passive electrical


component that stores energy in a magnetic field when an
electric current passes through it.
■ It consists of two terminals and an insulated wire coil that
either loops around air or surrounds a core material that
enhances the magnetic field. Inductors help to handle
fluctuations in an electric current running through a circuit.

23
Functions
■ Reduce fluctuations: Inductors reduce fluctuations in current when
it flows, and in power supplies, they prevent abrupt changes in
voltage and current
■ Store energy: Inductors store electric energy as magnetic energy
■ Filter noise: Inductors can filter or smooth high frequency noise in
electrical circuits.
■ Create tuned circuits: Inductors can be used with capacitors to
create tuned circuits, which are used to tune radio and TV receivers
■ Inductor resists changes in current.

24
MOTHERBOARD
COMPONENTS
■ A motherboard is a circuit board inside general-purpose
computing systems, including personal computers, smart
televisions, smart monitors, and other similar devices, which
supports communication between different electrical
components and houses components such as the CPU,
memory, etc.
■ Motherboards usually contain one or more CPUs, supporting
circuitry providing the interface between the CPU memory
and input/output peripheral circuits, main memory, and
facilities for initial setup of the computer immediately after
power-on.

26
Functions of a Motherboard:
■ Connects components: The motherboard connects the
computer's components, such as the CPU, GPU, hard drive
etc., together
■ Provides power: The motherboard provides power to
each component.
■ Facilitates communication: The motherboard allows the
components to communicate with each other
■ Installation platform: The motherboard provides
expansion slots for installing other devices and interfaces.

27
Anatomy of Motherboard

28
COMPONENTS OF
MOTHERBOARD
1) CPU
■ The CPU is considered as the brain of any
computer system.
■ CPU controls the operation of all other
components such as memory, input and
output devices.
■ It performs the calculations, comparisons
and general data processing of a computer
system.
■ It also provides necessary directions to
other components attached to a computer.
■ The CPU has three major components
namely Primary memory, the Arithmetic
Logic Unit (ALU), and the control unit.
29
■ The memory unit is responsible for transferring
information to other units of the computer when needed. Its
size affects speed, power, and performance.
■ There are two types of memory in the computer, which are
primary memory and secondary memory. Some main
functions of memory units are:
– Data and instructions are stored in memory units which
are required for processing.
– It also stores the intermediate results of any calculation
or task when they are in process.
– The final results of processing are stored in the memory
units before these results are released to an output
device for giving the output to the user.

30
■ The Control Unit of CPU controls all operations like input,
processing and output.
■ It directs and co-ordinates all operations of a computer as per the
instruction given to it and takes care of step by step processing of
all operations inside the computer.
■ The control unit is responsible for interpreting computer
instructions and supervising their execution.
■ Some main functions of the control unit are listed below:
– Controlling of data and transfer of data and instructions is done
by the control unit among other parts of the computer.
– The main task of the control unit is to obtain the instructions or
data that is input from the memory unit, interpret them, and
then direct the operation of the computer according to that.
– The control unit is responsible for communication with Input
and output devices for the transfer of data or results from
memory.
31
■ ALU (Arithmetic Logic Unit) is responsible for performing
arithmetic and logical functions or operations. It consists of two
subsections, which are:
– Arithmetic Section: By arithmetic operations, we mean
operations like addition, subtraction, multiplication, and
division, and all these operations and functions are
performed by ALU. Also, all the complex operations are done
by making repetitive use of the mentioned operations by
ALU.
– Logic Section: By Logical operations, we mean operations
or functions like selecting, comparing, matching, and
merging the data, and all these are performed by ALU.

32
■ The CPU operates by fetching, decoding, executing, and
storing instructions:
– Fetch: The CPU retrieves instructions from the
computer's memory
– Decode: The CPU internally decodes the instructions
to understand what to do
– Execute: The CPU carries out the instructions, such as
adding values from registers together.
– Store: The CPU stores the results back into memory
for later retrieval

33
2) Cooling Fan
■ A cooling fan on a motherboard is essential for maintaining
optimal operating temperatures of various components,
especially the CPU and chipset.
■ They are vital for system stability, performance, and longevity,
making them an essential aspect of any PC build.
■ Fans are used to draw cooler air into the case from the
outside, expel warm air from inside and move air across a heat
sink to cool a particular component.
■ Purpose: Helps dissipate heat generated by the CPU and
other components to prevent overheating. Reducing heat
increases the lifespan and reliability of hardware components.

34
3) Chipset
■ The chipset on a motherboard is a crucial component that
manages data flow between the processor (CPU), memory(RAM),
storage devices (HDDs, SSDs), and peripheral components (USB,
SATA, PCIe devices).
■ The chipset acts as a communication highway, allowing these
components to exchange data and instructions. It's essentially the
"glue" that holds the motherboard's components together.
■ functions:
– Data Management: The chipset controls data transfer
between the CPU and other components, ensuring efficient
communication.
– Interface Control: It manages connections to various
interfaces such as USB, SATA, PCIe, and more.

35
– Memory Management: The chipset plays a crucial role in
the management of RAM, including how much RAM the
motherboard can support and the speed at which it
operates.
– Peripheral Support: It determines the compatibility with
various peripherals and expansion cards, influencing what
devices can be used with the system.
■ A chipset consists of two main components:
– Northbridge: Handles high-speed data transfer between
CPU, memory, and graphics.
– Southbridge: Manages slower data transfer between
peripherals, storage, and other components.

36
4) Northbridge and Southbridge
■ The terms Northbridge and Southbridge refer to two key components
on computer motherboards that handle data flow between the CPU
and other components.
■ The Northbridge connects the CPU to high-speed components such as
RAM (memory), graphics cards (via PCI Express), and the system's
front-side bus (FSB). It generally handles high-speed data transfers
and is critical for the performance of the computer. Typically located
near the CPU to minimize the distance data needs to travel for faster
communication.
■ The Southbridge manages slower peripherals and connects to various
I/O interfaces, including USB ports, SATA, Ethernet, audio, and the
BIOS. It handles lower-speed data transfers as compared to the
Northbridge and is focused on input/output functions. Positioned
further from the CPU, usually at the bottom of the motherboard. It
encompasses key functionalities like power management, support for
hard drives, and BIOS interaction.
37
5) RAM
■ RAM slots connect the random access memory (RAM) to the
motherboard.
■ RAM allows the computer to temporarily store files and
programs that are being accessed by the CPU.
■ Computers with more RAM capacity can hold and process larger
files and programs, thus enhancing performance. However,
RAM contents are erased when the computer is shut down.
■ By storing frequently accessed data and instructions in RAM ,
the computer can reduce the need to access slower devices,
such as HDD (Hard Disk Drive) or SSD (Solid State Drive)
resulting in faster load time and improved system performance
■ SSD are smaller and faster than HDDs, and they're also more
durable and last longer.
38
PCIe
■ PCIe (Peripheral Component Interconnect Express) is a high-speed
interface standard used to connect various hardware components to a
computer's motherboard. It is widely used in modern PCs, workstations,
and servers for connecting components like graphics cards, SSDs,
network cards, and more.
■ Features of PCIe:
1. High-Speed Data Transfer: PCIe supports very high data transfer
rates, making it ideal for bandwidth-intensive devices.
2. Point-to-Point Communication: Each device has a direct
connection to the motherboard, reducing latency and improving
performance compared to older bus-based systems.
3. Backward and Forward Compatibility: PCIe versions are
generally backward-compatible, meaning a PCIe 4.0 card can work in
a PCIe 3.0 slot but will operate at the lower version's speed.

39
■ Common Uses:
• Graphics Cards: PCIe slots are commonly used for GPUs to handle
high-bandwidth requirements.
• Storage Devices: NVMe SSDs leverage PCIe for extremely fast
read/write speeds.
• Networking: High-speed network cards, such as 10 Gbps Ethernet
adapters, often use PCIe.
• Capture Cards and Sound Cards: These also rely on PCIe for
seamless integration and performance.

40
Input/Output Ports
■ A motherboard serves as the main hub for connecting various
internal and external components of a computer system. The
input/output (I/O) ports on a motherboard can be broadly
categorized into external ports (found on the back panel of the
motherboard) and internal ports and headers (used inside the
computer case).
External I/O Ports (on the Back Panel)
1. USB Ports:
1. USB-A: Standard rectangular connectors for peripherals like keyboards,
mice, and flash drives.
2. Audio Jacks:
1. 3.5mm jacks for microphones, speakers, and headphones.

41
3. Video Output Ports:
1. HDMI: High-Definition Multimedia Interface for connecting displays.
2. DisplayPort: Common in modern systems for high-resolution
monitors.
3. DVI: Digital Visual Interface for older monitors.
4. VGA: Analog video port for legacy displays.
4. Ethernet Port:
1. RJ-45 port for wired network connections, supporting speeds like 1
Gbps or 10 Gbps on newer motherboards.
5. PS/2 Ports:
1. Round connectors for legacy keyboards and mice (green for mouse,
purple for keyboard).
6. eSATA:
1. External SATA port for connecting external hard drives (less common
now).
42
Internal Ports and Headers (Inside the Case)
1. Power Connectors:
1. 24-pin ATX connector: Main power supply to the motherboard.
2. 8-pin/4-pin CPU power connector: For powering the processor.
2. Storage Connectors:
1. SATA Ports: For connecting HDDs, SSDs, and optical drives.
2. M.2 Slots: For modern NVMe SSDs and sometimes Wi-Fi/Bluetooth cards.
3. PCIe Slots:
1. For graphics cards, sound cards, network cards, and other expansion cards.
4. RAM Slots (DIMM Slots):
1. For installing memory modules.
5. Fan Headers:
1. 3-pin or 4-pin connectors for CPU and chassis fans.
6. USB Headers:
1. USB 2.0/3.0 Headers: For connecting front-panel USB ports.
2. USB-C Header: For modern cases with USB-C ports.
7. Audio Header:
1. For connecting front-panel audio jacks (e.g., headphones or microphone).
8. CMOS Battery Slot:
1. Holds the coin cell battery that powers the BIOS/UEFI settings memory.
43
MOTHERBOARD INTERFACES
■ Motherboard interfaces refer to the connectors, slots, and ports on a
motherboard that allow various hardware components to be connected,
communicating with the central processing unit (CPU), memory, and
other system components.
■ These interfaces include slots, ports, and connectors placed on the
motherboard.
■ Through these interfaces, data transfer, power delivery, and control
signals flow efficiently between the motherboard and connected
devices, enabling the system to operate smoothly.
■ Motherboard interfaces support the expansion and customization of
computer systems, providing users with the flexibility to enhance
system capabilities as required.
■ They allow for the integration of expansion cards and peripherals,
catering to a wide range of user needs and applications.
44
■ The common motherboard interfaces are:
– CPU Socket: Connects the CPU to the motherboard.
– RAM Slots: Holds memory modules (DIMMs).
– PCIe Slots: Supports expansion cards (graphics, sound, network).
– SATA Ports: Connects storage devices (hard drives, SSDs).
– USB Ports: Connects peripherals (keyboards, mice, flash drives).
– HDMI/DisplayPort: Outputs video to monitors or displays.
– Ethernet Port: Connects to a network via LAN cable.
– Audio Jacks: Connects speakers, headphones, or microphones.
– PS/2 (Personal System/2) Ports: Legacy ports for older keyboards and
mice.
– Fan Connectors: Controls case fans and CPU coolers.
– Power Connectors: Supplies power to components (CPU, GPU, RAM).
– BIOS/UEFI Interface: Allows configuration of motherboard settings.
These interfaces enable the motherboard to support various components
and devices, making it the backbone of your computer system!

45
BIOS/UEFI Chip

■ The BIOS/UEFI chip is a critical component on the motherboard


responsible for initializing hardware during the boot process and
providing an interface between the hardware and the operating
system.
• Purpose:
• Stores the firmware code that initializes the CPU, RAM, and other
peripherals.
• Provides configuration settings for hardware (accessible via the
BIOS/UEFI menu).
• Performs the Power-On Self-Test (POST) to ensure hardware
functionality.
• Loads the bootloader or operating system from storage.

46
BIOS (Basic Input/Output System):
• Legacy Firmware: Found in older systems, it initializes hardware and provides
low-level communication between the OS and hardware.
• Limitations:
• Limited to 16-bit code.
• Can't handle drives larger than 2.2 TB due to its use of the MBR (Master Boot
Record) partitioning scheme.
• Slow boot times and lacks modern features.
UEFI (Unified Extensible Firmware Interface):
• Modern Replacement for BIOS: Introduced to overcome BIOS limitations.
• Advantages:
• Supports 64-bit operation, allowing faster boot times and better
performance.
• Handles drives larger than 2.2 TB via the GPT (GUID Partition Table)
partitioning scheme.
• Offers a graphical user interface (GUI) and mouse support.
• Includes advanced security features like Secure Boot, which prevents
unauthorized code from executing during the boot process. 47
Storage Interfaces
■ Storage interfaces are crucial components in computers, linking the motherboard to
various storage devices like hard disk drives (HDDs), solid-state drives (SSDs), and
optical drives.
■ They facilitate data transfer between these devices and the system, allowing users to
effectively store, access, and manage their data.
■ Some storage interfaces:
– SATA (Serial Advanced Technology Attachment) - Used for HDDs, SSDs, and
optical drives (6Gb/s)
– M.2 - High-speed interface for SSDs (up to 32 Gb/s)
– PCIe (Peripheral Component Interconnect Express) - High-speed interface
for SSDs and other devices
– NVMe (Non-Volatile Memory Express): A protocol for flash storage, offering
high speeds and low latency.
– IDE (Integrated Drive Electronics): An older interface for keyboard and
mouse, mostly replaced by SATA.
– U.2 – High speed interface for HDDs, used for enterprise storage devices.
– USB: Used for external storage devices, like flash drives and external hard drives.

48
SATA
■ Serial ATA (Serial Advanced Technology Attachment or SATA)
protocol that defines how data is transferred between a
computer's motherboard and mass storage devices, such as
hard disk drives (HDDs), optical drives and solid-state drives
(SSDs).
■ As its name implies, SATA is based on serial signaling
technology, where data is transferred as a sequence of
individual bits.
■ SATA is a serial version of the Integrated Drive Electronics
(IDE) specification that use parallel signaling.
■ SATA cables are thinner, more flexible and less massive than
the ribbon cables required for conventional IDE hard drives.

49
■ SATA Characteristics:
– Serial interface (replaces parallel IDE)
– High-speed data transfer (up to 6 Gb/s)
– Hot-swappable (plug-and-play) - SATA supports hot-swapping,
enabling users to connect and disconnect storage devices without
shutting down the system.
– Supports up to 4 devices per controller
■ SATA Advantages:
– Faster data transfer rates
– Hot-swappable
– Thinner, more flexible cables
– Improved reliability
■ SATA Disadvantages:
– Limited cable length
– May require adapters for older systems
– Not as fast as newer interfaces (e.g., PCIe, M.2)
50
NVMe
■ NVMe is a storage transfer protocol specifically designed for
accessing data quickly from flash memory storage devices such
as SSDs.
■ It enables flash memory to communicate directly with a
computer via a high-speed peripheral component interconnect
express (PCIe) bus, offering fast, high-throughput, and
massively parallel data transfer.
■ NVMe Benefits: Its faster data transfer speeds and reduced
latency give it significant advantages over traditional data
storage architectures, enabling businesses to reduce costs,
optimize performance, improve the user experience, enhance
data security, gain a competitive edge, and future-proof their
data storage.

51
Network Interfaces
■ The network interface acts as a link between the computer and the
network, facilitating the sending and receiving of data through different
communication channels like Ethernet, Wi-Fi, and Bluetooth.
■ Network interfaces come in various forms, including built-in adapters on
the motherboard, expansion cards in PCIe slots, and external USB
adapters, all providing connectivity options for accessing local area
networks (LANs), wide area networks (WANs), and the internet, enabling
resource sharing, communication, and online service access.
■ Network interfaces have various specifications, such as:-
– Speed (e.g., 1Gb, 10Gb)
– Duplex (full-duplex or half-duplex)
– Network protocol support (e.g., TCP/IP, IPv4, IPv6)
– Connection type (wired or wireless)

52
Ethernet
■ Ethernet, a widely used network interface, offers reliable and high-speed
wired connectivity for LANs and internet access.
■ It uses Ethernet cables to establish physical connections between the
computer and network infrastructure like routers, switches, and modems.
■ Ethernet interfaces provide scalable bandwidth options for different
network setups, making them prevalent in homes, offices, and data
centers for various applications requiring low-latency, high-throughput
connectivity.
■ Ethernet Types:
– Fast Ethernet (100 Mbps)
– Gigabit Ethernet (1000 Mbps)
– 10-Gigabit Ethernet (10,000 Mbps)
– 40-Gigabit Ethernet (40,000 Mbps)
– 100-Gigabit Ethernet (100,000 Mbps)

53
■ Ethernet Advantages:
– High-speed data transfer
– Reliable and stable connection
– Wide compatibility
– Easy installation and maintenance
– Secure
■ Ethernet Disadvantages:
– Limited cable length (100 meters)
– Requires physical connection
– Susceptible to interference

54
Peripheral ports
■ Peripheral ports facilitate connectivity for a variety of input and output devices
that enhance system functionality.
■ These ports act as interfaces for linking peripherals like keyboards, mice,
monitors, printers, scanners, external storage devices, and audio equipment to
the computer.
■ Here are some common peripheral ports:
– USB (Universal Serial Bus): Connects devices like flash drives,
keyboards, and printers
– Audio Jacks: Connects speakers, headphones, or microphones.
– Video Ports:
─ VGA (Video Graphics Array): Connects monitors or projectors.
─ HDMI (High-Definition Multimedia Interface): Connects high-definition displays or
TVs.
─ DisplayPort: Connects high-resolution displays or monitors.
─ DVI (Digital Visual Interface): Connects digital displays or monitors.
55
– PS/2 Ports: Legacy ports for older keyboards and mice.
– Serial Ports: Used for older devices like modems or serial printers.
– Parallel Ports: Used for older printers or devices.
– Ethernet Port: Connects to a network via LAN cable.
– SD/MicroSD Card Slots: Reads data from memory cards.
– Game Ports: Connects game controllers or joysticks.
■ USB ports offer versatile connectivity options for a broad range of
devices.
■ Supporting hot-plugging and plug-and-play functionality, USB ports
enable users to connect and disconnect devices without rebooting the
computer.
■ Available in various versions like USB 2.0, USB 3.0, USB 3.1, and USB 3.2,
they offer different data transfer speeds and power delivery capabilities.
■ Commonly used for connecting keyboards, mice, external hard drives,
flash drives, smartphones, cameras, and printers.
56
■Digital video interfaces like HDMI and DisplayPort are also prevalent on
computers and displays, providing high-definition video and audio
connectivity for monitors, TVs, and projectors.
■These ports support high-resolution video formats and multi-channel
audio, and thereby enable immersive multimedia experiences.
■HDMI and DisplayPort interfaces facilitate connections between
displays and computers, gaming consoles, media players, other. video
sources, allowing users to extend desktops, mirror screens, or display
media content in high definition.

57
COMPUTER
COMPONENTS
■ The essential computer components are the fundamental
parts that make up a computer system and allow it to
function.
– SMPS
– Motherboard
– Storage Devices(HDD, SSD, NVMe)

59
Switched-Mode Power Supply
(SMPS)
■ The power supply unit plays a crucial role in the system by converting
electrical power from the outlet into the required voltage and current for the
computers internal components.
■ It provides power to the essential parts such as the motherboard, CPU,
graphics card, storage devices and peripherals enabling their smooth
operation.
■ Effective power management is essential to ensure system reliability, prevent
hardware issues and enhance performance.
■ SMPS is a vital component that converts alternating current (AC) from the
outlet into the direct current (DC) power necessary for the computer’s internal
working.
■ SMPS uses switching devices that are turned on and off at high frequencies to
convert power. This enables efficient voltage conversion with minimal energy
loss.
60
■ One of the main characteristics of SMPS unit is their capability to
provide multiple output voltages simultaneously, allowing them to
power various components within the computer system.
■ Most SMPS units offer multiple DC output voltages such as +12V, +5V
and +3.3V which are utilized to supply power to the motherboard, CPU,
graphics card, storage drives, and peripherals.
■ This adaptability enable SMPS units to accommodate the power needs
of various types of computer hardware spanning from low-power
desktop systems to high- performance gaming setups and servers.
■ Advantages:
– The main advantage of using SMPS is its efficiency. It has an
average efficiency between 80 and 90 percent.
– It has a unique small size and is lightweight. This helps to design
and decorate devices more compactly.
– It generates very low heat, and hence low electric cost.

61
Motherboard
■ The motherboard functions as the central component and main
circuit board of a computer system serving as the structural base for
mounting and connecting all other hardware components.
■ The term motherboard originated from its role as the primary circuit
board that housed and interconnected various components in early
computing.
■ It facilitate communication and data exchange between the CPU,
memory modules, storage devices, expansion cards, and peripherals
through a number of sockets, slots and connectors.
■ Additionally it hosts firmware chips such as BIOS or UEFI, containing
instructions for hardware initialization, system configuration, and OS
booting.
■ As the core platform for integrating hardware and software
components, the motherboard plays a critical role in determining
62
■ Major functions of motherboard:
– Connecting Components: Acts as a communication highway, allowing
components to exchange data and instructions.
– Power Distribution: Receives power from the power supply unit (PSU) and
distributes it to components.
– Data Transfer: Manages data flow between components, ensuring efficient
communication.
– Component Support: Provides sockets, slots, and connectors for installing
and supporting components like CPU, RAM, and expansion cards.
– Firmware Management: Stores and executes the basic input/output system
(BIOS) settings, controlling system configuration and boot process.
– Input/Output Operations: Manages data transfer between peripherals (e.g.,
keyboard, mouse) and the system.
– Monitoring System Health: Tracks system temperatures, voltages, and fan
speeds, ensuring stable operation.
– Enabling System Upgrades: Allows for hardware upgrades and expansions,
extending system lifespan.
– Integrating Peripherals: Supports onboard peripherals like audio, LAN, and
USB, enhancing system functionality.
63
Storage Devices
■ Storage devices are vital components of computer systems
acting as storage solutions for data, programs, and operating
system.
■ Storage devices facilitate data management, backup, and
archival within computer systems.
■ Allow users to store and organize vast amounts of data, ranging
from documents to multimedia files and software applications.
■ They come in various types including,
– hard disc drives (HDDs),
– solid-state drives (SSDs) and
– non-volatile memory express (NVMe), each with unique benefits in
terms of capacity, speed, and reliability

64
Hard Disk Drive
■ Hard Disk Drive (HDD) is a type of non-volatile storage device that uses
magnetic disks to store data.
■ They are commonly found in the drive bay and are connected to the
motherboard via an Advanced Technology Attachment (ATA), Serial ATA,
parallel ATA or Small Computer System Interface (SCSI) cable, among
other formats.
■ How do hard disk drives work?
– One or more magnetic disks (platters) spin at high speed.
– Read/write heads float above the platters, reading and writing data.
– Data is stored in tiny magnetic fields on the platters.

65
■ Characteristics:
– Provide cost effective storage solutions due to their
capacity-to-cost ratio. This makes it a popular choice for
individuals and businesses needing substantial storage
without huge expenses.
– Their mechanical components make them prone to wear
and tear, increasing the risk of failures.
– Typically slower read/write speeds compared to SSDs.
– Widely used across various consumer electronics
including PCs and gaming consoles as well as in
enterprise storage system where scalability and cost
effectiveness are crucial considerations

66
Solid- State Drives
■ A Solid-State Drive (SSD) is a type of non-volatile storage device that stores data
on interconnected flash memory chips. Unlike traditional Hard Disk Drives
(HDDs), SSDs don't have mechanical parts, making them faster, more reliable,
and energy-efficient.
■ SSDs store data permanently inside an integrated circuit, typically using flash
memory (memory chip — called NAND flash memory).
■ SSDs improve the speed at which large amounts of data are loaded at once. The
following processes work faster with an SSD:
– Booting up your operating system
– Starting a program
– Loading a new video game level
– Opening a huge file in a resource-intensive program
– Importing and exporting video files
– Previewing video files in editing software

67
Characteristics:
– Flash memory: Stores data in flash memory chips
– No moving parts: Eliminates mechanical failure risk
– High storage capacity: Up to 16 TB or more
– Fast boot times: Quickly loads operating systems and programs
– Low noise: Silent operation
Benefits:
– Faster speeds: Read and write speeds up to 10 times faster than
HDDs
– Low latency: Quick access to data, reducing loading times
– High reliability: No mechanical parts means less risk of failure
– Low power consumption: Uses less energy than HDDs
– Durability: Resistant to shock, vibration, and temperature changes

68
Uses:
– Computers: Desktops, laptops, and tablets
– Gaming consoles
– Servers and data centers
– Embedded systems

69
70
71
Non-Volatile Memory Express
(NVMe)
■ NVMe is a new storage access and transport protocol for
flash and next-generation solid-state drives (SSDs) that
delivers the highest throughput and fastest response times.
■ The NVMe protocol accesses flash storage via a PCI Express
(PCIe) bus, which supports tens of thousands of parallel
command queues and thus is much faster than hard disks
and traditional SSDs, which are limited to a single command
queue.
■ NVMe uses the PCIe interface to connect storage devices
directly to the CPU, bypassing traditional storage protocols
like SATA . This direct connection enables faster data
transfer and reduced latency.

72
■ benefits of NVMe:
– Faster speeds: NVMe supports up to 64,000 queues,
each with 64,000 commands, allowing for faster data
transfer.
– Low latency: NVMe reduces latency by up to 50%
compared to traditional storage protocols.
– High IOPS: NVMe supports up to 1 million IOPS
(Input/Output Operations Per Second).
– Efficient: NVMe optimizes power consumption and
reduces overhead.
– Scalability: NVMe supports multiple namespaces and
devices.

73
■ NVMe applications:
– Data centers: High-performance storage for cloud
computing and virtualization.
– Enterprise storage: Fast storage for databases, analytics,
and transactional workloads.
– Gaming: Fast loading times and responsive performance.
– Artificial intelligence: High-speed storage for AI and
machine learning workloads.
■ In summary, NVMe is a high-performance protocol designed
for flash storage, offering faster speeds, low latency, and high
IOPS, making it ideal for demanding applications.

74
RAM
■ RAM (Random Access Memory) is a type of volatile memory used in
computers to store data temporarily for quick access by the CPU.
■ RAM is a form of temporary storage that gets wiped when the
computer is turned off.
■ RAM keeps data easily accessible so that the CPU can quickly find it
without having to go into long-term storage to complete immediate
processing tasks.
■ RAM is used for immediate data storage and retrieval. It can
process information significantly faster than data on a hard disk.
■ To accomplish a specific task, operating systems load data from the
hard disk into RAM to process it. When it’s finished actively working
with that data, the OS places it back into long-term storage.

75
Characteristics of RAM
■ Temporary Storage: RAM serves as temporary storage for data
and instructions that are being processed by the CPU. Unlike a
hard drive or SSD (solid-state drive), RAM is much faster but
loses its contents when the power is turned off.
■ Direct Communication with the CPU: In a typical Von
Neumann architecture, the CPU directly interacts with RAM to
read instructions and data. The CPU fetches data from RAM,
processes it, and then writes back the results to RAM if needed.
■ Improved Performance: Because accessing data from RAM is
significantly faster than accessing it from storage (like HDDs or
SSDs), having RAM allows a system to run more applications
simultaneously and handle more data-intensive tasks efficiently

76
Types of RAM
■ DRAM
■ SRAM
■ DDR SDRAM

77
DRAM
■ Dynamic Random Access Memory (DRAM) is a type of
RAM used as the main memory in computers and many other
electronic devices.
■ It is widely used due to its relatively low cost and high
density, making it ideal for providing large amounts of memory
at an affordable price.
■ Storage of Data in Capacitors: DRAM stores each bit of
data (0 or 1) in a tiny capacitor within a memory cell. A
capacitor can either be charged (representing a 1) or
discharged (representing a 0).
■ Leakage and Refreshing: Since capacitors naturally lose
their charge over time, DRAM needs to refresh each cell’s data
periodically to prevent data loss.
78
How DRAM Works?

■ Cell Structure: A DRAM cell consists of a transistor and a


capacitor.
■ Data Storage: When a bit of data (0 or 1) is written to the
cell, the capacitor is charged or discharged accordingly.
■ Refresh Cycle: To prevent data loss due to leakage, the
capacitor is periodically refreshed (recharged or re-
discharged) every 64 milliseconds.
■ Access: To read data from a cell, the transistor is
activated, allowing the stored charge to be sensed.

79
Characteristics of DRAM:

■ Volatile Memory: Like all RAM, DRAM is volatile, meaning


it loses all its data when the system is powered off.
■ Slower but Denser than SRAM: DRAM is slower than
SRAM (Static RAM) but can store more data per unit area,
making it more cost-effective for larger memory capacities
■ Requires Refreshing: The need for constant refreshing
is a key characteristic of DRAM. This distinguishes it from
SRAM, which does not require refreshing but is more
expensive and faster

80
SRAM (Static Random Access
Memory)
■ SRAM (Static Random Access Memory) is a type of RAM that retains data
as long as power is supplied, without the need for periodic refreshing,
■ Unlike DRAM, SRAM is faster, more expensive, and typically used for smaller,
high-speed caches in devices like CPUs, GPUs, and networking equipment.
■ Key Features:
– Memory Cells: SRAM stores data in transistors which can hold a bit of
data (either 0 or 1) as long as the power is on, hence the term "static,"
since it doesn’t need refreshing.
– No Refresh Needed: Unlike DRAM, which needs to refresh data
periodically, SRAM continuously holds the data as long as it receives
power. This makes it faster, but also more power-hungry when idle
compared to DRAM, although it consumes less power during active use.
– Speed: SRAM is much faster than DRAM because it does not need to
pause to refresh memory cells. This makes it ideal for applications
requiring high-speed access, such as CPU caches.

81
DRAM vs. SRAM
■ SRAM and DRAM are common types of RAM that each use
different technology to store data. Whereas SRAM uses
transistors that preserve memory as long as they receive a
steady trickle of power, DRAM uses capacitors that need
to be periodically “refreshed” every few milliseconds.
■ While SRAM technology is smaller, faster, and more energy
efficient, it’s also much more expensive. For this reason,
SRAM is typically used for cache memory, while DRAM is
usually used in a computer’s main memory.

82
Types of DRAM
1. SDRAM (Synchronous DRAM)
2. DDR (Double Data Rate) SDRAM

83
SDRAM (Synchronous DRAM)
■ Synchronous Dynamic Random Access Memory
(SDRAM) is a type of DRAM that is synchronized with the
system clock, allowing it to operate more efficiently than
previous types of DRAM.
■ SDRAM is widely used as the main memory in computers,
servers, and other devices because of its high performance
and ability to handle multiple data requests simultaneously.
■ Synchronous with System Clock: SDRAM operates in sync
with the computer’s system clock. This synchronization
ensures data transfer between SDRAM and the CPU occurs at
precise clock cycles, reducing timing errors, allowing for
faster and more coordinated data transfers compared to
earlier DRAM types, which were asynchronous.
84
■ Improved Speed and Efficiency: Synchronizing with the
system clock eliminated delays that occurred with
asynchronous DRAM. This makes it easier to predict when
data will be ready, improving overall performance.
■ Better Resource Utilization: Synchronization optimizes
memory access, reducing idle time and increasing overall
system efficiency.

85
DDR (Double Data Rate)
SDRAM
■ DDR SDRAM is a type of SDRAM that transfers data on both the
rising and falling edges of the clock signal, effectively doubling the
data transfer rate compared to traditional single data rate (SDR)
SDRAM.
■ Double Data Rate: Unlike SDR SDRAM, which transfers data once
per clock cycle (on either the rising or falling edge), DDR transfers
data twice per clock cycle, once on the rising edge and once on the
falling edge of the clock signal. This effectively doubles the
bandwidth without increasing the clock frequency.
■ Synchronous with System Clock: DDR SDRAM, like other SDRAM
types, operates in sync with the system clock, allowing for precise
timing in data transfers between the CPU and memory. This
synchronization improves efficiency compared to older
asynchronous DRAM.
86
ROM
■ ROM (Read-Only Memory) is a type of non-volatile memory that
provides storage for essential firmware, initialization routines and system
settings.
■ ROM retains data even when the power supply is turned off. This makes
it ideal for storing essential system software like the BIOS or firmware
that must be available immediately when a device is turned on,
■ The ROM is designed for read only operations meaning that the data
can be read but not easily written or modified during normal operation.
This characteristic makes ROM ideal for storing instructions and data
that should remain constant over the devices lifespan,
■ Usually programmed at the time of manufacture. Once the data is
written, it cannot be changed (in the case of traditional ROM) or it can
only be changed under specific condition (in the case of erasable ROM
types like EPROM or EEPROM).
87
Cache
■ Cache memory is a small, high-speed memory located
close to the CPU (Central Processing Unit) that stores
frequently accessed data and instructions.
■ It helps bridge the speed gap between the CPU and the
main memory (RAM), ensuring faster access to critical
information, which significantly improves overall system
performance.

88
■ Cache memory works on the principle of temporal and
spatial locality:
• Temporal Locality: Recently accessed data is likely to
be accessed again soon. Cache memory stores this data,
allowing the CPU to retrieve it faster than if it were
stored in main memory.
• Spatial Locality: Data stored near recently accessed
data (in memory) is also likely to be accessed soon.
Cache memory fetches nearby data along with the
requested data, improving efficiency.
■ When the CPU needs data, it first checks whether it is
available in the cache. If the data is found, it’s called a
cache hit. If not, it’s a cache miss, and the data is fetched
from the slower main memory.

89

You might also like