0% found this document useful (0 votes)
4 views49 pages

Encoding

Data encoding is the process of converting binary data into electrical signals for transmission through communication channels, improving synchronization and reducing errors. Various encoding techniques include unipolar, polar, NRZ, RZ, and Manchester encoding, each with its advantages and disadvantages. Additionally, modulation techniques like ASK, FSK, PSK, and QPSK are used to transmit digital data over analog channels, with baseband and broadband transmission methods differing in their signal handling and complexity.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views49 pages

Encoding

Data encoding is the process of converting binary data into electrical signals for transmission through communication channels, improving synchronization and reducing errors. Various encoding techniques include unipolar, polar, NRZ, RZ, and Manchester encoding, each with its advantages and disadvantages. Additionally, modulation techniques like ASK, FSK, PSK, and QPSK are used to transmit digital data over analog channels, with baseband and broadband transmission methods differing in their signal handling and complexity.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Encoding

Computers store data in the form of 0s and 1s. Before this data can be sent through a
communication channel, it must be converted into signals. This process is called Data Encoding.

data encoding is the process of converting binary data into electrical signals so that it can travel
through cables, optical fiber, or wireless networks. Encoding helps the sender and receiver
understand the transmitted data correctly.

• Why is Data Encoding Needed?

Data encoding is important because computers understand binary data, but communication channels
transmit signals.

Encoding helps to:

• Convert data into signals.

• Improve synchronization between sender and receiver.

• Reduce transmission errors.

• Make communication more reliable.

• Unipolar Encoding

Unipolar encoding is the simplest form of data encoding.

In this method, only one voltage level is used. Usually, binary 1 is represented by a positive voltage,
while binary 0 is represented by zero voltage.

Since only one polarity is used, this method is called unipolar encoding.

The main advantage of this technique is its simplicity. However, it suffers from synchronization
problems and produces a large DC component. Because of these limitations, it is rarely used in
modern communication systems.

• Polar Encoding

To overcome the limitations of unipolar encoding, polar encoding was introduced.

In polar encoding, two voltage levels are used:

• Positive voltage

• Negative voltage

Binary values are represented using both positive and negative voltages.

This method improves synchronization and reduces transmission errors.


Polar encoding is divided into several types.

NRZ (Non-Return to Zero)

In NRZ encoding, the signal remains constant throughout the bit interval.

One voltage level represents binary 1 and another voltage level represents binary 0.

The signal does not return to zero after every bit, which makes the method bandwidth efficient.

However, long sequences of identical bits may create synchronization problems because there are
very few signal transitions.

RZ (Return to Zero)

In Return to Zero encoding, the signal returns to zero in the middle of every bit period.

Because the signal changes frequently, synchronization becomes easier.

The disadvantage is that more bandwidth is required compared to NRZ.

Manchester Encoding

Manchester encoding combines data and clock information into a single signal.

A transition occurs in the middle of every bit period.

This transition helps the receiver maintain synchronization.

Because synchronization is excellent, Manchester encoding is widely used in local area networks
(LANs).

Its main drawback is higher bandwidth consumption.

Types of Data Encoding

Analog Data to Analog Signal

In this method, analog information is transmitted using analog signals.

Examples include:

• Amplitude Modulation (AM)

• Frequency Modulation (FM)

• Phase Modulation (PM)

Radio broadcasting and television transmission commonly use these techniques.

Analog Data to Digital Signal


In this method, analog data is converted into digital form.

This process is called Digitization.

The most common technique used is:

• Pulse Code Modulation (PCM)

This method is widely used in digital telephones and audio recording systems.

Digital Data to Analog Signal

Sometimes digital data must be transmitted through analog communication channels.

For this purpose, modulation techniques are used such as:

• ASK (Amplitude Shift Keying)

• FSK (Frequency Shift Keying)

• PSK (Phase Shift Keying)

These techniques convert digital data into analog signals.

Digital Data to Digital Signal

This is the most common type of encoding used in computer networks.

Digital data is converted directly into digital signals.

Several techniques are used for this purpose.

Non-Return to Zero (NRZ)

Introduction

Non-Return to Zero (NRZ) is one of the simplest and most widely used digital encoding techniques. In
this method, binary data is represented using two different voltage levels. One voltage level
represents binary 1 and another voltage level represents binary 0.

The name "Non-Return to Zero" comes from the fact that the signal does not return to zero voltage
between successive bits. Instead, it remains at the same voltage level throughout the bit interval.

NRZ is simple to implement and requires less bandwidth compared to many other encoding
techniques. Because of its simplicity, it became one of the earliest methods used in digital
communication systems.

Working of NRZ

In NRZ encoding, a constant voltage level is maintained during the entire bit period.
For example:

• High Voltage = Binary 1

• Low Voltage = Binary 0

If several consecutive bits have the same value, the signal remains unchanged throughout those bit
intervals.

This reduces the number of transitions and simplifies signal generation.

NRZ-L (Non-Return to Zero Level)

Introduction

NRZ-L is a variation of the basic NRZ encoding technique.

In NRZ-L, the voltage level itself represents the bit value.

A positive voltage may represent binary 1, while a negative voltage may represent binary 0.

The receiver determines the bit value by observing the voltage level rather than the signal transition.

Working of NRZ-L

Whenever a bit value changes from 0 to 1 or from 1 to 0, the signal level changes accordingly.

However, if consecutive bits have the same value, the signal remains constant.

For example:

Data: 11110000

Signal:
High High High High Low Low Low Low

The receiver simply observes the signal level to determine the transmitted bits.

Advantages of NRZ-L

NRZ-L is simple to implement and requires relatively low bandwidth.

Because fewer transitions occur, less energy is consumed during transmission.

Disadvantages of NRZ-L

Long sequences of identical bits produce no transitions.

This can cause synchronization problems and make clock recovery difficult.
NRZ-I (Non-Return to Zero Inverted)

Introduction

NRZ-I was developed to overcome some of the synchronization problems of NRZ-L.

In this technique, information is represented by signal transitions rather than voltage levels.

The receiver looks for changes in the signal to determine the transmitted data.

Working of NRZ-I

The basic rule is:

• Binary 1 → Signal transition occurs.

• Binary 0 → No signal transition occurs.

Whenever a binary 1 appears, the signal changes its level.

Whenever a binary 0 appears, the signal remains unchanged.

Because transitions occur whenever a 1 is transmitted, synchronization is improved compared to


NRZ-L.

Advantages of NRZ-I

NRZ-I provides better synchronization because transitions occur more frequently.

It is more reliable than NRZ-L when transmitting data containing many 1s.

Disadvantages of NRZ-I

Long sequences of zeros still create synchronization problems because no transitions occur.

Therefore, NRZ-I cannot completely eliminate synchronization issues.

Manchester Encoding

Introduction

