Tuesday, November 10, 2026

OSI Model Explained: The 7 Layers of Computer Networking

COMPUTER NETWORKING • ICT LEARNING SERIES
The 7 Layers of the OSI Model
Understand How Data Travels Across a Network – A Simple, Practical and Complete Guide for Beginners
OSI Model Networking Fundamentals A/L ICT Beginner Friendly
Have you ever wondered how a message travels from your computer to another computer across the Internet?

Every time you open a website, send an email, watch a YouTube video or play an online game, several networking technologies work together to transfer your data.

But how does this communication actually happen? How does a computer identify another computer? How does the correct application receive the correct data?

The answer begins with understanding the OSI Model (Open Systems Interconnection Model). In this tutorial, you will explore all seven layers with practical examples, easy comparisons and visual explanations.

1. What is Computer Networking?

Computer Networking is the process of connecting two or more devices so that they can communicate and share data and resources.

The primary purpose of networking is to allow two Hosts to exchange information with each other.

A Host is a device connected to a network that can send or receive data. Examples include computers, laptops, servers and other network-enabled devices.

💻 Source Host
The device that originates and sends the data.
🖥️ Destination Host
The device that receives the transmitted data.
Why do Hosts need Rules?

Imagine two people trying to communicate. One speaks Tamil while the other understands only English. Without a common language, communication becomes difficult.

Similarly, computers must follow common communication rules called Protocols to exchange information successfully.

Remember: Protocols define the rules that network devices follow when communicating with one another.
OSI MODEL – 7 LAYERS
2. What is the OSI Model?

OSI stands for Open Systems Interconnection. It is a conceptual reference model that explains how data communication takes place between networked systems.

The OSI Model divides network communication into seven separate layers. Each layer has its own responsibilities and works with the layers above and below it.

7ApplicationNetwork Services
6PresentationData Format
5SessionSessions
4TransportPorts / Delivery
3NetworkIP / Routing
2Data LinkMAC / Frames
1PhysicalBits / Signals
Important: Data travels down the layers (Layer 7 to Layer 1) at the sender and moves up the layers (Layer 1 to Layer 7) at the receiver.
An Easy Analogy: The Human Body

Think about the human body. It contains different systems such as the Skeletal System, Respiratory System, Nervous System, Cardiovascular System and Muscular System.

Each system performs a particular function. They work together to keep the human body alive and functioning.

The OSI Model works in a similar way. Each layer performs a particular networking function. Together, they support communication between networked devices.

3. Layer 1 – Physical Layer

The Physical Layer is the first and lowest layer of the OSI Model. Its main responsibility is the transmission of raw binary data through a physical medium.

How is Data Represented?

Computers represent data using Binary Digits called Bits. A Bit can have only one of two values: 0 or 1.

01001000 01100101 01101100 01101100 01101111

These bits must travel from one device to another through an appropriate transmission medium.

Physical Layer Technologies
🔌 Twisted Pair Cable
Commonly used in Ethernet LAN connections.
📡 Coaxial Cable
A cable with a central conductor and protective shielding.
💡 Fibre Optic Cable
Transmits information using light signals.
📶 Wi-Fi
Uses radio waves to transmit data wirelessly.

Other examples associated with this layer include Repeaters and traditional Hubs.

Examination Point:
Layer 1 = Physical Layer = Bits = Cables and Signals.
5. Layer 3 – Network Layer

The Network Layer is responsible for logical addressing and routing packets between different networks.

What is an IP Address?

IP stands for Internet Protocol. An IP Address is a logical address used to identify a device or network interface for communication across IP networks.

IPv4 addresses contain 32 bits, divided into four groups called Octets. Each octet contains 8 bits and has a decimal value from 0 to 255.

Example IPv4 Address: 192.168.1.10
What is a Router?

A Router connects different IP networks. It examines the destination IP address and uses its routing table to determine where a packet should be forwarded.

A packet travelling across the Internet may pass through several routers before reaching its destination.

MAC Address vs IP Address
FeatureMAC AddressIP Address
OSI LayerLayer 2Layer 3
PurposeLocal link deliveryLogical addressing and routing
TypeLink-layer identifierLogical network address
Example94-65-9C-3B-8A-E5192.168.1.10
Associated DeviceSwitchRouter
Do not confuse these two addresses! IP addressing helps deliver packets across networks. MAC addressing helps deliver frames over a local network link. The destination MAC address can change at each routed hop, while the source and destination IP addresses normally remain the same from source to destination, excluding operations such as NAT.
ARP – Address Resolution Protocol

ARP stands for Address Resolution Protocol. It is used in IPv4 local networks to discover the MAC address associated with a known local IPv4 address.

For example, if a computer knows the IP address of another computer on the same local network but does not know its MAC address, it can use ARP to discover it.

ARP connects the IP addressing information with the MAC addressing information.
Examination Point:
Layer 3 = Network Layer = IP Address = Router = Packet.
6. Layer 4 – Transport Layer

Imagine that your computer is running several applications at the same time: a Web Browser, Email Client, Online Game and Chat Application.

If data arrives at your computer, how does the operating system identify the correct application or service that should receive it?

The Transport Layer supports communication between application processes using transport protocols and Port Numbers.

What are Port Numbers?

Port Numbers identify application services and communication endpoints. TCP and UDP each have their own port-number space, ranging from 0 to 65535.

TCP – Transmission Control Protocol
TCP – Reliable Communication

TCP provides reliable, ordered byte-stream communication. It uses acknowledgements, sequence numbers and retransmissions when necessary.

Common use: Web browsing, file transfer and applications requiring reliable delivery.

UDP – User Datagram Protocol
UDP – Low Overhead Communication

UDP provides connectionless datagram delivery with less protocol overhead. It does not guarantee delivery, retransmission or ordering.

Common use: Real-time communication, streaming applications and online services that benefit from low latency.

