CA-303 Assignment 1 Shoaib
CA-303 Assignment 1 Shoaib
Course – BCA
Year/Sem – 3rd/5th
Enrollment no. – 2100100695
Roll no. - 2101018326
Submitted to – Mohd. Suhaib Kidwai
Q1. Explain the types of network topology and types of network topologies
along with its diagram.
Ans. In Computer Network, there are various ways through which different
components are connected to one another. Network Topology is the way that
defines the structure, and how these components are connected to each other.
Types of Network Topology
The arrangement of a network that comprises nodes and connecting lines via
sender and receiver is referred to as Network Topology. The various network
topologies are:
• Point to Point Topology
• Mesh Topology
• Star Topology
• Bus Topology
• Ring Topology
• Tree Topology
• Hybrid Topology
Mesh Topology
In a mesh topology, every device is connected to another device via a particular
channel. In Mesh Topology, the protocols used are AHCP (Ad Hoc Configuration
Protocols), DHCP (Dynamic Host Configuration Protocol), etc.
Mesh Topology
Figure 1: Every device is connected to another via dedicated channels. These
channels are known as links.
Suppose, the N number of devices are connected with each other in a mesh
topology, the total number of ports that are required by each device is N-1. In
Figure 1, there are 5 devices connected to each other, hence the total number
of ports required by each device is 4. The total number of ports required = N *
(N-1).
Suppose, N number of devices are connected with each other in a mesh
topology, then the total number of dedicated links required to connect them
is NC2 i.e. N(N-1)/2. In Figure 1, there are 5 devices connected to each other,
hence the total number of links required is 5*4/2 = 10.
Star Topology
In Star Topology, all the devices are connected to a single hub through a cable.
This hub is the central node and all other nodes are connected to the central
node. The hub can be passive in nature i.e., not an intelligent hub such as
broadcasting devices, at the same time the hub can be intelligent known as an
active hub. Active hubs have repeaters in them. Coaxial cables or RJ-45 cables
are used to connect the computers. In Star Topology, many popular Ethernet
LAN protocols are used as CD(Collision Detection), CSMA (Carrier Sense
Multiple Access), etc.
Bus Topology
Bus Topology is a network type in which every computer and network device is
connected to a single cable. It is bi-directional. It is a multi-point connection
and a non-robust topology because if the backbone fails the topology crashes.
In Bus Topology, various MAC (Media Access Control) protocols are followed by
LAN ethernet connections like TDMA, Pure Aloha, CDMA, Slotted Aloha, etc.
Ring Topology
The most common access method of ring topology is token passing.
Token passing: It is a network access method in which a token is passed from
one node to another node.
Token: It is a frame that circulates around the network.
Operations of Ring Topology
One station is known as a monitor station which takes all the responsibility for
performing the operations.
Tree Topology
This topology is the variation of the Star topology. This topology has a
hierarchical flow of data. In Tree Topology, protocols like DHCP and SAC
(Standard Automatic Configuration) are used.
Hybrid Topology
This topological technology is the combination of all the various types of
topologies we have studied above. Hybrid Topology is used when the nodes are
free to take any form. It means these can be individuals such as Ring or Star
topology or can be a combination of various types of topologies seen above.
Each individual topology uses the protocol that has been discussed earlier.