Manchester Encoding is a digital encoding technique that combines data and clock information into a
single signal.

It was developed to overcome the synchronization problems present in NRZ encoding.

In Manchester encoding, every bit contains a transition in the middle of the bit period. This transition
allows the receiver to maintain synchronization without requiring a separate clock signal.
Because synchronization information is embedded within the signal itself, Manchester encoding is
highly reliable.

Working of Manchester Encoding

Each bit period is divided into two equal halves.

The direction of the transition in the middle determines the bit value.

Generally:

• High to Low transition → Binary 1

• Low to High transition → Binary 0

Because a transition occurs in every bit period, the receiver can easily identify bit boundaries.

Advantages of Manchester Encoding

The most important advantage is excellent synchronization.

Since every bit contains a transition, clock recovery becomes very easy.

Manchester encoding is also self-synchronizing and less affected by timing errors.

For this reason, it has been widely used in Ethernet LAN technologies.

Disadvantages of Manchester Encoding

The major disadvantage is high bandwidth consumption.

Because transitions occur in every bit period, the signal changes frequently and requires more
bandwidth than NRZ encoding.

The next topic in your syllabus after Data Encoding Techniques is:

Modulation Techniques

Introduction

In data communication, sometimes digital data has to be transmitted through an analog


communication channel such as telephone lines, radio communication, or wireless networks. Digital
signals cannot travel efficiently over such channels. Therefore, the digital data must first be
converted into analog signals.

The process of modifying a carrier signal according to the information signal is called Modulation.
A carrier signal is a high-frequency signal that carries information from the sender to the receiver.
During modulation, certain characteristics of the carrier signal are changed according to the data
being transmitted.

The three main characteristics that can be modified are:

• Amplitude

• Frequency

• Phase

Based on these characteristics, different modulation techniques are used.

• Amplitude Shift Keying (ASK)

Introduction

Amplitude Shift Keying (ASK) is a digital modulation technique in which the amplitude of the carrier
signal is changed according to the binary data while frequency and phase remain constant.

In simple words, the strength of the signal changes depending on whether the transmitted bit is 0 or
1.

Working of ASK

In ASK, one amplitude value represents binary 1 and another amplitude value represents binary 0.

For example:

• High Amplitude = 1

• Low Amplitude or No Signal = 0

When a binary 1 is transmitted, the carrier signal is sent with full amplitude. When a binary 0 is
transmitted, the amplitude is reduced or removed.

Advantages of ASK

ASK is simple to implement and requires less hardware complexity. It is suitable for low-speed
communication systems.

Disadvantages of ASK

The major disadvantage of ASK is that it is highly affected by noise because noise directly changes the
amplitude of the signal. Therefore, transmission errors may occur.

• Frequency Shift Keying (FSK)


Introduction

Frequency Shift Keying (FSK) is a modulation technique in which the frequency of the carrier signal is
changed according to the binary data while amplitude and phase remain constant.

This technique is more reliable than ASK because frequency is less affected by noise.

Working of FSK

In FSK, two different frequencies are used.

For example:

• High Frequency = Binary 1

• Low Frequency = Binary 0

When the bit value changes, the frequency of the carrier signal also changes.

The receiver identifies the transmitted data by detecting the frequency of the received signal.

Advantages of FSK

FSK provides better noise immunity than ASK and offers more reliable communication.

It is commonly used in radio communication and modem systems.

Disadvantages of FSK

FSK requires more bandwidth than ASK because multiple frequencies must be transmitted.

The circuitry used for FSK is also more complex.

• Phase Shift Keying (PSK)

Introduction

Phase Shift Keying (PSK) is a modulation technique in which the phase of the carrier signal is changed
according to the binary data while amplitude and frequency remain constant.

PSK is one of the most widely used modulation techniques in modern communication systems.

Working of PSK

In PSK, different phase values represent different binary values.

For example:

• Phase 0° = Binary 1

• Phase 180° = Binary 0


Whenever the bit value changes, the phase of the carrier signal changes accordingly.

The receiver detects these phase changes and reconstructs the original data.

Advantages of PSK

PSK provides better performance and greater resistance to noise compared to ASK and FSK.

It supports higher data transmission rates and is widely used in wireless communication systems.

Disadvantages of PSK

The main disadvantage of PSK is that the transmitter and receiver must maintain accurate phase
synchronization.

Its implementation is more complex than ASK and FSK.

• Quadrature Phase Shift Keying (QPSK)

Introduction

QPSK is an advanced version of PSK.

Instead of transmitting one bit at a time, QPSK transmits two bits simultaneously using four different
phase values.

This increases the data transmission rate without requiring additional bandwidth.

Working of QPSK

Four different phases are used:

• 00 → 45°

• 01 → 135°

• 10 → 225°

• 11 → 315°

Since two bits are transmitted together, communication becomes more efficient.

Advantages of QPSK

QPSK provides higher data rates and better bandwidth utilization.

It is widely used in satellite communication, mobile communication, and wireless networks.

Disadvantages of QPSK
The design and implementation of QPSK systems are more complex than basic PSK systems.

Comparison of ASK, FSK and PSK

Feature ASK FSK PSK

Parameter Changed Amplitude Frequency Phase

Noise Immunity Low Medium High

Bandwidth Requirement Low High Moderate

Complexity Simple Medium Complex

Reliability Low Better Best

Conclusion

Modulation is the process of converting digital data into analog signals for transmission through
communication channels. The most important modulation techniques are ASK, FSK, PSK, and QPSK.
ASK changes amplitude, FSK changes frequency, and PSK changes phase of the carrier signal. Among
these techniques, PSK and QPSK provide better performance and are widely used in modern
communication systems such as mobile networks, satellite communication, and wireless systems.

Exam Tip

For 10 marks, focus especially on:

ASK
FSK
PSK
Comparison of ASK, FSK, and PSK

These are the most frequently asked modulation topics in university exams.

Broadband and Baseband Transmission

Introduction

In data communication, information is transferred from one device to another through a


transmission medium. The way signals travel through the communication channel can be classified
into Baseband Transmission and Broadband Transmission.

Both methods are used to send data, but they differ in the way the communication channel is
utilized. Understanding these two transmission techniques is important because they form the basis
of modern computer networks and communication systems.
• Baseband Transmission

Introduction

Baseband transmission is a communication technique in which the entire bandwidth of the


communication channel is used by a single signal at a time.

In this method, digital signals are transmitted directly through the medium without converting them
into analog form. Since the complete channel is occupied by one signal, no other signal can use the
medium simultaneously.

Baseband transmission is commonly used in Local Area Networks (LANs) because it provides fast and
reliable communication over short distances.

Working of Baseband Transmission

When a device wants to send data, the digital signal is placed directly onto the communication
medium.

The signal occupies the complete bandwidth available in the channel. As a result, only one
transmission can occur at a particular moment.

