Professional Documents
Culture Documents
CN Assignment1
CN Assignment1
Every device is connected with another via dedicated channels. These channels are known
as links.
If suppose, N number of devices are connected with each other in mesh topology, then total
number of ports that is required by each device is N-1. In the Figure 1, there are 5 devices
connected to each other, hence total number of ports required is 4.
If suppose, N number of devices are connected with each other in mesh topology, then total
number of dedicated links required to connect them is NC2 i.e. N(N-1)/2. In the Figure 1,
COMPUTER NETWORK ASSIGNMENT 1
Name: NITHESH SAI KANNE
Roll Number:18R11A0515
Date: 13th August,2020
Class: CSE-3A
there are 5 devices connected to each other, hence total number of links required is 5*4/2 =
10.
b) 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 others nodes are connected to
the central node. The hub can be passive in nature i.e. not intelligent hub such as
broadcasting devices, at the same time the hub can be intelligent known as active
hubs. Active hubs have repeaters in them.
COMPUTER NETWORK ASSIGNMENT 1
Name: NITHESH SAI KANNE
Roll Number:18R11A0515
Date: 13th August,2020
Class: CSE-3A
A star topology having four systems connected to single point of connection i.e. hub.
Advantages of this topology:
If N devices are connected to each other in star topology, then the number of
cables required to connect them is N. So, it is easy to set up.
Each device requires only 1 port i.e. to connect to the hub.
c) Bus Topology: Bus topology is a network type in which every computer and
network device is connected to single cable. It transmits the data from one end to
another in single direction. No bi-directional feature is in bus topology.
A bus topology with shared backbone cable. The nodes are connected to the
channel via drop lines.
Cost of the cable is less as compared to other topology, but it is used to build
small networks.
d) Ring Topology: In this topology, it forms a ring connecting devices with its
exactly two neighboring devices.
A number of repeaters are used for Ring topology with a large number of nodes,
because if someone wants to send some data to the last node in the ring topology
with 100 nodes, then the data will have to pass through 99 nodes to reach the
100th node. Hence to prevent data loss repeaters are used in the network.
The transmission is unidirectional, but it can be made bidirectional by having 2
connections between each Network Node, it is called Dual Ring Topology.
COMPUTER NETWORK ASSIGNMENT 1
Name: NITHESH SAI KANNE
Roll Number:18R11A0515
Date: 13th August,2020
Class: CSE-3A
e) Tree Topology: This topology is the variation of Star topology. This topology has
hierarchical flow of data.
In this the various secondary hubs are connected to the central hub which contains the
repeater. In this data flow from top to bottom i.e from the central hub to secondary and
then to the devices or from bottom to top i.e. devices to secondary hub and then to the
central hub.
1. Application Layer
2. Presentation Layer
3. Session Layer
4. Transport Layer
5. Network Layer
6. Datalink Layer
7. Physical Layer
Below we have the complete representation of the OSI model, showcasing all the layers
and how they communicate with each other.
COMPUTER NETWORK ASSIGNMENT 1
Name: NITHESH SAI KANNE
Roll Number:18R11A0515
Date: 13th August,2020
Class: CSE-3A
The OSI reference model has 7 layers. The principles that were applied to arrive at the
seven layers can be briefly summarized as follows:
6. The number of layers should be large enough that distinct functions need not be
thrown together in the same layer out of necessity and small enough that
architecture does not become unwieldly.
7. Following are the functions performed by each layer of the OSI model. This is
just an introduction; we will cover each layer in details in the coming tutorials.
1. Network Layer routes the signal through different channels from one node to
other.
2. It acts as a network controller. It manages the Subnet traffic.
3. It decides by which route data should take.
4. It divides the outgoing messages into packets and assembles the incoming
packets into messages for higher levels.
COMPUTER NETWORK ASSIGNMENT 1
Name: NITHESH SAI KANNE
Roll Number:18R11A0515
Date: 13th August,2020
Class: CSE-3A
Transport layer breaks the message (data) into small units so that they are handled
more efficiently by the network layer.
marked and are resynchronized properly, so that the ends of the messages are
not cut prematurely and data loss is avoided .
1. Presentation Layer takes care that the data is sent in such a way that the
receiver will understand the information (data) and will be able to use the data.
COMPUTER NETWORK ASSIGNMENT 1
Name: NITHESH SAI KANNE
Roll Number:18R11A0515
Date: 13th August,2020
Class: CSE-3A
2. While receiving the data, presentation layer transforms the data to be ready for
the application layer.
3. Languages(syntax) can be different of the two communicating systems. Under
this condition presentation layer plays a role of translator.
4. It performs Data compression, Data encryption, Data conversion etc.
Answer:
BASIS FOR
TCP/IP MODEL OSI MODEL
COMPARISON
BASIS FOR
TCP/IP MODEL OSI MODEL
COMPARISON
Tangible Yes No
In OSI, the model was developed first and then the protocols in each layer were
developed. In the TCP/IP suite, the protocols were developed first and then the
model was developed.
The OSI has seven layers while the TCP/IP has four layers.
1. Guided Media:
It is also referred to as Wired or Bounded transmission media. Signals being
transmitted are directed and confined in a narrow pathway by using physical links.
Features:
High Speed
Secure
Used for comparatively shorter distances
Advantages:
Better performance at a higher data rate in comparison to UTP
Eliminates crosstalk
Comparatively faster
Comparatively difficult to install and manufacture
More expensive
Bulky
Advantages:
High Bandwidth
Better noise Immunity
Easy to install and expand
Inexpensive
Disadvantages:
Single cable failure can disrupt the entire network
It uses the concept of reflection of light through a core made up of glass or plastic. The
core is surrounded by a less dense glass or plastic covering called the cladding. It is
used for transmission of large volumes of data.
The cable can be unidirectional or bidirectional. The WDM (Wavelength Division
Multiplexer) supports two modes, namely unidirectional and bidirectional mode.
Advantages:
Increased capacity and bandwidth
COMPUTER NETWORK ASSIGNMENT 1
Name: NITHESH SAI KANNE
Roll Number:18R11A0515
Date: 13th August,2020
Class: CSE-3A
Light weight
Less signal attenuation
Immunity to electromagnetic interference
Resistance to corrosive materials
Disadvantages:
Difficult to install and maintain
High cost
Fragile
2. Unguided Media:
It is also referred to as Wireless or Unbounded transmission media. No physical
medium is required for the transmission of electromagnetic signals.
Features:
Signal is broadcasted through air
Less Secure
Used for larger distances
(iii) Infrared –
Infrared waves are used for very short distance communication. They cannot penetrate
through obstacles. This prevents interference between systems. Frequency
Range:300GHz – 400THz. It is used in TV remotes, wireless mouse, keyboard, printer,
etc.
COMPUTER NETWORK ASSIGNMENT 1
Name: NITHESH SAI KANNE
Roll Number:18R11A0515
Date: 13th August,2020
Class: CSE-3A
Answer:
LAN, MAN and WAN are types of network.
In FDM, the total bandwidth is divided to a set of frequency bands that do not overlap.
Each of these bands is a carrier of a different signal that is generated and modulated by
one of the sending devices. The frequency bands are separated from one another by
strips of unused frequencies called the guard bands, to prevent overlapping of signals.
The modulated signals are combined together using a multiplexer (MUX) in the sending
end. The combined signal is transmitted over the communication channel, thus allowing
multiple independent data streams to be transmitted simultaneously. At the receiving
end, the individual signals are extracted from the combined signal by the process of
demultiplexing (DEMUX).
Example
The following diagram conceptually represents multiplexing using FDM. It has 4
frequency bands, each of which can carry signal from 1 sender to 1 receiver. Each of
the 4 senders is allocated a frequency band. The four frequency bands are multiplexed
and sent via the communication channel. At the receiving end, a demultiplexer
regenerates the original four signals as outputs.
Example
The following diagram conceptually represents multiplexing using WDM. It has 4 optical
signals having 4 different wavelengths. Each of the four senders generates data
streams of a particular wavelength. The optical combiner multiplexes the signals and
transmits them over a single long-haul fiber channel. At the receiving end, the splitter
demultiplexes the signal into the original 4 data streams.
In TDM, the data flow of each input stream is divided into units. One unit may be 1 bit, 1
byte, or a block of few bytes. Each input unit is allotted an input time slot. One input unit
corresponds to one output unit and is allotted an output time slot. During transmission,
one unit of each of the input streams is allotted one-time slot, periodically, in a
sequence, on a rotational basis. This system is popularly called round-robin system.
Example
Consider a system having four input streams, A, B, C and D. Each of the data streams
is divided into units which are allocated time slots in the round – robin manner. Hence,
the time slot 1 is allotted to A, slot 2 is allotted to B, slot 3 is allotted to C, slot 4 is
allotted to D, slot 5 is allocated to A again, and this goes on till the data in all the
streams are transmitted.
Answer:
Switching: A network consists of many switching devices. In order to connect
multiple devices, one solution could be to have a point to point connection in between
pair of devices. But this increases the number of connections. The other solution could
be to have a central device and connect every device to each other via the central
device which is generally known as Star Topology. Both these methods are wasteful
and impractical for very large network. The other topology also cannot be used at this
stage. Hence a better solution for this situation is SWITCHING. A switched network is
made up of a series of interconnected nodes called switches.
Here the network connection allows the electrical current and the associated voice
with it to flow in between the two respective users. The end to end communication
was established during the duration of call.
COMPUTER NETWORK ASSIGNMENT 1
Name: NITHESH SAI KANNE
Roll Number:18R11A0515
Date: 13th August,2020
Class: CSE-3A
In circuit switching the routing decision is made when the path is set up across the
given network. After the link has been sets in between the sender and the receiver
then the information is forwarded continuously over the provided link.
In Circuit Switching a dedicated link/path is established across the sender and the
receiver which is maintained for the entire duration of conversation.
The major advantage of Packet switching is that they are used for performing data
rate conversion.
When traversing the network switches, routers or the other network nodes then the
packets are buffered in the queue, resulting in variable delay and throughput
depending on the network’s capacity and the traffic load on network.
Packet switching contrasts with another principal networking paradigm, circuit
switching, a method which sets up a limited number of dedicated connections of
constant bit rate and constant delay between nodes for exclusive use during the
communication session.
In cases where traffic fees are charged, for example in cellular communication,
packet switching is characterized by a fee per unit of information transmitted.
COMPUTER NETWORK ASSIGNMENT 1
Name: NITHESH SAI KANNE
Roll Number:18R11A0515
Date: 13th August,2020
Class: CSE-3A
Datagram Networks:
Virtual Circuits:
1. It is connection-oriented, meaning that there is a reservation of resources like
buffers, CPU, bandwidth, etc. for the time in which the newly setup VC is going to
be used by a data transfer session.
2. The first sent packet reserves resources at each server along the path.
Subsequent packets will follow the same path as the first sent packet for the
connection time.
3. Since all the packets are going to follow the same path, a global header is
required. Only the first packet of the connection requires a global header, the
remaining packets generally don’t require global headers.
4. Since all packets follow a specific path, packets are received in-order at the
destination.
5. Virtual Circuit Switching ensures that all packets successfully reach the
Destination. No packet will be discarded due to unavailability of resources.
COMPUTER NETWORK ASSIGNMENT 1
Name: NITHESH SAI KANNE
Roll Number:18R11A0515
Date: 13th August,2020
Class: CSE-3A
6. From the above points, it can be concluded that Virtual Circuits are a highly
reliable method of data transfer.
7. The issue with virtual circuits is that each time a new connection is set up,
resources and extra information have to be reserved at every router along the
path, which becomes problematic if many clients are trying to reserve a routers
resource simultaneously.
8. It is used by the ATM (Asynchronous Transfer Mode) Network, specifically for
Telephone calls.
COMPUTER NETWORK ASSIGNMENT 1
Name: NITHESH SAI KANNE
Roll Number:18R11A0515
Date: 13th August,2020
Class: CSE-3A
SOURCE:
https://www.tutorialspoint.com/computer_fundamentals/computer_networking.htm
https://www.javatpoint.com/computer-network-tutorial
https://www.geeksforgeeks.org/computer-network-tutorials/