TCP vs UDP Comparison
FeatureTCPUDP
Full NameTransmission Control ProtocolUser Datagram Protocol
CommunicationConnection-orientedConnectionless
ReliabilityReliable delivery mechanismsNo delivery guarantee
OrderingOrdered byte streamNo ordering guarantee
OverheadGenerally higherGenerally lower
Data UnitSegmentDatagram
Important Port Number Examples
ProtocolPortCommon Service
TCP80HTTP
TCP443HTTPS
UDP53DNS (commonly)
TCP25565Minecraft Java Server (default)
TCP/UDP6667IRC (commonly)
Source Port and Destination Port

A Server normally listens for requests on a configured destination port. A Client usually selects a temporary source port, known as an Ephemeral Port.

Consider this example:

Client
Port 52000
→
Server
Port 443

When the Server responds, the endpoint roles are reversed:

Server
Port 443
→
Client
Port 52000
Examination Point:
Layer 4 = Transport Layer = TCP / UDP = Port Numbers = Service-to-Service Communication.
7. Layers 5, 6 and 7 – The Upper Layers

The upper three layers of the OSI Model support application communication and the representation and management of data.

Layer 5 – Session Layer

The Session Layer is responsible for establishing, managing and terminating communication sessions between applications.

Key concepts: Session Establishment, Session Management and Session Termination.

Layer 6 – Presentation Layer

The Presentation Layer deals with data representation and translation so that information can be understood by the receiving system.

Key functions:

  • Data Translation
  • Encryption and Decryption
  • Compression and Decompression
  • Data Format Representation
Layer 7 – Application Layer

The Application Layer provides network services and protocols used by application software.

Examples of Application Layer Protocols:

  • HTTP – Hypertext Transfer Protocol
  • HTTPS – Secure Web Communication
  • DNS – Domain Name System
  • SMTP – Simple Mail Transfer Protocol
  • FTP – File Transfer Protocol
The boundaries between Layers 5, 6 and 7 can be less distinct in real-world protocol implementations. Some network models combine their responsibilities into a single Application Layer.
8. OSI Model vs TCP/IP Model

The TCP/IP Model describes the architecture commonly used for communication over the Internet. It is often presented as a four-layer model.

The OSI Model has seven layers, while the commonly taught TCP/IP Model combines some of these responsibilities into four layers.

OSI ModelTCP/IP Model
Application (7)Application Layer
Presentation (6)
Session (5)
Transport (4)Transport Layer
Network (3)Internet Layer
Data Link (2)Network Access Layer
Physical (1)
Remember the four TCP/IP Layers:
1. Network Access
2. Internet
3. Transport
4. Application
9. Encapsulation – How Data is Sent

One of the most important concepts in the OSI Model is Encapsulation.

When data is sent from one computer to another, each lower layer adds the information needed for its own communication function. This information is commonly added in the form of Headers and, at the Data Link Layer, a Trailer.

Step-by-Step Encapsulation
Step 1 – Application, Presentation and Session
The application produces the original Data.
Step 2 – Transport Layer
A TCP Header or UDP Header is added. It includes Source Port and Destination Port information. TCP: Segment | UDP: Datagram.
Step 3 – Network Layer
An IP Header is added, containing Source IP and Destination IP addresses. The result is an IP Packet.
Step 4 – Data Link Layer
A Frame Header and Trailer are added. Ethernet frames include Source MAC and Destination MAC addresses, as well as error-detection information.
Step 5 – Physical Layer
The Frame is transmitted through the physical medium as electrical, optical or radio signals representing bits.
Data Encapsulation Flow
Data
→
Segment
TCP
→
Packet
→
Frame
→
Bits
Easy way to remember:
Data → Segment → Packet → Frame → Bits.
A Simplified Encapsulation View
[Application Data]
[TCP Header | Data]
[IP Header | TCP Header | Data]
[Frame Header | IP Header | TCP Header | Data | Trailer]
[Bits transmitted through the medium]

Note: This example illustrates Ethernet and TCP/IP encapsulation. Actual headers and trailers depend on the protocols being used.

De-encapsulation – How Data is Received

At the Receiving Host, the reverse process takes place. The received information moves from the Physical Layer towards the Application Layer.

  1. Physical Layer: Receives signals and reconstructs bits.
  2. Data Link Layer: Processes the Frame and checks its information.
  3. Network Layer: Processes the IP Packet.
  4. Transport Layer: Processes TCP Segments or UDP Datagrams and identifies the receiving port.
  5. Upper Layers: Deliver and process the data for the receiving application.
Bits
→
Frame
→
Packet
→
Segment
→
Data
Encapsulation: Adding protocol information while sending data down the layers.
De-encapsulation: Processing and removing the corresponding protocol information while receiving data.
10. OSI Model – Quick Revision Table

Use this table to revise the seven layers quickly before examinations.

LayerNameMain FunctionKey Terms
7ApplicationNetwork ServicesHTTP, DNS, SMTP
6PresentationData RepresentationEncryption, Compression
5SessionSession ManagementSessions
4TransportProcess CommunicationTCP, UDP, Ports
3NetworkLogical Addressing and RoutingIP, Router
2Data LinkLocal Link CommunicationMAC, Switch, Frame
1PhysicalBit TransmissionCables, Signals, Hub
Data Units to Remember
LayerProtocol Data Unit (PDU)
Layers 5, 6 and 7Data
Layer 4 – TCPSegment
Layer 4 – UDPDatagram
Layer 3Packet
Layer 2Frame
Layer 1Bits
11. Test Your Knowledge – OSI Model Quiz

Check your understanding with these questions. Try answering each question before revealing its answer.