If another device wants to transmit data, it must wait until the channel becomes free.

This approach simplifies communication because no modulation is required.

Characteristics of Baseband Transmission

Digital Signals

Only digital signals are transmitted.

Entire Bandwidth Utilization

The complete bandwidth of the channel is used by a single signal.

No Frequency Division

The channel is not divided into multiple frequency ranges.

Short Distance Communication

It is mainly suitable for communication over short distances.

Advantages of Baseband Transmission

Baseband transmission is simple and inexpensive to implement. Since digital signals are transmitted
directly, there is no need for modulation equipment.

It provides high data transmission speed over short distances and is widely used in computer
networks.
Disadvantages of Baseband Transmission

Only one signal can use the channel at a time. Therefore, multiple simultaneous transmissions are
not possible.

The transmission distance is limited because digital signals weaken as they travel through the
medium.

Applications of Baseband Transmission

Baseband transmission is commonly used in:

• Ethernet LANs

• Computer networks

• Office networks

• Industrial communication systems

• Broadband Transmission

Introduction

Broadband transmission is a communication technique in which the available bandwidth of a


communication channel is divided into multiple frequency ranges.

Each frequency range carries a separate signal. Therefore, multiple signals can be transmitted
simultaneously through the same medium.

Unlike baseband transmission, broadband communication usually uses analog signals and requires
modulation.

Broadband transmission is widely used in cable television systems, Internet services, and long-
distance communication networks.

Working of Broadband Transmission

In broadband transmission, the communication channel is divided into several frequency bands.

Each signal is assigned a specific frequency range.

Multiple signals can then travel simultaneously without interfering with one another.

For example, one frequency band may carry television signals while another frequency band carries
Internet data.

Because different frequency bands are used, several users can share the same communication
medium at the same time.
Characteristics of Broadband Transmission

Analog Communication

Broadband transmission generally uses analog signals.

Frequency Division

The communication channel is divided into multiple frequency bands.

Multiple Simultaneous Signals

Several signals can travel through the medium simultaneously.

Long Distance Communication

Broadband transmission is suitable for long-distance communication.

Advantages of Broadband Transmission

Broadband transmission allows multiple users to share the same communication channel
simultaneously.

It supports high-capacity communication and is suitable for transmitting voice, video, and data
together.

It is widely used in modern communication systems because of its flexibility and scalability.

Disadvantages of Broadband Transmission

Broadband systems are more complex and expensive than baseband systems.

Additional devices such as modulators, demodulators, and amplifiers are required.

The design and maintenance of broadband networks are also more complicated.

• Difference Between Baseband and Broadband Transmission

Baseband Transmission Broadband Transmission

Uses digital signals directly Uses analog signals after modulation

Entire bandwidth used by one signal Bandwidth divided into multiple channels

Only one signal transmitted at a time Multiple signals transmitted simultaneously

Simple and inexpensive More complex and expensive

Suitable for short distances Suitable for long distances

Used in Ethernet LANs Used in cable TV and Internet services


Frequency Division Multiplexing (FDM)

Introduction

Frequency Division Multiplexing (FDM) is a multiplexing technique in which the total available
bandwidth of a communication channel is divided into several smaller frequency bands. Each user or
signal is assigned a separate frequency range, allowing multiple signals to be transmitted
simultaneously through the same communication medium.

The basic idea of FDM is that different signals can coexist on the same communication channel if
they use different frequencies. Since each signal occupies its own frequency band, they do not
interfere with one another during transmission.

FDM is mainly used in analog communication systems where continuous signals are transmitted over
long distances.

Working of FDM

In Frequency Division Multiplexing, each input signal is first assigned a unique carrier frequency.
These signals are then combined by a multiplexer and transmitted through a single communication
channel.

During transmission, all signals travel at the same time but occupy different frequency ranges. At the
receiving end, a demultiplexer separates the signals according to their frequencies and delivers them
to the appropriate users.

To prevent overlap between adjacent channels, small unused frequency ranges known as guard
bands are placed between them.

For example, in radio broadcasting, multiple radio stations transmit simultaneously. Each station is
assigned a different frequency, allowing listeners to tune to a particular station without interference
from others.

Advantages of FDM

One important advantage of FDM is that multiple signals can be transmitted simultaneously without
waiting for one another. Each user receives a dedicated frequency band, which provides continuous
communication.

FDM is particularly suitable for analog communication systems and is widely used in radio and
television broadcasting.

Disadvantages of FDM

The major disadvantage of FDM is that it requires a large amount of bandwidth. The use of guard
bands also reduces bandwidth efficiency.

In addition, if frequencies are not properly separated, interference may occur between adjacent
channels.
Applications of FDM

FDM is widely used in:

• Radio Broadcasting

• Television Broadcasting

• Cable Television Networks

• Satellite Communication Systems

Time Division Multiplexing (TDM)

Introduction

Time Division Multiplexing (TDM) is a multiplexing technique in which multiple users share the same
communication channel by using different time slots.

Unlike FDM, where the channel is divided according to frequency, TDM divides the channel according
to time. Each user is allowed to transmit data only during its assigned time slot.

TDM is mainly used in digital communication systems.

Working of TDM

In TDM, the communication channel is divided into a sequence of time slots. Each user is assigned a
specific time slot during which it can transmit data.

The multiplexer collects data from different users and transmits them one after another in rapid
succession. Because the switching occurs very quickly, users feel as if they are communicating
simultaneously.

At the receiving end, the demultiplexer separates the data according to the assigned time slots and
delivers it to the correct destination.

For example, if four users share a communication channel, the first time slot may be assigned to User
1, the second to User 2, the third to User 3, and the fourth to User 4. After User 4, the cycle repeats
again.

Types of TDM

Synchronous TDM

In synchronous TDM, each user receives a fixed time slot whether it has data to send or not.

If a user has no data available, its time slot remains unused, resulting in some bandwidth wastage.

Statistical TDM

In statistical TDM, time slots are allocated only to users who actually have data to transmit.
This improves bandwidth utilization and increases communication efficiency.

Advantages of TDM

TDM provides efficient utilization of bandwidth and does not require separate frequency bands.

It is particularly suitable for digital communication systems and supports a large number of users
through a single communication channel.

Disadvantages of TDM

The main disadvantage of TDM is that accurate synchronization is required between sender and
receiver.

If many users share the channel, delays may occur while waiting for a time slot.

Applications of TDM

TDM is commonly used in:

• Telephone Networks

• Digital Communication Systems

• Computer Networks

• Mobile Communication Systems

Wavelength Division Multiplexing (WDM)

Introduction

Wavelength Division Multiplexing (WDM) is a multiplexing technique used in optical fiber


communication.

It is based on the same principle as Frequency Division Multiplexing, but instead of using different
frequencies, it uses different wavelengths of light.

