Topic 1.12: OSI Model
1.12.1: Explain the purpose and functions of OSI model and its following seven layers:
a. layer 7 Application layer
b. layer 6 Presentation layer
c. layer 5 Session layer
d. layer 4 Transport layer
e. layer 3 Network layer
f. layer 2 Data Link layer
g. layer 1 Physical layer
OSI Model (Open Systems Interconnection Model)
The OSI Model is a conceptual framework used to understand 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.
Purpose of the OSI Model:
-
Helps in standardizing network communication.
-
Makes troubleshooting easier by separating functions into layers.
-
Allows different hardware and software systems to communicate with each other.
-
Helps developers design network protocols and devices.
The OSI model has 7 layers, starting from the Physical layer (Layer 1) to the Application layer (Layer 7).
1. Application Layer (Layer 7)
This is the top layer of the OSI model and is closest to the end user.
Functions:
-
Provides network services to applications used by users.
-
Allows software like browsers and email programs to access the network.
-
Handles user interface for network services.
Examples:
-
Web browsing
-
Email
-
File transfer
Protocols:
-
HTTP
-
FTP
-
SMTP
2. Presentation Layer (Layer 6)
This layer ensures that data is presented in a readable format for the receiving system.
Functions:
-
Data translation (converting data formats)
-
Encryption and decryption for security
-
Data compression to reduce size
Example:
Converting text from one character format to another so both systems can understand it.
3. Session Layer (Layer 5)
The session layer manages connections between computers.
Functions:
-
Establishes sessions between devices
-
Maintains communication sessions
-
Terminates sessions after communication ends
-
Provides synchronization points during data transfer
Example:
Keeping a video call session active until the call ends.
4. Transport Layer (Layer 4)
The transport layer ensures reliable data transfer between devices.
Functions:
-
End-to-end communication
-
Error detection and correction
-
Flow control
-
Segmentation of data into smaller pieces
Protocols:
-
TCP (Transmission Control Protocol)
-
UDP (User Datagram Protocol)
Example:
Breaking large files into smaller packets before sending them.
5. Network Layer (Layer 3)
This layer handles routing and logical addressing.
Functions:
-
Determines the best path for data to travel
-
Uses IP addresses to identify devices
-
Handles packet forwarding between networks
Protocols:
-
IP (Internet Protocol)
-
ICMP
Example:
Routers work mainly at this layer.
6. Data Link Layer (Layer 2)
The data link layer is responsible for node-to-node data transfer.
Functions:
-
Error detection
-
Frame formation
-
MAC addressing
-
Controls how devices access the network medium
Example:
Switches operate mainly at this layer.
7. Physical Layer (Layer 1)
This is the lowest layer of the OSI model and deals with physical transmission of data.
Functions:
-
Transmits raw bits (0s and 1s) over the network
-
Defines cables, connectors, voltage levels, and signals
Examples:
-
Ethernet cables
-
Network hubs
-
Electrical signals
✅ Easy Way to Remember OSI Layers (Top → Bottom):
A P S T N D P
Application
Presentation
Session
Transport
Network
Data Link
Physical
✅ Another common memory trick:
“All People Seem To Need Data Processing.”
If you want, I can also give you:
-
A very easy explanation for Grade 8–10 students, or
-
A 10–15 marks exam-style answer format (very useful for papers).
Here is a short exam-style answer (10–15 marks) that students of Grade 9 / 10 can easily write.
OSI Model
The OSI (Open Systems Interconnection) Model is a 7-layer framework used to understand how data is transmitted from one computer to another over a network.
Purpose of the OSI Model
-
To standardize network communication.
-
To divide networking tasks into layers.
-
To make troubleshooting easier.
-
To allow different systems and devices to communicate.
The OSI model consists of seven layers.
Seven Layers of the OSI Model
1. Application Layer (Layer 7)
This layer provides network services directly to user applications.
Functions
-
Allows users to access network services.
-
Supports applications like web browsers and email.
Examples: Web browsing, Email, File transfer.
2. Presentation Layer (Layer 6)
This layer ensures that data is in a readable format for the receiving device.
Functions
-
Data translation
-
Data encryption and decryption
-
Data compression
3. Session Layer (Layer 5)
This layer manages sessions or connections between devices.
Functions
-
Establishes communication sessions
-
Maintains sessions
-
Terminates sessions
Example: Managing a video call session.
4. Transport Layer (Layer 4)
This layer provides reliable data transfer between devices.
Functions
-
Error detection and correction
-
Flow control
-
Segmentation of data
Example: Breaking large files into smaller packets.
5. Network Layer (Layer 3)
This layer is responsible for routing and logical addressing.
Functions
-
Determines the best path for data
-
Uses IP addresses to identify devices
Example: Routers work at this layer.
6. Data Link Layer (Layer 2)
This layer handles node-to-node data transfer.
Functions
-
Frame creation
-
Error detection
-
Uses MAC addresses
Example: Network switches operate at this layer.
7. Physical Layer (Layer 1)
This layer deals with the physical transmission of data.
Functions
-
Transmits bits (0s and 1s)
-
Defines cables, connectors, and signals
Example: Ethernet cables, hubs.