Question 1: How many layers are there in the OSI Model?
Answer: Seven layers.
Application, Presentation, Session, Transport, Network, Data Link and Physical.
Question 2: Which OSI layer uses MAC Addresses?
Answer: Layer 2 – Data Link Layer.
Question 3: Which OSI layer uses IP Addresses?
Answer: Layer 3 – Network Layer.
Question 4: Which device forwards Ethernet Frames using MAC Addresses?
Answer: Network Switch.
Question 5: Which device forwards IP Packets between networks?
Answer: Router.
Question 6: Which Transport Protocol provides reliable, ordered delivery?
Answer: TCP – Transmission Control Protocol.
Question 7: What is the default port number for HTTPS?
Answer: TCP Port 443.
Question 8: What is the data unit at the Data Link Layer?
Answer: Frame.
Question 9: What is the process of adding headers to data called?
Answer: Encapsulation.
Question 10: What is the full form of OSI?
Answer: Open Systems Interconnection.
12. Frequently Asked Questions (FAQ)
What is the main purpose of the OSI Model?
The OSI Model provides a structured reference for understanding network communication by dividing it into seven layers.
Which is the lowest layer of the OSI Model?
The Physical Layer (Layer 1) is the lowest layer.
Which is the highest layer of the OSI Model?
The Application Layer (Layer 7) is the highest layer.
What is the difference between MAC Address and IP Address?
A MAC Address is a link-layer identifier used for local network delivery. An IP Address is a logical address used for communication and routing across IP networks.
What is the difference between OSI and TCP/IP Models?
The OSI Model is a seven-layer reference model. The commonly taught TCP/IP Model has four layers and describes the architecture used in Internet communication.
What are Encapsulation and De-encapsulation?
Encapsulation adds protocol information as data moves down the sending layers. De-encapsulation processes the received information as it moves up the receiving layers.
🎓 Congratulations! You Have Completed the OSI Model Tutorial.

You now have a foundation in the seven layers of the OSI Model, IP and MAC addressing, TCP and UDP, Port Numbers, the TCP/IP Model and Data Encapsulation.

Keep practising with networking diagrams and examination questions to strengthen your understanding.

Continue Learning Computer Networking

Explore more Computer Networking and ICT lessons to improve your theoretical knowledge and practical skills.

  • Computer Networking Fundamentals
  • Network Topologies and Network Devices
  • IPv4 Addressing and Subnetting
  • TCP and UDP Protocols
  • Network Security Fundamentals
  • DNS, DHCP and Other Network Services

Study tip: Draw the OSI seven-layer diagram from memory and write one main function and one important keyword for each layer. Repeat this exercise until you can complete it without referring to your notes.

OSI Model Explained: The 7 Layers of Computer Networking

Saturday, October 31, 2026

Solid Geometry| 3D Shapes, Faces, Edges & Vertices – Complete Mathematics Tutorial

Solid Geometry: 3D Shapes, Faces, Edges and Vertices – Complete Guide

Welcome to our Solid Geometry tutorial!

Have you ever wondered how many faces, edges and vertices a dice has? What about a football, a water bottle or a pyramid?

All these objects are related to an important branch of mathematics called Solid Geometry.

In this lesson, we will explore seven important three-dimensional (3D) solids, understand their properties, identify their faces, edges and vertices, and learn how these geometric shapes are used in everyday life.

This tutorial is designed to help students understand solid geometry easily through simple explanations, examples, comparison tables and practice questions.

1. What Is Solid Geometry?

Solid Geometry is a branch of mathematics that deals with three-dimensional objects. These objects have length, width and height.

Unlike two-dimensional (2D) shapes, such as squares, rectangles and circles, three-dimensional solids occupy space and have volume.

Examples of three-dimensional objects include:

  • A dice – Cube
  • A book – Cuboid
  • A football – Sphere
  • A tin can – Cylinder
  • An Egyptian pyramid – Square Pyramid
  • A triangular package – Triangular Prism

Understanding the properties of solids helps us recognise and describe objects in our surroundings.

2. Important Properties of Solid Shapes

To understand solid geometry, we must first learn three important mathematical terms: faces, edges and vertices.

2.1 Faces

A face is a surface of a three-dimensional solid. It may be a flat surface or, when discussing curved solids, a curved surface.

For example, a cube has six flat square faces.

2.2 Edges

An edge is the line or boundary where two flat faces meet.

For example, a cube has twelve edges.

2.3 Vertices

A vertex is a corner point where two or more edges meet. The plural form of vertex is vertices.

For example, a cube has eight vertices.

Remember these three important terms:
  • Face: Surface of a solid.
  • Edge: Boundary where two flat faces meet.
  • Vertex: Corner point where edges meet.

3. Types of Three-Dimensional Solids and Their Properties

Now, let's study seven important three-dimensional solids individually.

3.1 Cube

Cube

What Is a Cube?

A cube is a three-dimensional solid with six equal square faces. All its edges have the same length.

Every face of a cube is a square, and all the angles between adjacent faces are right angles (90 degrees).

Properties of a Cube:

  • Number of faces: 6
  • Number of edges: 12
  • Number of vertices: 8
  • All six faces are equal squares.
  • All twelve edges have equal lengths.
Cube – Important Properties
PropertyNumber
Faces6
Edges12
Vertices8

Real-life examples:

  • Dice
  • Rubik's Cube
  • Ice cubes
  • Cube-shaped gift boxes

Mathematical formula:

If the length of one edge is a, the volume of a cube is:

Volume = a × a × a = a³

3.2 Cuboid

Cuboid

What Is a Cuboid?

A cuboid is a three-dimensional solid with six rectangular faces.

Opposite faces of a cuboid are equal in shape and size. Its length, width and height do not need to be equal.

A cube is a special type of cuboid in which all six faces are equal squares.

Properties of a Cuboid:

  • Number of faces: 6
  • Number of edges: 12
  • Number of vertices: 8
  • All faces are rectangles.
  • Opposite faces are equal and parallel.
  • All angles between adjacent faces are 90 degrees.
Cuboid – Important Properties
PropertyNumber
Faces6
Edges12
Vertices8

Real-life examples:

  • Bricks
  • Books
  • Matchboxes
  • Rectangular boxes
  • Refrigerators

Mathematical formula:

If length = l, width = w and height = h:

Volume = l × w × h

3.3 Tetrahedron

Tetrahedron

What Is a Tetrahedron?

A tetrahedron is a three-dimensional solid with four triangular faces.