WDM allows multiple optical signals to travel simultaneously through a single optical fiber, greatly
increasing the capacity of the communication system.

Working of WDM

In WDM, different data streams are converted into light signals of different wavelengths. These light
signals are combined using a multiplexer and transmitted through a single optical fiber.

Since each wavelength behaves like an independent communication channel, multiple signals can
travel through the fiber simultaneously without interfering with one another.
At the receiving end, a demultiplexer separates the wavelengths and delivers the original data
streams to their respective destinations.

This technique allows enormous amounts of information to be transmitted through a single fiber
optic cable.

Advantages of WDM

The most important advantage of WDM is its extremely high transmission capacity.

It makes efficient use of optical fiber and supports long-distance communication with very high data
rates.

WDM is also scalable because additional wavelengths can be added whenever more capacity is
required.

Disadvantages of WDM

WDM systems are expensive because they require sophisticated optical equipment.

Installation, operation, and maintenance are more complex compared to FDM and TDM systems.

Applications of WDM

WDM is widely used in:

• Optical Fiber Networks

• Internet Backbone Networks

• Long-Distance Communication Systems

• High-Speed Data Centers

nguided Transmission Media

Introduction

In data communication, information is transmitted from one device to another through a


communication medium. In guided media, signals travel through physical cables such as twisted pair,
coaxial cable, and optical fiber. However, laying cables everywhere is not always possible. For
communication over large distances, mobile communication, broadcasting, and satellite
communication, wireless methods are required.

Unguided Transmission Media is a communication medium in which signals travel through air,
vacuum, or space in the form of electromagnetic waves. Since no physical cable is required, it is also
known as Wireless Communication.
The major types of unguided transmission media are:

• Radio Waves

• Microwaves

• Infrared Communication

• Satellite Communication

• Radio Waves

Introduction

Radio waves are electromagnetic waves used for wireless communication. They can travel long
distances and spread in all directions from the transmitting antenna. Because radio waves can pass
through walls, buildings, and other obstacles, they are widely used in broadcasting and mobile
communication.

Radio waves are one of the oldest and most commonly used forms of wireless communication.

Working of Radio Waves

In radio communication, the transmitter converts information into radio signals and sends them
through an antenna.

These signals travel through the atmosphere and are received by another antenna at the receiving
end.

The receiver converts the radio waves back into useful information such as sound, video, or data.

Applications of Radio Waves

• AM and FM Radio Broadcasting

• Television Broadcasting

• Mobile Communication

• Wireless Networking

Advantages of Radio Waves

• Wide Coverage Area

Radio waves can travel over large distances and cover wide geographical areas. This makes them
suitable for broadcasting services.

• No Line-of-Sight Requirement
The transmitter and receiver do not need to face each other directly because radio waves can pass
through buildings and obstacles.

• Low Installation Cost

Since physical cables are not required, the cost of installation is relatively low.

• Supports Mobility

Users can move freely while communicating, making radio waves suitable for mobile communication
systems.

Disadvantages of Radio Waves

• Susceptible to Interference

Radio waves can be affected by electrical equipment, weather conditions, and other radio signals.

• Lower Security

Because signals are broadcast in all directions, unauthorized users may intercept communication.

• Limited Bandwidth

Radio waves provide lower bandwidth compared to optical fiber communication.

• Microwaves

Introduction

Microwaves are high-frequency electromagnetic waves used for communication over long distances.
Unlike radio waves, microwaves travel in straight lines and usually require a direct line-of-sight path
between the transmitter and receiver.

Because of their high frequency, microwaves can carry large amounts of information and support
high-speed communication.

Working of Microwaves

Microwave communication uses directional antennas placed on towers.

The transmitter sends microwave signals directly toward the receiving antenna.

Since microwaves travel in straight lines, obstacles such as mountains and buildings can block
communication.

To overcome this problem, communication towers are built at high locations.

Applications of Microwaves

• Cellular Networks
• Television Transmission

• Internet Communication

• Long-Distance Telephone Systems

Advantages of Microwaves

• High Data Transmission Rate

Microwaves can carry large amounts of information and support high-speed communication.

• Long-Distance Communication

Microwave links can transmit signals over long distances using communication towers.

• No Need for Physical Cables

Communication can be established without laying cables, reducing infrastructure requirements.

• Efficient Bandwidth Utilization

Microwaves support large bandwidth and high-capacity communication systems.

Disadvantages of Microwaves

• Line-of-Sight Communication Required

The transmitter and receiver must be directly visible to each other.

• Affected by Weather Conditions

Heavy rain, storms, and atmospheric conditions may weaken microwave signals.

• Expensive Installation

Communication towers and microwave equipment require significant investment.

• Infrared Communication

Introduction

Infrared communication uses infrared light waves for data transmission over short distances. Infrared
waves have frequencies higher than microwaves but lower than visible light.

Because infrared signals cannot pass through walls, they are mainly used for communication within a
limited area.

Working of Infrared Communication

The transmitter converts data into infrared light signals.

These signals travel directly to the receiver.


The receiver detects the infrared signals and converts them back into data.

For successful communication, both devices generally need to be positioned in the same direction.

Applications of Infrared Communication

• TV Remote Controls

• Wireless Keyboards

• Wireless Mouse

• Short-Range Device Communication

Advantages of Infrared Communication

• Low Cost

Infrared devices are inexpensive and easy to install.

• Better Security

Signals remain confined within a room and cannot easily be intercepted.

• No Radio Frequency Interference

Infrared communication does not interfere with radio-based communication systems.

• Simple Implementation

The technology is straightforward and suitable for short-distance communication.

Disadvantages of Infrared Communication

• Short Communication Range

Infrared signals can only travel short distances.

• Obstacle Sensitivity

Walls, furniture, and other objects can block the signal.

• Directional Communication

The sender and receiver often need proper alignment for communication.

• Satellite Communication

Introduction

Satellite communication is one of the most advanced forms of wireless communication. A


communication satellite acts as a relay station in space. It receives signals from one Earth station and
retransmits them to another Earth station.
Satellite communication enables communication over very large distances and connects different
countries and continents.

Working of Satellite Communication

The communication process consists of three main stages.

Uplink

A ground station sends signals to the satellite.

Signal Processing

The satellite receives, amplifies, and processes the incoming signals.

Downlink

The satellite transmits the processed signals back to Earth.

Because satellites are located high above the Earth, they can provide communication coverage over
large areas.

Applications of Satellite Communication

• Television Broadcasting

• GPS Navigation

• Weather Forecasting

• International Telephone Services

• Internet Connectivity

Advantages of Satellite Communication

• Global Coverage

Satellites can provide communication services across countries and continents.

• Suitable for Remote Areas

Communication can be established in locations where cable installation is difficult.

• Supports Multiple Services

