COMPUTER NETWORK
COMPUTER NETWORK
PHYSICAL LAYER-
Types Of Computer Network-
Physical layer works on hardware
Topologies-
Mesh
Star
Ring-The data flows in one direction, i.e., it is unidirectional.
Bus
Tree
Hybrid
Mainchester vs differential mainchester-
Differential menchester-
Mainchester-
Digital Transmission
Data can be represented either in analog or digital form. The computers
used the digital form to store the information. Therefore, the data needs
to be converted in digital form so that it can be used by a computer.
DIGITAL-TO-DIGITAL CONVERSION
Digital-to-digital encoding is the representation of digital information by a
digital signal. When binary 1s and 0s generated by the computer are
translated into a sequence of voltage pulses that can be propagated over
a wire, this process is known as digital-to-digital encoding.
o Unipolar Encoding
o Polar Encoding
o Bipolar Encoding
Unipolar
Unipolar encoding has two problems that make this scheme less
desirable:
o DC Component
o Synchronization
Polar
NRZ-L: In NRZ-L encoding, the level of the signal depends on the type of
the bit that it represents. If a bit is 0 or 1, then their voltages will be
positive and negative respectively. Therefore, we can say that the level of
the signal is dependent on the state of the bit.
It performs two signal changes to encode one bit that acquires more
bandwidth.
Biphase
Manchester
o It changes the signal at the middle of the bit interval but does not
return to zero for synchronization.
o In Manchester encoding, a negative-to-positive transition represents
binary 1, and positive-to-negative transition represents 0.
o Manchester has the same level of synchronization as RZ scheme
except that it has two levels of amplitude.
Differential Manchester
o It changes the signal at the middle of the bit interval for
synchronization, but the presence or absence of the transition at the
beginning of the interval determines the bit. A transition means
binary 0 and no transition means binary 1.
o In Manchester Encoding scheme, two signal changes represent 0
and one signal change represent 1.
Bipolar
AMI
o AMI stands for alternate mark inversion where mark work comes
from telegraphy which means 1. So, it can be redefined
as alternate 1 inversion.
o In Bipolar AMI encoding scheme, 0 bit is represented by zero level
and 1 bit is represented by alternating positive and negative
voltages.
Advantage:
o DC component is zero.
o Sequence of 1s bits are synchronized.
Disadvantage:
B8ZS
HDB3
If the number of 1s bits is even, then the violation is made on the place of
the first and fourth consecutive 0s. If the polarity of the previous bit is
positive, then violations are negative, and if the polarity of the previous
bit is negative, then violations are positive.
ANALOG-TO-DIGITAL CONVERSION
o When an analog signal is digitalized, this is called an analog-to-
digital conversion.
o Suppose human sends a voice in the form of an analog signal, we
need to digitalize the analog signal which is less prone to noise. It
requires a reduction in the number of values in an analog message
so that they can be represented in the digital stream.
o In analog-to-digital conversion, the information contained in a
continuous wave form is converted in digital pulses.
Twisted pair:
Twisted pair is a physical media made up of a pair of cables twisted with
each other. A twisted pair cable is cheap as compared to other
transmission media. Installation of the twisted pair cable is easy, and it is
a lightweight cable. The frequency range for twisted pair cable is from 0 to
3.5KHz.
o It is cheap.
o Installation of the unshielded twisted pair is easy.
o It can be used for high-speed LAN.
Disadvantage:
Disadvantages
Coaxial Cable
o Coaxial cable is very commonly used transmission media, for
example, TV wire is usually a coaxial cable.
o The name of the cable is coaxial as it contains two conductors
parallel to each other.
o It has a higher frequency as compared to Twisted pair cable.
o The inner conductor of the coaxial cable is made up of copper, and
the outer conductor is made up of copper mesh. The middle core is
made up of non-conductive cover that separates the inner
conductor from the outer conductor.
o The middle core is responsible for the data transferring whereas the
copper mesh prevents from the EMI(Electromagnetic interference).
Fibre Optic
o Fibre optic cable is a cable that uses electrical signals for
communication.
o Fibre optic is a cable that holds the optical fibres coated in plastic
that are used to send the data by pulses of light.
o The plastic coating protects the optical fibres from heat, cold,
electromagnetic interference from other types of wiring.
o Fibre optics provide faster data transmission than copper wires.
UnGuided Transmission
o An unguided transmission transmits the electromagnetic waves
without using any physical medium. Therefore it is also known
as wireless transmission.
o In unguided media, air is the media through which the
electromagnetic energy can flow easily.
Radio waves
o Radio waves are the electromagnetic waves that are transmitted in
all the directions of free space.
o Radio waves are omnidirectional, i.e., the signals are propagated in
all the directions.
o The range in frequencies of radio waves is from 3Khz to 1 khz.
o In the case of radio waves, the sending and receiving antenna are
not aligned, i.e., the wave sent by the sending antenna can be
received by any receiving antenna.
o An example of the radio wave is FM radio.
Infrared
o An infrared transmission is a wireless technology used for
communication over short ranges.
o The frequency of the infrared in the range from 300 GHz to 400 THz.
o It is used for short-range communication such as data transfer
between two cell phones, TV remote operation, data transfer
between a computer and cell phone resides in the same closed
area.
o
o
Collision Domain
When a device transmits a message to the network, all other devices that
are a part of its collision domain must pay attention to it, regardless of
whether it was intended for them or not. This situation is known as a
collision domain. This is problematic because it will result in a collision if
two devices send out their messages at the same time, forcing them to
wait and send them again one at a time. It only occurs using a half-duplex
mode, so keep that in mind.
o Broadcast Domain
When a device transmits a broadcast message, all other devices in
that device's broadcast domain must pay attention to it. This
situation is known as a broadcast domain. As a result, the network
experiences significant LAN congestion, which reduces the available
bandwidth for the users.
This leads us to the conclusion that the network is more effective at
supplying better bandwidth to all of its users. There should be more
collision domains and more broadcast domains.
SWITCHING TECHNIQUES-
Circuit -
Packet-
What is Modulation?
Last Updated : 08 Apr, 2024
Modulation can be digital or analog, the input wave of the analog
signal varies continuously like a sine wave. Modulation can be
defined as the process of converting data into waves by adding
information to a carrier signal. Such a signal can be transmitted
electronically or optically, but it must have a consistent
waveform.
What is Modulation?
The process by which data is converted into electrical/digital
signals for transferring that signal over a medium is called
modulation. It increases strength for maximum reach of the
signals. The process of extracting data from the transmitted
signal is called demodulation. A Modem is a device that performs
both modulation and demodulation processes. The various forms
of modulation are designed to alter the characteristics of carrier
waves. The most commonly altered characteristics of modulation
include amplitude, frequency, and phase.
Carrier signal: The signals that contain no information
but have a certain phase, frequency, and amplitude are
called carrier signals.
Modulated signals: The signals which are the
combination of the carrier signals and modulation signals
are modulated signals. The modulated signal is obtained
after the modulation of the signals.
Types of Modulation
Amplitude Modulation: It is a type of modulation in
which only the amplitude of the carrier signal is varied to
represent the data being added to the signals whereas
the phase and the frequency of the signal are kept
unchanged.
Amplitude Modulation
Phase Modulation
The process by which data is converted into The process of extracting data
electrical/digital signals for transferring that from the transmitted signal is
signal over a medium is called modulation. called demodulation.
MULTIPLEXING-
NETWORK LAYER-
DHCP(dynamic host configure protocol)-