A regular tetrahedron has four equal equilateral triangular faces. All its edges have the same length.

Properties of a Tetrahedron:

  • Number of faces: 4
  • Number of edges: 6
  • Number of vertices: 4
  • All faces of a regular tetrahedron are equal equilateral triangles.
  • Three edges meet at each vertex.
Tetrahedron – Important Properties
PropertyNumber
Faces4
Edges6
Vertices4

Real-life examples:

  • Tetrahedron-shaped decorative objects
  • Some molecular structures
  • Four-sided triangular models

Important: A tetrahedron is also known as a triangular pyramid. A regular tetrahedron is a special case in which all four faces are equal equilateral triangles.

3.4 Square Pyramid

Square Pyramid

What Is a Square Pyramid?

A square pyramid is a three-dimensional solid with one square base and four triangular side faces.

All four triangular side faces meet at one point at the top, called the apex.

Properties of a Square Pyramid:

  • Number of faces: 5
  • Number of edges: 8
  • Number of vertices: 5
  • One face is a square.
  • Four faces are triangles.
  • Four edges form the square base.
  • Four sloping edges connect the base vertices to the apex.
Square Pyramid – Important Properties
PropertyNumber
Faces5
Edges8
Vertices5

Real-life examples:

  • Egyptian pyramids
  • Pyramid-shaped decorative objects
  • Square pyramid roof structures

Important terms:

  • Base: The square bottom face.
  • Apex: The top point of the pyramid.
  • Sloping edges: Edges joining the base vertices to the apex.

3.5 Sphere

Sphere

What Is a Sphere?

A sphere is a perfectly round three-dimensional solid. Every point on its surface is at the same distance from its centre.

This distance is called the radius of the sphere.

Unlike cubes and pyramids, a sphere has no flat faces, straight edges or vertices.

Properties of a Sphere:

  • Number of curved surfaces: 1
  • Number of edges: 0
  • Number of vertices: 0
  • It has one continuous curved surface.
  • It has a centre and a radius.
Sphere – Important Properties
PropertyNumber
Curved surfaces1
Edges0
Vertices0

Real-life examples:

  • Football
  • Basketball
  • Marbles
  • Globe
  • Round decorative balls

Mathematical formulas:

  • Volume = (4/3) × π × r³
  • Surface area = 4 × π × r²

Here, r represents the radius and π is approximately 3.14159.

3.6 Cylinder

Cylinder

What Is a Cylinder?

A cylinder is a three-dimensional solid with two equal and parallel circular flat faces and one curved surface.

The two circular faces are located at the top and bottom of the cylinder.

Properties of a Cylinder:

  • Number of flat faces: 2
  • Number of curved surfaces: 1
  • Number of edges: 2
  • Number of vertices: 0
  • The two circular faces are equal and parallel.
  • The two circular edges are formed where the curved surface meets the circular faces.
Cylinder – Important Properties
PropertyNumber
Flat faces2
Curved surfaces1
Edges2
Vertices0

Real-life examples:

  • Tin cans
  • Water pipes
  • Drinking glasses with cylindrical shapes
  • Some water bottles
  • Cylindrical containers

Mathematical formulas:

  • Volume = π × r² × h
  • Total surface area = 2πr(r + h)

Here, r is the radius of the circular base and h is the height of the cylinder.

3.7 Prism – Triangular Prism

Prism

What Is a Prism?

A prism is a three-dimensional solid with two equal and parallel polygonal bases. Its side faces are parallelograms. In a right prism, the side faces are rectangles.

Prisms are named according to the shape of their bases.

Examples include:

  • Triangular prism
  • Square prism
  • Pentagonal prism
  • Hexagonal prism

Triangular Prism

A triangular prism has two equal and parallel triangular bases and three rectangular side faces (in a right triangular prism).

Properties of a Triangular Prism:

  • Number of faces: 5
  • Number of edges: 9
  • Number of vertices: 6
  • Two faces are triangles.
  • Three side faces are rectangles in a right triangular prism.
  • Three edges belong to each triangular base.
  • Three additional edges connect the corresponding vertices of the bases.
Triangular Prism – Important Properties
PropertyNumber
Faces5
Edges9
Vertices6

Real-life examples:

  • Triangular chocolate packaging
  • Triangular roof structures
  • Triangular prism-shaped decorative objects
  • Some optical prisms

Important: A triangular prism is different from a triangular pyramid. A triangular prism has two triangular bases, whereas a triangular pyramid has only one triangular base and one apex.

4. Comparison of All Seven Solids

Now let's compare the properties of all seven solids in one table. This is an important revision table for students preparing for mathematics examinations.

Solid Faces / Surfaces Edges Vertices
Cube6128
Cuboid6128
Tetrahedron464
Square Pyramid585
Sphere1 curved00
Cylinder2 flat + 1 curved20
Triangular Prism596

Note: The sphere and cylinder have curved surfaces. Some textbooks count only flat surfaces as faces. Therefore, follow the terminology used in your school textbook or examination question.

5. Important Differences Between Similar Solids

5.1 Cube and Cuboid

CubeCuboid
All six faces are equal squares.Faces are rectangles.
All twelve edges are equal.Edges may have different lengths.
Length, width and height are equal.Length, width and height may differ.
6 faces, 12 edges, 8 vertices.6 faces, 12 edges, 8 vertices.

5.2 Tetrahedron and Triangular Prism

TetrahedronTriangular Prism
4 triangular faces.2 triangular and 3 rectangular faces in a right prism.
6 edges.9 edges.
4 vertices.6 vertices.
One triangular base and one apex.Two equal parallel triangular bases.

5.3 Sphere and Cylinder

SphereCylinder
One continuous curved surface.Two flat circular faces and one curved surface.
No edges.Two circular edges.
No vertices.No vertices.
Example: Football.Example: Tin can.

6. Important Mathematical Relationship – Euler's Formula

For a convex polyhedron, there is an important mathematical relationship between the number of faces, edges and vertices. It is known as Euler's Formula.