Voice, video, television, and Internet services can all be transmitted through satellites.

• Long-Distance Communication

Satellite communication is ideal for international communication.

Disadvantages of Satellite Communication


• High Cost

Building, launching, and maintaining satellites is very expensive.

• Signal Delay

Signals must travel long distances between Earth and the satellite, causing transmission delays.

• Weather Effects

Rain and atmospheric conditions can affect signal quality.

• Complex Technology

Satellite systems require advanced equipment and technical expertise.

Good. We will start one by one and in exam-writing style, not short notes.

The first topic is:

Layered Architecture in Computer Networks

Introduction

Communication over a computer network is a very complex process. When one computer sends data
to another computer, many operations take place simultaneously. Data must be prepared,
addressed, transmitted through the communication medium, received correctly, checked for errors,
and delivered to the appropriate application.

If all these tasks were performed by a single program, network design would become extremely
difficult. Therefore, network communication is divided into several layers. This approach is known as
Layered Architecture.

A layered architecture divides the communication process into different layers, where each layer
performs a specific function. Each layer provides services to the layer above it and receives services
from the layer below it. This division makes network design simpler, more organized, and easier to
maintain.

• Concept of Layered Architecture

In a layered architecture, each layer is responsible for a specific part of communication.

For example:

• One layer may handle data transmission.

• Another layer may detect errors.

• Another layer may manage routing.


• Another layer may provide services to applications.

Each layer performs its task independently and passes the result to the next layer.

Because of this arrangement, changes made in one layer usually do not affect other layers.

• How Layered Architecture Works

Suppose a user sends an email.

The email does not travel directly from one computer to another. Instead, it passes through several
layers.

At the sender side, each layer adds its own information to the data and passes it to the next lower
layer.

When the data reaches the receiver, each layer removes the information added by the corresponding
layer at the sender side and processes the data.

Finally, the message reaches the intended application.

This process is known as encapsulation and decapsulation.

• Advantages of Layered Architecture

• Simplifies Network Design

Dividing communication into layers makes network design easier to understand and implement.

• Easier Troubleshooting

If a problem occurs, it can be identified within a specific layer rather than searching through the
entire network system.

• Modularity

Each layer performs a separate task independently. Therefore, modifications can be made without
affecting the entire network.

• Standardization

Layered architecture provides standard interfaces and protocols that allow different manufacturers'
devices to communicate with each other.

• Flexibility

New technologies can be introduced in one layer without changing all other layers.

• Disadvantages of Layered Architecture

• Increased Complexity

The use of multiple layers sometimes makes the communication process more complex.
• Processing Overhead

Each layer adds its own control information, increasing processing time and overhead.

• Duplication of Functions

Some functions such as error control may be performed by multiple layers, resulting in inefficiency.

• Importance of Layered Architecture

Layered architecture forms the foundation of modern computer networks.

It allows communication systems to be designed in an organized manner and provides


interoperability among devices developed by different vendors.

The OSI Model and TCP/IP Model, which are the most important network reference models, are both
based on the concept of layered architecture.

Conclusion

Layered architecture is a method of organizing network communication into multiple layers, where
each layer performs a specific function and provides services to the next layer. This approach
simplifies network design, improves maintainability, and promotes standardization. Because of these
advantages, layered architecture has become the basis of modern networking systems.

Exam Tip

For 5 marks:

• Definition

• Working

• Advantages

For 10 marks:

• Introduction

• Concept

• Working

• Advantages

• Disadvantages

• Conclusion

Next Topic:

Protocol Hierarchy (very important because it comes before OSI Model and TCP/IP Model).
Good. We will start one by one and in exam-writing style, not short notes.

The first topic is:

Layered Architecture in Computer Networks

Introduction

Communication over a computer network is a very complex process. When one computer sends data
to another computer, many operations take place simultaneously. Data must be prepared,
addressed, transmitted through the communication medium, received correctly, checked for errors,
and delivered to the appropriate application.

If all these tasks were performed by a single program, network design would become extremely
difficult. Therefore, network communication is divided into several layers. This approach is known as
Layered Architecture.

A layered architecture divides the communication process into different layers, where each layer
performs a specific function. Each layer provides services to the layer above it and receives services
from the layer below it. This division makes network design simpler, more organized, and easier to
maintain.

• Concept of Layered Architecture

In a layered architecture, each layer is responsible for a specific part of communication.

For example:

• One layer may handle data transmission.

• Another layer may detect errors.

• Another layer may manage routing.

• Another layer may provide services to applications.

Each layer performs its task independently and passes the result to the next layer.

Because of this arrangement, changes made in one layer usually do not affect other layers.

• How Layered Architecture Works

Suppose a user sends an email.

The email does not travel directly from one computer to another. Instead, it passes through several
layers.

At the sender side, each layer adds its own information to the data and passes it to the next lower
layer.

When the data reaches the receiver, each layer removes the information added by the corresponding
layer at the sender side and processes the data.
Finally, the message reaches the intended application.

This process is known as encapsulation and decapsulation.

• Advantages of Layered Architecture

• Simplifies Network Design

Dividing communication into layers makes network design easier to understand and implement.

• Easier Troubleshooting

If a problem occurs, it can be identified within a specific layer rather than searching through the
entire network system.

• Modularity

Each layer performs a separate task independently. Therefore, modifications can be made without
affecting the entire network.

• Standardization

Layered architecture provides standard interfaces and protocols that allow different manufacturers'
devices to communicate with each other.

• Flexibility

New technologies can be introduced in one layer without changing all other layers.

• Disadvantages of Layered Architecture

• Increased Complexity

The use of multiple layers sometimes makes the communication process more complex.

• Processing Overhead

Each layer adds its own control information, increasing processing time and overhead.

• Duplication of Functions

Some functions such as error control may be performed by multiple layers, resulting in inefficiency.

• Importance of Layered Architecture

Layered architecture forms the foundation of modern computer networks.

It allows communication systems to be designed in an organized manner and provides


interoperability among devices developed by different vendors.

The OSI Model and TCP/IP Model, which are the most important network reference models, are both
based on the concept of layered architecture.
Conclusion

Layered architecture is a method of organizing network communication into multiple layers, where
each layer performs a specific function and provides services to the next layer. This approach
simplifies network design, improves maintainability, and promotes standardization. Because of these
advantages, layered architecture has become the basis of modern networking systems.

Exam Tip

For 5 marks:

• Definition

• Working

• Advantages

For 10 marks:

• Introduction

• Concept

• Working

• Advantages

• Disadvantages

• Conclusion

Next Topic:

Protocol Hierarchy (very important because it comes before OSI Model and TCP/IP Model).

TCP/IP Reference Model

Introduction

The TCP/IP Reference Model is the most widely used networking model in the world. It was
developed by the U.S. Department of Defense (DoD) for communication in ARPANET, which later
became the Internet.

TCP/IP stands for Transmission Control Protocol / Internet Protocol. This model provides a set of
communication rules that allow computers connected to different networks to communicate with
each other.

Unlike the OSI model, which is mainly a theoretical model, the TCP/IP model is a practical model and
forms the basis of the modern Internet.

The main objective of the TCP/IP model is to provide reliable communication between
interconnected networks.
• Layers of TCP/IP Model

The TCP/IP model consists of four layers:

4. Application Layer

3. Transport Layer

2. Internet Layer

1. Network Access Layer

Some books also show a five-layer version by separating the Physical and Data Link layers. However,
the standard TCP/IP model contains four layers.

1. Network Access Layer

Introduction

The Network Access Layer is the lowest layer of the TCP/IP model. It is responsible for transmitting
data through the physical network.

This layer combines the functions of the Physical Layer and Data Link Layer of the OSI model.

It deals with hardware addressing, framing, and actual transmission of data over communication
media.

Functions of Network Access Layer

• Physical Transmission of Data

This layer transmits bits through cables, optical fibers, or wireless media.

• Framing

It converts data into frames before transmission.

• Hardware Addressing

It uses MAC addresses for local communication.

• Error Detection

It detects transmission errors occurring during communication.

Examples

• Ethernet

• Wi-Fi

• Token Ring
2. Internet Layer

Introduction

The Internet Layer is responsible for delivering packets from the source network to the destination
network.

It performs routing and logical addressing functions.

This layer is equivalent to the Network Layer of the OSI model.

Functions of Internet Layer

• Logical Addressing

Each device is identified using an IP address.

• Routing

It determines the best path for packet transmission.

• Packet Delivery

It ensures that packets reach the correct destination network.

• Fragmentation

Large packets may be divided into smaller packets for transmission.

Protocols Used

• IP (Internet Protocol)

Provides logical addressing and routing.

• ICMP (Internet Control Message Protocol)

Reports errors and network problems.

• ARP (Address Resolution Protocol)

Maps IP addresses to MAC addresses.

• RARP (Reverse Address Resolution Protocol)

Converts MAC addresses into IP addresses.

3. Transport Layer

Introduction

The Transport Layer provides end-to-end communication between source and destination systems.
Its primary responsibility is to ensure reliable and efficient delivery of data.

This layer corresponds to the Transport Layer of the OSI model.

Functions of Transport Layer

• Segmentation

Large messages are divided into smaller segments.

• Flow Control

Controls the rate of data transmission.

• Error Control

Detects and corrects transmission errors.

• End-to-End Communication

Provides communication between applications running on different computers.

• Reliability

Ensures data arrives correctly and in the proper sequence.

Protocols Used

• TCP (Transmission Control Protocol)

TCP is connection-oriented and provides reliable communication.

It ensures that data is delivered correctly and in order.

• UDP (User Datagram Protocol)

UDP is connectionless and faster than TCP.

It does not guarantee delivery but provides faster communication.

4. Application Layer

Introduction

The Application Layer is the highest layer of the TCP/IP model.

It provides services directly to users and applications.

This layer combines the functions of the Application, Presentation, and Session layers of the OSI
model.

Functions of Application Layer


• File Transfer

Allows files to be exchanged between systems.

• Email Communication

Supports electronic mail services.

• Remote Login

Allows users to access remote systems.

• Web Services

Provides access to websites and Internet resources.

• Name Resolution

Converts domain names into IP addresses.

Protocols Used

• HTTP

Used for web communication.

• HTTPS

Provides secure web communication.

• FTP

Used for file transfer.

• SMTP

Used for sending emails.

• DNS

Converts domain names into IP addresses.

• Telnet

Used for remote login.

Working of TCP/IP Model

Suppose a user opens a website.

Step 1

The Application Layer creates the request using HTTP.

Step 2

The Transport Layer divides the data into segments and adds TCP information.
Step 3

The Internet Layer adds the source and destination IP addresses.

Step 4

The Network Access Layer converts the data into frames and transmits it through the network.

At the receiving side, the same layers process the data in reverse order until it reaches the
destination application.

Advantages of TCP/IP Model

• Open Standard

TCP/IP is an open standard used worldwide.

• Scalable

It supports networks of all sizes, from small LANs to the global Internet.

• Reliable Communication

TCP provides reliable data delivery.

• Interoperability

Different systems and devices can communicate using TCP/IP protocols.

• Practical Implementation

It is the foundation of the Internet and is widely used in real-world networks.

Disadvantages of TCP/IP Model

• Complex Configuration

Managing TCP/IP networks can be complex.

• No Clear Separation of Layers

Some layer functions overlap with each other.

• Less Detailed than OSI

The TCP/IP model does not clearly define services and interfaces as OSI does.

Conclusion

The TCP/IP Reference Model is the practical networking model used on the Internet. It consists of
four layers: Network Access, Internet, Transport, and Application. Each layer performs specific
communication functions and works together to ensure reliable data transmission. Because of its
flexibility, scalability, and practical implementation, TCP/IP has become the standard networking
model used throughout the world.
OSI vs TCP/IP (Very Important for Exam)

OSI Model TCP/IP Model

Developed by ISO Developed by DoD

7 Layers 4 Layers

Theoretical Model Practical Model

Strict Layer Separation Flexible Layer Structure

Used for Learning and Design Used on Internet

Protocol Independent Based on TCP/IP Protocols

Exam Tip

From TCP/IP, the most frequently asked questions are:

1. Explain TCP/IP Reference Model with layers.

2. Compare OSI Model and TCP/IP Model.

3. Functions of TCP/IP Layers.

4. Explain TCP and UDP.

These questions are very common in university exams.

Protocol Hierarchy

Introduction

Communication between computers in a network is a complicated process. Different tasks such as


data formatting, error checking, routing, addressing, and transmission must be performed before
data reaches its destination.

To make communication manageable, these tasks are divided among different layers. Each layer
follows a set of rules known as Protocols. The arrangement of these protocols into different layers is
called a Protocol Hierarchy.

A protocol hierarchy provides a structured way for computers to communicate efficiently and
reliably.

• What is a Protocol?

A protocol is a set of rules and procedures that govern communication between devices in a
network.
Just as people follow a common language while communicating, computers follow protocols to
exchange information correctly.

Protocols define:

• How data is transmitted.

• How data is received.

• How errors are detected and corrected.

• How communication is established and terminated.

Without protocols, communication between different devices would not be possible.

• What is Protocol Hierarchy?

A protocol hierarchy is the organization of communication protocols into multiple layers.

Each layer performs a specific task and uses its own protocol. The layers work together to provide
complete communication services.

Instead of handling all communication functions at once, the network divides responsibilities among
layers.

This makes network design easier and more efficient.

• Working of Protocol Hierarchy