Euler's Formula

F + V = E + 2

Where:

  • F = Number of faces
  • V = Number of vertices
  • E = Number of edges

Example: Applying Euler's Formula to a Cube

For a cube:

  • Faces (F) = 6
  • Vertices (V) = 8
  • Edges (E) = 12

Substituting these values:

F + V = E + 2

6 + 8 = 12 + 2

14 = 14

Therefore, Euler's formula is satisfied.

This formula applies to convex polyhedral such as cubes, cuboids, pyramids and prisms. It does not directly apply to curved solids such as spheres and cylinders.

7. Quick Revision Notes

Use these short notes to revise the properties of solids quickly before an examination.

  • Cube: 6 faces, 12 edges and 8 vertices.
  • Cuboid: 6 faces, 12 edges and 8 vertices.
  • Tetrahedron: 4 triangular faces, 6 edges and 4 vertices.
  • Square Pyramid: 5 faces, 8 edges and 5 vertices.
  • Sphere: 1 curved surface, 0 edges and 0 vertices.
  • Cylinder: 2 flat faces, 1 curved surface, 2 edges and 0 vertices.
  • Triangular Prism: 5 faces, 9 edges and 6 vertices.
Easy way to remember:

Face = Surface | Edge = Boundary | Vertex = Corner

8. Test Your Knowledge – Solid Geometry Quiz

Let's check how well you understand the properties of three-dimensional solids. Try to answer the following questions before checking the correct answers.

Question 1

How many faces does a cube have?

  • A. 4
  • B. 6
  • C. 8
  • D. 12
  • Correct Answer: B – 6

Question 2

Which solid has zero edges and zero vertices?

  • A. Cube
  • B. Cuboid
  • C. Sphere
  • D. Square Pyramid
  • Correct Answer: C – Sphere

Question 3

How many edges does a triangular prism have?

  • A. 6
  • B. 8
  • C. 9
  • D. 12
  • Correct Answer: C – 9

Question 4

How many vertices does a square pyramid have?

  • A. 4
  • B. 5
  • C. 6
  • D. 8
  • Correct Answer: B – 5

Question 5

Which solid has four triangular faces?

  • A. Cube
  • B. Tetrahedron
  • C. Cylinder
  • D. Cuboid
  • Correct Answer: B – Tetrahedron

9. Conclusion

Solid Geometry is an important topic in mathematics that helps us understand the three-dimensional shapes around us.

In this lesson, we explored seven important solids:

  • Cube
  • Cuboid
  • Tetrahedron
  • Square Pyramid
  • Sphere
  • Cylinder
  • Triangular Prism

We learned how to identify their faces, edges and vertices, understand their properties and recognize examples from everyday life.

Remember that mathematics is not just about numbers. It is also about understanding the shapes and structures around us.

Keep practicing, keep exploring and keep learning!

10. Frequently Asked Questions (FAQ)

What is solid geometry?

Solid geometry is the branch of mathematics that studies three-dimensional objects with length, width and height.

What is the difference between a face, an edge and a vertex?

A face is a surface, an edge is the boundary where two flat faces meet, and a vertex is a corner point where edges meet.

How many faces, edges and vertices does a cube have?

A cube has 6 faces, 12 edges and 8 vertices.

How many faces does a tetrahedron have?

A tetrahedron has four triangular faces, six edges and four vertices.

Does a sphere have edges or vertices?

No. A sphere has one continuous curved surface, zero edges and zero vertices.

How many edges does a cylinder have?

A cylinder has two circular edges, where its curved surface meets its two circular flat faces.

What is the difference between a pyramid and a prism?

A pyramid has one polygonal base and triangular side faces that meet at an apex. A prism has two equal and parallel polygonal bases connected by side faces.

What is Euler's formula for solid geometry?

For a convex polyhedron, Euler's formula is F + V = E + 2, where F represents faces, V represents vertices and E represents edges.

Learn More and Practice

To improve your understanding of solid geometry, practice identifying three-dimensional objects around you. Count their faces, edges and vertices and compare your answers with the revision table in this lesson.

Watch the related Solid Geometry video tutorial, revise the examples and attempt the quiz to strengthen your mathematical knowledge.

Solid Geometry – Learn, Understand, Practice and Succeed!

Solid Geometry 3D Shapes

Friday, October 23, 2026

Spoofing and Phishing Explained: Types, Real-Life Examples, Dangers & Prevention | Cybersecurity Guide

Spoofing and Phishing: Types, Examples, Dangers and Prevention

Spoofing and phishing are common cybersecurity threats used to deceive people, steal sensitive information, access accounts, and commit online fraud. Attackers may pretend to be trusted people, organizations, websites, email addresses, or computer systems to make their actions appear genuine.

In this detailed tutorial, you will learn the meanings of spoofing and phishing, how they work, their different types, practical examples, warning signs, prevention methods, and the actions to take if you become a victim. This guide is suitable for ICT students, computer users, teachers, and anyone who wants to improve online safety.

1. What Is Cybersecurity?

Cybersecurity is the practice of protecting computers, mobile devices, networks, applications, and digital information against unauthorized access, damage, theft, and cyberattacks.

Cybersecurity includes technical measures, such as firewalls and antivirus software, as well as safe user behaviour, such as checking website addresses and protecting passwords.

Examples of cybersecurity practices include:

  • Using strong and unique passwords.
  • Enabling multi-factor authentication.
  • Installing security updates.
  • Using trusted websites and applications.
  • Recognizing suspicious messages, links, and attachments.
  • Protecting personal and financial information.

2. What Is Spoofing?

Spoofing is a cyberattack technique in which an attacker falsifies or disguises an identity, address, communication source, or other identifying information to make it appear trustworthy.

The attacker attempts to make a person, device, or computer system believe that the communication or data comes from a legitimate source when it may actually come from an attacker.

Simple example: A person receives an email that appears to come from their bank. The displayed sender name and address look familiar, but the message was sent by someone attempting to steal banking information.

In this example, the attacker uses email spoofing to make the message appear genuine.

Why Do Attackers Use Spoofing?

  • To impersonate trusted people or organizations.
  • To make fraudulent emails, calls, or websites appear legitimate.
  • To redirect users to malicious websites.
  • To hide or misrepresent the source of network traffic.
  • To support phishing, fraud, malware distribution, or other cyberattacks.
  • To bypass trust-based security checks when those checks are weak or incorrectly configured.

3. Main Types of Spoofing

3.1 Email Spoofing

Email spoofing occurs when an attacker forges the sender information of an email so that it appears to come from another person, company, institution, or organization.

Example: An employee receives an email that appears to come from the company director. The message asks the employee to transfer money urgently to a new bank account.

The sender's displayed address may look familiar, but the message could be fraudulent. Attackers may use email spoofing to request money, steal credentials, or deliver malicious attachments.

Prevention:

  • Check the complete sender address, not only the displayed name.
  • Be careful with unexpected requests for money or confidential information.
  • Confirm unusual financial requests using a separate, trusted communication channel.
  • Avoid opening unexpected attachments or clicking suspicious links.
  • Organizations should configure and monitor SPF, DKIM, and DMARC email authentication.

3.2 Caller ID Spoofing

Caller ID spoofing occurs when a caller deliberately changes the telephone number or identity displayed on the recipient's phone.

Example: A person receives a call that appears to come from a bank or government office. The caller claims there is a problem with the person's account and requests a password, PIN, or one-time password (OTP).

The displayed number alone does not prove that the caller is genuine. Caller ID information can be falsified, and a legitimate organization should not need a customer to disclose their account password or OTP.

Prevention:

  • Never share passwords, PINs, or OTPs with callers.
  • End suspicious calls and contact the organization using its official number.
  • Do not rely only on a displayed telephone number.
  • Be suspicious of threats, pressure, and demands for immediate payment.

3.3 Website Spoofing

Website spoofing occurs when an attacker creates or manipulates a website to make it resemble a legitimate website, such as a bank, shopping platform, email service, or government portal.

Example: A fraudulent website copies the design of a genuine online banking page. A user enters their username, password, and other confidential details, which are then collected by the attacker.

A fake website may use a domain name that resembles the real address. For example, an attacker may register a lookalike domain containing an extra letter or a misleading word.

Prevention:

  • Type important website addresses directly into the browser.
  • Check the domain name carefully before entering personal information.
  • Use saved bookmarks for frequently visited financial services.
  • Remember that HTTPS and a padlock indicate an encrypted connection, not proof that a website is trustworthy.
  • Never enter login details after following an unexpected or suspicious link.

3.4 IP Spoofing

IP spoofing is a technique in which an attacker forges the source IP address in network packets. The forged address makes the traffic appear to originate from another device or network address.

Example: An attacker sends network packets with a falsified source IP address to disguise the actual origin of the traffic or to support a denial-of-service attack.

IP spoofing is commonly associated with certain network attacks, including some distributed denial-of-service (DDoS) attacks. It can also complicate the identification of the true traffic source.

Prevention and protection:

  • Use firewalls and appropriately configured network security devices.
  • Apply ingress and egress filtering where appropriate.
  • Use anti-spoofing controls supported by network infrastructure.
  • Monitor unusual traffic patterns and investigate suspicious activity.
  • Use secure network architecture and updated equipment.

3.5 DNS Spoofing

DNS spoofing occurs when false Domain Name System (DNS) information causes a device to receive an incorrect mapping between a domain name and an IP address.

The Domain Name System normally helps translate human-readable domain names into IP addresses used by computers to communicate.

Example: A user enters the address of a familiar website, but manipulated DNS information directs the browser to a fraudulent server that imitates the original website.

Prevention:

  • Use trusted DNS resolvers and secure network configurations.
  • Keep operating systems, routers, and applications updated.
  • Use DNS security measures, such as DNSSEC validation, where supported and appropriate.
  • Avoid untrusted public Wi-Fi networks for sensitive transactions unless using suitable protection.
  • Contact the network administrator if suspicious redirects continue.

4. What Is Phishing?

Phishing is a social engineering attack in which a criminal attempts to trick a person into revealing sensitive information, clicking a malicious link, downloading harmful software, or authorizing a fraudulent transaction.

Phishing messages often pretend to come from trusted organizations, such as banks, delivery services, online shopping platforms, schools, employers, or technology companies.

Example: A person receives an email saying that their account will be suspended unless they verify their identity immediately. The email contains a link to a fake login page that collects their username and password.

Phishing depends on deception and often uses fear, urgency, curiosity, or attractive offers to influence a person's decision.

Why Is Phishing Dangerous?

  • It can steal usernames and passwords.
  • It can expose banking and payment information.
  • It may install malware or ransomware.
  • It can give attackers access to email and social media accounts.
  • It may lead to identity theft or financial loss.
  • It can expose confidential personal, educational, or business information.

5. Main Types of Phishing

5.1 Email Phishing

Email phishing uses fraudulent emails to persuade recipients to click links, open attachments, provide sensitive information, or make payments.

Example: An email claims that a package cannot be delivered until the recipient pays a small fee through an unfamiliar link.

Safety tip: Check delivery information through the delivery company's official website or application instead of using the unexpected link.

5.2 Smishing (SMS Phishing)

Smishing is phishing conducted through SMS text messages or similar messaging services.

Example: A text message claims that a bank account has been blocked and asks the recipient to follow a link to restore access.

Safety tip: Do not follow suspicious text-message links. Open the official banking application or contact the bank using a trusted number.

5.3 Vishing (Voice Phishing)

Vishing is phishing carried out through telephone or voice communication. The attacker may impersonate a bank employee, technical support agent, police officer, or another trusted person.

Example: A caller claims that a payment is fraudulent and asks the victim to disclose an OTP to cancel it.

Safety tip: Do not disclose passwords, PINs, or OTPs. End the call and independently verify the claim through an official contact channel.

5.4 Spear Phishing