When a user sends data from one computer to another, the data passes through several layers.

Each layer performs a specific operation and adds its own control information before passing the
data to the next lower layer.

At the receiving side, the same layers work in reverse order. Each layer removes the information
added by the corresponding layer at the sender side.

This process continues until the original message reaches the destination application.

For example:

1. The Application Layer creates the message.

2. The Transport Layer adds transport information.

3. The Network Layer adds addressing information.

4. The Data Link Layer prepares frames.

5. The Physical Layer transmits bits through the communication medium.

At the receiver, these steps are reversed.

• Peer-to-Peer Communication
Each layer on the sender communicates logically with the corresponding layer on the receiver.

For example:

• Application Layer communicates with Application Layer.

• Transport Layer communicates with Transport Layer.

• Network Layer communicates with Network Layer.

This logical communication is called Peer-to-Peer Communication.

Although the actual data travels through lower layers, each layer behaves as if it is directly
communicating with its counterpart on the remote machine.

• Advantages of Protocol Hierarchy

• Simplifies Communication

Breaking communication into layers makes the networking process easier to understand and
manage.

• Modularity

Each layer performs a specific function independently. Changes in one layer do not significantly affect
other layers.

• Easier Maintenance

Problems can be identified and corrected within a particular layer.

• Standardization

Protocol hierarchy allows devices from different manufacturers to communicate using common
standards.

• Flexibility

New protocols can be introduced without redesigning the entire network system.

• Disadvantages of Protocol Hierarchy

• Increased Overhead

Each layer adds control information to the data, increasing transmission overhead.

• Complexity

Managing multiple layers and protocols can increase system complexity.

• Performance Reduction

Additional processing at each layer may slightly reduce communication speed.


• Importance of Protocol Hierarchy

Protocol hierarchy is the foundation of modern networking systems.

It enables reliable communication, standardization, and interoperability among different network


devices.

The most popular network models such as the OSI Reference Model and TCP/IP Reference Model
are based on the concept of protocol hierarchy.

Conclusion

A protocol hierarchy is a layered arrangement of communication protocols used in computer


networks. Each layer performs a specific function and communicates with its corresponding layer on
another system. This approach simplifies network design, improves flexibility, and ensures efficient
communication. Therefore, protocol hierarchy plays a vital role in modern networking and serves as
the basis for network reference models such as OSI and TCP/IP.

Exam Tip

A 10-mark answer should include:

• Introduction

• Definition of Protocol

• Definition of Protocol Hierarchy

• Working

• Peer-to-Peer Communication

• Advantages

• Disadvantages

• Conclusion

Next Topic:

Interface and Services (very important and often asked before OSI Model).

Interface and Services

Introduction

In a layered network architecture, each layer performs a specific task and provides certain facilities to
the layer above it. For communication to work properly, layers must interact with each other in a
well-defined manner.

Two important concepts used in layered architectures are Services and Interfaces.
A service defines what a layer does, while an interface defines how the layer above accesses those
services.

Understanding services and interfaces is important because the OSI and TCP/IP models are built on
these concepts.

• Service

Definition

A service is a set of functions or facilities provided by one layer to the layer above it.

In simple words, a service is the work performed by a lower layer for the benefit of the upper layer.

Each layer uses the services of the layer below it and provides services to the layer above it.

Understanding Services

Suppose you send an email.

The Application Layer wants the message to reach the destination. It does not need to know how the
message travels through routers, cables, or wireless networks.

The lower layers handle all these tasks and provide communication services to the Application Layer.

Thus, the Application Layer uses the service without knowing its internal implementation.

Characteristics of Services

• Service Hides Internal Details

The upper layer only knows what service is provided.

It does not need to know how the service is implemented.

• Service Provides Communication Functions

Services help transfer data, establish connections, detect errors, and perform many other networking
functions.

• Service Promotes Modularity

Since each layer provides services independently, changes can be made without affecting other
layers.

• Types of Services

Network services are generally classified into two types.

1. Connection-Oriented Service
Introduction

In a connection-oriented service, a connection is established before data transmission begins.

The sender and receiver first create a communication path and then exchange data.

After communication is completed, the connection is terminated.

This method is similar to making a telephone call.

Before speaking, a connection is established between the two persons.

Working

The communication process consists of three stages:

Connection Establishment

A connection is created between sender and receiver.

Data Transfer

Information is exchanged through the established connection.

Connection Termination

The connection is closed after communication is completed.

Advantages

• Reliable Communication

Data is delivered accurately and in sequence.

• Error Control

Errors can be detected and corrected during transmission.

• Flow Control

The transmission rate can be controlled to avoid congestion.

Disadvantages

• Additional Overhead

Time is required to establish and terminate connections.

• More Complex

Connection management increases system complexity.

Example
TCP (Transmission Control Protocol)

2. Connectionless Service

Introduction

In a connectionless service, no connection is established before sending data.

Each message is transmitted independently.

The sender simply sends the data and the network attempts to deliver it.

This method is similar to sending a letter through the postal system.

No prior connection is required.

Working

The sender transmits packets directly into the network.

Each packet may follow a different route to reach the destination.

The receiver receives packets independently.

Advantages

• Faster Communication

No connection setup is required.

• Less Overhead

Communication begins immediately.

• Simple Implementation

The network does not need to maintain connection information.

Disadvantages

• Less Reliable

Packets may be lost or arrive out of order.

• No Guaranteed Delivery

The network does not ensure successful delivery.

Example

UDP (User Datagram Protocol)


• Interface

Definition

An interface is the boundary between two adjacent layers through which services are provided and
accessed.

In simple words, an interface defines how one layer communicates with the layer immediately above
or below it.

Need for Interfaces

Without interfaces, layers would not know how to request services from one another.

Interfaces provide a standard method through which layers interact.

This standardization makes network systems easier to design and maintain.

Functions of an Interface

• Service Access

Allows an upper layer to access services provided by a lower layer.

• Communication Between Layers

Provides a communication mechanism between adjacent layers.

• Standardization

Ensures that layers interact using predefined rules.

• Independence

Allows layers to be modified without affecting other layers.

Difference Between Service and Interface

Service Interface

Defines what a layer provides Defines how the service is accessed

Concerned with functionality Concerned with communication between layers

Used by upper layers Connects adjacent layers

Example: Reliable data transfer Example: Method used to request data transfer

Importance of Services and Interfaces


Services and interfaces are fundamental concepts in layered architectures.

They make network design modular and organized. Services define the responsibilities of each layer,
while interfaces provide a standardized method for accessing those services.

Because of these concepts, complex communication systems such as the OSI and TCP/IP models can
function efficiently.

Conclusion

A service is a facility provided by one layer to another layer, whereas an interface is the boundary
through which these services are accessed. Services may be connection-oriented or connectionless
depending on communication requirements. Together, services and interfaces form the foundation
of layered network architectures and enable efficient communication between network layers.