Spear phishing is a targeted phishing attack directed at a particular person, employee, or organization. The message may include personal or workplace details to appear convincing.

Example: An employee receives an email that appears to come from a manager and requests confidential company documents.

Safety tip: Verify sensitive requests independently, even when the message contains familiar names, job titles, or project details.

5.5 Fake Login Pages

A fake login page is a fraudulent webpage designed to imitate a genuine sign-in page and collect the information entered by visitors.

Example: A user follows a link from a fake email and enters the login details for an email account on a copied login page.

Safety tip: Check the complete domain name and access important accounts through a trusted bookmark or by typing the official address directly.

6. Spoofing vs. Phishing: Key Differences

Spoofing and phishing are related, but they do not mean exactly the same thing. Spoofing focuses on falsifying or disguising identity or source information. Phishing focuses on deceiving people into taking an unsafe action or disclosing information.

Feature Spoofing Phishing
Meaning Falsifying identity, source, address, or identifying information. Tricking people into revealing information or performing unsafe actions.
Main target People, devices, networks, or systems that trust the falsified information. People who may disclose information, click links, open files, or authorize transactions.
Common methods Email, caller ID, website, IP, and DNS spoofing. Fraudulent emails, text messages, phone calls, and fake login pages.
Main purpose Misrepresenting the source or identity of a communication or data. Stealing information, gaining access, delivering malware, or committing fraud.
Relationship Can be used as part of a phishing attack, but can also occur independently. Can use spoofing techniques to make the deception more convincing.
Example A forged sender address makes an email appear to come from a manager. The email asks an employee to reveal a password through a fake login page.
Remember: Spoofing is often about pretending to be a trusted source. Phishing is about using deception to make a person reveal information or take an unsafe action. One attack can involve both techniques.

7. Common Warning Signs of Spoofing and Phishing

Cybercriminals often make mistakes or use pressure tactics that can help you identify suspicious communications. However, some fraudulent messages are carefully written and may look professional.

  • Urgent threats: Messages claim that an account will be closed or blocked unless immediate action is taken.
  • Unexpected requests: A message asks for passwords, PINs, OTPs, payment details, or confidential files.
  • Suspicious links: A link uses a misleading domain name or directs you to an unfamiliar website.
  • Unexpected attachments: An email contains an attachment that you were not expecting.
  • Unusual payment requests: Someone requests gift cards, cryptocurrency, or a transfer to a new account.
  • Impersonation: A sender claims to represent a bank, employer, government office, or technology company.
  • Unexpected login alerts: A message asks you to sign in through a link to resolve an unfamiliar account problem.
  • Inconsistent information: The sender address, website domain, contact details, or request does not match what you expect.
  • Unusual communication style: The message contains strange wording or formatting. Remember that correct spelling and grammar do not guarantee safety.
Important: Do not decide whether a message is genuine based only on its appearance, logo, display name, or telephone number. Verify unexpected requests using an independent and trusted communication channel.

8. How to Prevent Spoofing and Phishing Attacks

8.1 Verify the Sender

Check the full email address, telephone number, and context of the message. A familiar display name does not prove that the sender is genuine. If a request seems unusual, contact the person or organization using contact details obtained independently.

8.2 Check Website Addresses Carefully

Before entering login or payment details, examine the domain name in the browser's address bar. Be cautious of extra letters, misspellings, unfamiliar subdomains, and misleading domain endings.

8.3 Avoid Suspicious Links and Attachments

Do not click links or open attachments in unexpected messages. If the message concerns a delivery, bank account, or online service, visit the official website or application directly.

8.4 Never Share Passwords, PINs, or OTPs

Keep authentication details private. Do not disclose your password, banking PIN, or one-time verification code to a caller or message sender. Treat unexpected requests for these details as suspicious.

8.5 Use Strong and Unique Passwords

Create long, unique passwords for different accounts. A password manager can help you generate and store them securely. Avoid reusing one password across email, banking, social media, and other services.

8.6 Enable Multi-Factor Authentication

Multi-factor authentication (MFA) adds an additional verification step when signing in. It can help protect an account even if a password is stolen. Use a phishing-resistant authentication method, such as a passkey or security key, where available.

8.7 Keep Software Updated

Install security updates for operating systems, browsers, mobile applications, routers, and security software. Updates can fix vulnerabilities that attackers may otherwise exploit.

8.8 Use Security Software and Network Protection

Use reputable security software, firewalls, spam filters, and browser protection features. These tools can reduce exposure to malicious websites, suspicious files, and unwanted communications, although they cannot detect every attack.

8.9 Verify Financial and Sensitive Requests

Before transferring money, changing payment details, sharing confidential documents, or approving an unusual request, confirm it through a separate trusted channel. For business payments, follow the organization's approved verification procedure.

8.10 Use Email Authentication for Organizations

Organizations that manage their own email domains should configure and maintain appropriate email authentication:

  • SPF (Sender Policy Framework): Specifies which mail servers are authorized to send email for a domain.
  • DKIM (DomainKeys Identified Mail): Uses a digital signature to help verify that an email is associated with an authorized domain and has not been altered in transit.
  • DMARC (Domain-based Message Authentication, Reporting and Conformance): Allows a domain owner to publish a policy for handling messages that fail specified authentication and alignment checks.

These controls can help reduce certain forms of domain spoofing, but they do not eliminate every fraudulent email. Users must continue to verify suspicious requests.

8.11 Be Careful on Public Wi-Fi

Avoid entering sensitive information on untrusted networks when possible. Use trusted websites and applications, keep your device updated, and use an organization-approved VPN when appropriate. A VPN does not make a fraudulent website trustworthy.

8.12 Report Suspicious Messages

Use the phishing-reporting option in your email or messaging service, notify your organization's IT or security team when relevant, and report suspected fraud to the appropriate service provider or local authority.

9. What to Do If You Become a Victim

If you have clicked a suspicious link, disclosed a password, entered banking details on a fake website, or installed an unexpected file, act quickly. The correct response depends on the information exposed and the device involved.