Exam Tip

For university exams, the most frequently asked questions are:

1. Explain Services and Types of Services.

2. Differentiate between Connection-Oriented and Connectionless Services.

3. What is an Interface? Explain its functions.

Next Topic:

ISO-OSI Reference Model (7 Layers) — one of the most important 10–15 mark topics in Computer
Networks.

ISO-OSI Reference Model

Introduction

As computer networks started growing, different manufacturers developed their own networking
systems. These systems were often incompatible with each other, making communication difficult. To
solve this problem, the International Organization for Standardization (ISO) developed a standard
networking model known as the OSI (Open Systems Interconnection) Reference Model in 1984.

The OSI model provides a framework for understanding how data travels from one computer to
another over a network. It divides the communication process into seven layers, where each layer
performs a specific function and provides services to the layer above it.

The main objective of the OSI model is to standardize network communication and ensure
interoperability between different systems.

• Why OSI Model was Developed?


Before the OSI model, different manufacturers used different networking protocols and
architectures.

As a result:

• Networks from different vendors could not communicate properly.

• Troubleshooting was difficult.

• Network design lacked standardization.

The OSI model solved these problems by providing a common standard for communication.

• Layers of OSI Model

The OSI model consists of seven layers:

7. Application Layer

6. Presentation Layer

5. Session Layer

4. Transport Layer

3. Network Layer

2. Data Link Layer

1. Physical Layer

Data moves from the Application Layer down to the Physical Layer at the sender side and then moves
upward from the Physical Layer to the Application Layer at the receiver side.

1. Physical Layer

Introduction

The Physical Layer is the lowest layer of the OSI model. It is responsible for the actual transmission of
bits through the communication medium.

This layer deals with the physical connection between devices and defines how bits are transmitted
over cables, optical fibers, or wireless channels.

Functions of Physical Layer

• Transmission of Bits

The Physical Layer transmits raw binary bits (0s and 1s) from one device to another.

• Physical Connection

It establishes and maintains the physical connection between network devices.


• Signal Encoding

It converts data into electrical, optical, or radio signals.

• Data Rate Control

It specifies the speed of data transmission.

• Transmission Media

It defines the characteristics of cables and communication media.

Devices Associated

• Hubs

• Repeaters

• Cables

• Connectors

2. Data Link Layer

Introduction

The Data Link Layer is responsible for reliable node-to-node communication. It receives raw data
from the Physical Layer and converts it into frames.

Its primary purpose is to ensure error-free transmission between directly connected devices.

Functions of Data Link Layer

• Framing

It divides data into manageable units called frames.

• Error Detection

It detects transmission errors using error-checking techniques.

• Flow Control

It controls the rate of data transmission.

• Access Control

It determines which device can use the communication channel at a particular time.

• Physical Addressing

It uses MAC addresses for communication within a local network.


Devices Associated

• Switches

• Bridges

3. Network Layer

Introduction

The Network Layer is responsible for delivering packets from the source network to the destination
network.

It determines the best path for data transmission and handles logical addressing.

Functions of Network Layer

• Routing

It determines the most efficient route for data transmission.

• Logical Addressing

It uses IP addresses to identify devices.

• Packet Forwarding

It forwards packets from one network to another.

• Congestion Control

It manages network traffic and reduces congestion.

Devices Associated

• Routers

4. Transport Layer

Introduction

The Transport Layer ensures reliable communication between source and destination systems.

It is responsible for end-to-end delivery of data and guarantees that data arrives correctly.

Functions of Transport Layer

• Segmentation

It divides large messages into smaller segments.


• Error Recovery

It detects and corrects transmission errors.

• Flow Control

It regulates the amount of data sent.

• End-to-End Communication

It provides communication between applications running on different computers.

• Reliability

It ensures data reaches the destination correctly and in sequence.

Protocols Used

• TCP

• UDP

5. Session Layer

Introduction

The Session Layer establishes, manages, and terminates communication sessions between
applications.

A session is a logical connection between two communicating devices.

Functions of Session Layer

• Session Establishment

Creates communication sessions.

• Session Maintenance

Keeps communication active.

• Session Termination

Closes sessions after communication ends.

• Synchronization

Adds checkpoints during communication.

Example

Video conferencing and online meetings.


6. Presentation Layer

Introduction

The Presentation Layer acts as a translator between the application layer and the network.

Different systems may use different data formats. The Presentation Layer converts data into a
common format.

Functions of Presentation Layer

• Data Translation

Converts data between different formats.

• Encryption

Protects data by converting it into a secure form.

• Decryption

Restores encrypted data.

• Data Compression

Reduces data size to improve transmission efficiency.

Example

SSL, JPEG, MPEG

7. Application Layer

Introduction

The Application Layer is the topmost layer of the OSI model. It provides services directly to the user
and enables applications to access network resources.

This layer acts as the interface between users and the network.

Functions of Application Layer

• File Transfer

Allows files to be exchanged between systems.

• Email Services

Supports electronic mail communication.

• Web Access
Enables access to websites and web services.

• Remote Login

Allows users to access remote systems.

Protocols Used

• HTTP

• FTP

• SMTP

• DNS

Data Flow in OSI Model

When data is sent:

1. Application Layer creates data.

2. Presentation Layer translates data.

3. Session Layer manages communication.

4. Transport Layer divides data into segments.

5. Network Layer adds IP addresses.

6. Data Link Layer creates frames.

7. Physical Layer transmits bits.

At the receiver side, the process occurs in reverse order.

Advantages of OSI Model

• Standardization

Provides a common networking standard.

• Modular Design

Each layer performs a specific task.

• Easier Troubleshooting

Problems can be identified layer by layer.

• Interoperability

Allows devices from different vendors to communicate.

• Flexibility
Changes in one layer do not affect other layers.

Disadvantages of OSI Model

• Complex Structure

Seven layers make the model complex.

• Higher Overhead

Each layer adds additional processing.

• Limited Practical Use

Modern networks primarily use the TCP/IP model instead of the complete OSI model.

Conclusion

The OSI Reference Model is a seven-layer framework developed by ISO to standardize network
communication. Each layer performs specific functions and provides services to the layer above it.
The model simplifies network design, promotes interoperability, and helps understand how data
travels through a network. Although modern networks mainly use TCP/IP, the OSI model remains the
most important conceptual model for studying computer networks.

Exam Tip

For a 10–15 mark question, remember:

• Introduction

• Why OSI was developed

• Diagram of 7 layers

• Functions of each layer

• Data Flow

• Advantages

• Disadvantages

• Conclusion

This is one of the most important topics in Computer Networks and is asked almost every year.

Next Topic:

TCP/IP Reference Model (very important because examiners often ask: "Compare OSI and TCP/IP
Models").

You might also like