Step 1: Stop Interacting With the Suspicious Message

Do not continue using the suspicious website or communicating with the suspected attacker. Do not send further payments or disclose additional information.

Step 2: Change Compromised Passwords

From a trusted device, change the password for the affected account. If you reused the same password elsewhere, change it on those accounts too. Start with your email account because it may be used to reset other passwords.

Step 3: Secure Your Accounts

Enable MFA where possible, review active sessions, sign out unknown devices, remove unfamiliar recovery methods, and check for unauthorized changes to account settings.

Step 4: Contact Your Bank or Payment Provider

If you disclosed financial information or made a suspicious payment, contact your bank or payment provider immediately through an official channel. Ask about blocking affected cards, securing the account, disputing transactions, and other available protective steps.

Step 5: Check Your Device

If you opened a suspicious attachment or installed unknown software, use trusted security tools to check the device. Follow your organization's incident-response guidance if it is a work or school device. Seek technical assistance if you suspect malware or continuing unauthorized access.

Step 6: Report the Incident

Preserve relevant messages, sender details, transaction records, and screenshots where safe and appropriate. Report the incident to the affected service provider, your organization's security team, your bank if relevant, and the appropriate local authorities.

Step 7: Warn Affected Contacts

If your email or social media account has been compromised, inform contacts through another trusted channel. This can help prevent attackers from using your account to deceive other people.

Act immediately if money or account access is at risk. Contact your bank or service provider without delay. Do not pay someone who promises to recover stolen money or accounts without verifying their legitimacy.

10. Comparison of Spoofing Types and Phishing Types

Type How It Works Example Main Protection
Email spoofing Forges email sender information. A fake email appears to come from a manager. Verify the sender and use email authentication controls.
Caller ID spoofing Falsifies the number displayed during a call. A caller pretends to be a bank employee. Call back through an official number.
Website spoofing Imitates a genuine website. A fake banking login page. Check the domain and use a trusted bookmark.
IP spoofing Falsifies the source IP address in network packets. Traffic uses a forged source address. Use network filtering and anti-spoofing controls.
DNS spoofing Manipulates name-resolution information. A domain resolves to an unauthorized server. Use trusted DNS and appropriate DNS security.
Email phishing Uses fraudulent emails to trick recipients. A fake account-security warning. Verify independently before taking action.
Smishing Uses text messages to deceive recipients. A fake delivery-fee message. Verify through the official service.
Vishing Uses deceptive voice communication. A caller requests an OTP. Never disclose authentication codes.
Spear phishing Targets a particular person or organization. A fake message impersonates a manager. Verify sensitive requests through another channel.
Fake login page Collects information through a counterfeit sign-in page. A copied email-service login page. Use the official domain and phishing-resistant MFA.

11. Practical Cybersecurity Checklist

Use this checklist to improve your daily online safety:

  • Check the sender before trusting a message.
  • Verify suspicious requests independently.
  • Inspect website domains before entering sensitive information.
  • Avoid unexpected links and attachments.
  • Never disclose passwords, PINs, or OTPs.
  • Use strong, unique passwords.
  • Enable MFA or passkeys where available.
  • Install security updates promptly.
  • Use reputable security software and appropriate network protection.
  • Confirm changes to payment details before sending money.
  • Report suspicious messages and attempted fraud.
  • Know how to contact your bank and important service providers through official channels.

12. Frequently Asked Questions (FAQs)

What is the main difference between spoofing and phishing?

Spoofing involves falsifying or disguising identity or source information. Phishing involves deceiving people into revealing sensitive information or performing unsafe actions. Spoofing may be used to make a phishing attack more convincing.

Can spoofing happen without phishing?

Yes. For example, IP spoofing may be used in certain network attacks without trying to trick a person into revealing a password.

Can phishing happen without spoofing?

Yes. A phishing message can use a misleading offer or fraudulent request without technically forging the sender's identity. Spoofing is one possible technique, not a requirement for every phishing attack.

Does HTTPS guarantee that a website is safe?

No. HTTPS helps encrypt the connection between the browser and the website, but a fraudulent website can also use HTTPS. Always check the domain and verify that the website is the intended service.

Is it safe to trust a call because the number looks genuine?

No. Caller ID information can be spoofed. End suspicious calls and contact the organization through an independently verified telephone number.

What should I do if I enter my password on a fake website?

Change the compromised password immediately from a trusted device, change it on other accounts where it was reused, enable MFA, review account activity, and contact the service provider if you cannot secure the account.

Can antivirus software prevent all phishing attacks?

No. Security software can detect or block some threats, but it cannot identify every fraudulent message or website. Careful verification and safe user behaviour remain important.

What does MFA mean?

MFA stands for multi-factor authentication. It requires additional verification beyond a password, helping protect an account if the password is stolen. Phishing-resistant options, such as passkeys and security keys, offer stronger protection against many credential-stealing attacks.

13. Conclusion

Spoofing and phishing are important cybersecurity threats that affect individuals, businesses, educational institutions, and online services. Spoofing makes a communication or source appear different from what it really is, while phishing uses deception to persuade people to reveal information or take unsafe actions.

Understanding email spoofing, caller ID spoofing, website spoofing, IP spoofing, DNS spoofing, email phishing, smishing, vishing, spear phishing, and fake login pages helps users recognize common attack methods.

The most effective approach combines awareness, independent verification, strong authentication, software updates, suitable security controls, and prompt reporting. Think carefully before clicking a link, opening an unexpected attachment, sharing confidential information, or approving a payment.

Golden rule of cybersecurity: Stop, check, and verify before you trust. Never let urgency or fear force you into an unsafe online decision.

14. Further Reading and Trusted Resources

Use these established cybersecurity resources to learn more about spoofing, phishing, and online safety:

Educational content prepared for cybersecurity awareness and ICT learning. Examples are illustrative. Security controls should be selected and configured according to the needs of the individual or organization.

Cyber Security Video Explanation


Cyber Security| Spoofing and Phishing Tutorial