Documente Academic
Documente Profesional
Documente Cultură
Hassan-573201
BCA311
Prepared By:
Swetha R BE ,M T ech ,(P hD)
Department of Computer Application
Contents
1 Introduction 2
1.1 Data Communication and Computer Network . . . . . . . . . . . . . . . . 2
1.1.1 Fundamental Characteristics for the effectiveness of a Data Com-
munications System . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1.2 Five Components of a Data Communications System . . . . . . . . 3
1.1.3 Transmission Media . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.1.4 Bit Rate and Baud Rate . . . . . . . . . . . . . . . . . . . . . . . . 7
1.2 Modulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.2.1 Amplitude Modulation-(AM): . . . . . . . . . . . . . . . . . . . . . 8
1.2.2 Frequency Modulation-(FM): . . . . . . . . . . . . . . . . . . . . . 8
1.2.3 Phase Modulation-(PM): . . . . . . . . . . . . . . . . . . . . . . . . 9
1.3 Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.3.1 Mesh Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.3.2 Bus Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.3.3 Ring Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.3.4 Star Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.3.5 Tree Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.3.6 Hybrid Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.4 Transmission Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.4.1 Simplex Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.4.2 Half-Duplex Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.4.3 Full-Duplex Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.5 Categories of Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1.5.1 Local Area Network (LAN) . . . . . . . . . . . . . . . . . . . . . . 17
1.5.2 Metropolitan Area Network (MAN) . . . . . . . . . . . . . . . . . . 17
1.5.3 Wide Area Network (WAN) . . . . . . . . . . . . . . . . . . . . . . 18
1
Chapter 1
Introduction
• Delivery: The System must deliver data to the correct destination. Data must be
received by the intended device or user and only by that device or user.
• Accuracy: The system must deliver data accurately. Data that have been altered
in transmission and left uncorrected are rustles(ie. If the protocol needs to alter
the data while in transmission, it must alter it back to its original form before
representing it to the target device).
• Timeliness: The system must deliver data in a timely manner. Data delivered late
are useless. In the case of video, audio, and voice data, timely delivery means
delivering data as they are produced, in the same order that they are produced, and
without significant delay. this kind of delivery is called real-time transmission.
2
Data Communication and Computer Networks Notes Swetha R
• Jitter: Jitter refers to the variation of packet arrival time. Data is sent as packets,
that is, a fixed amount of the whole data is sent in each turn. These packets get
joined back in the target device to represent the complete data as it is. Each packet
is sent with a predefined delay or acceptable amount delay. If packets are sent
without maintaining the predefined delay then an uneven quality in the data might
result.
The following are the basic requirements for working of a communication system.
• The sender (source) who creates the message to be transmitted
• A medium that carries the message
• The receiver (sink) who receives the message
3
Data Communication and Computer Networks Notes Swetha R
4
Data Communication and Computer Networks Notes Swetha R
5
Data Communication and Computer Networks Notes Swetha R
• Advantages
– Increased capacity and bandwidth
– Light weight
– Less signal attenuation
– Immunity to electromagnetic interference
– Resistance to corrosive materials
• Disadvantages
– Difficult to install and maintain
– High cost
– Fragile
– unidirectional, ie, will need another fibre, if we need bidirectional com-
munication
(B) 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
There are 3 major types of Unguided Media:
(i) Radio waves:
These are easy to generate and can penetrate through buildings. The sending
and receiving antennas need not be aligned.
Frequency Range: 3KHz – 1GHz.AM and FM radios and cordless phones use
Radio waves for transmission.
Further Categorized as :
• Terrestrial
• Satellite
(ii) Microwaves:
It is a line of sight transmission i.e. the sending and receiving antennas need
to be properly aligned with each other.The distance covered by the signal is
directly proportional to the height of the antenna.
6
Data Communication and Computer Networks Notes Swetha R
Frequency Range:1GHz – 300GHz. These are majorly used for mobile phone
communication and television distribution.
(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.
Both Bit rate and Baud rate are generally used in data communication,
Bit rate is the transmission of number of bits per second. On the other hand, Baud rate
is defined as the number of signal units per second. The formula which relates both bit
rate and baud rate is given below:
Bit rate = Baud rate ∗ the number of bit per baud.
Difference between Bit Rate and Baud Rate
Bit Rate Baud Rate
Bit rate is defined as the transmission Baud rate is defined as the number of
of number of bits per second. signal units per second.
Bit rate is also defined as per second Baud rate is also defined as per second
travel number of bits. number of changes in signal.
Bit rate emphasized on computer effi- While baud rate emphasized on data
ciency. transmission.
Bit Rate= baud rate ∗ the number of Baud Rate= bit rate / the number of
bit per baud bit per baud
1.2 Modulation
Modulation is a carrier signal that varies in accordance with the message signal. Modu-
lation technique is used to change the signal characteristics.
Basically, the modulation is of following three types:
• Amplitude Modulation (AM)
• Frequency Modulation (FM)
• Phase Modulation (PM)
7
Data Communication and Computer Networks Notes Swetha R
Amplitude modulation was developed in the beginning of the 20th century. It was the
earliest modulation technique used to transmit voice by radio. This type of modulation
technique is used in electronic communication. In this modulation, the amplitude of the
carrier signal varies in accordance with the message signal, and other factors like phase
and frequency remain constant.
The modulated signal is shown in the below figure, and its spectrum consists of the
lower frequency band, upper frequency band and carrier frequency components. This
type of modulation requires more power and greater bandwidth; filtering is very difficult.
Amplitude modulation is used in computer modems, VHF aircraft radio, and in portable
two-way radio.
In this type of modulation, the frequency of the carrier signal varies in accordance with
the message signal, and other parameters like amplitude and phase remain constant.
Frequency modulation is used in different applications like radar, radio and telemetry,
seismic prospecting and monitoring newborns for seizures via EEG, etc.
This type of modulation is commonly used for broadcasting music and speech, magnetic
tape recording systems, two way radio systems and video transmission systems. When
noise occurs naturally in radio systems, frequency modulation with sufficient bandwidth
provides an advantage in cancelling the noise.
8
Data Communication and Computer Networks Notes Swetha R
In this type of modulation, the phase of the carrier signal varies in accordance with the
message signal. When the phase of the signal is changed, then it affects the frequency.
So, for this reason, this modulation is also comes under the frequency modulation.
Generally, phase modulation is used for transmitting waves. It is an essential part of many
digital transmission coding schemes that underlie a wide range of technologies like GSM,
WiFi, and satellite television. This type of modulation is used for signal generation in al
synthesizers, such as the Yamaha DX7 to implement FM synthesis.
1.3 Topology
The way in which devices are interconnected to form a network is called network topology.
Some of the factors that affect choice of topology for a network are −
• Cost − Installation cost is a very important factor in overall cost of setting up an
infrastructure. So cable lengths, distance between nodes, location of servers, etc.
have to be considered when designing a network.
• Flexibility − Topology of a network should be flexible enough to allow reconfigura-
tion of office set up, addition of new nodes and relocation of existing nodes.
• Reliability − Network should be designed in such a way that it has minimum down
time. Failure of one node or a segment of cabling should not render the whole
network useless.
• Scalability − Network topology should be scalable, i.e. it can accommodate load of
new devices and nodes without perceptible drop in performance.
• Ease of installation − Network should be easy to install in terms of hardware,
software and technical personnel requirements.
• Ease of maintenance − Troubleshooting and maintenance of network should be easy.
Depending on the requirement there are different Topologies to construct a network.
• Mesh topology.
• Star topology.
• Tree (Hierarchical) topology.
• Bus topology.
• Ring topology.
• Hybrid topology.
9
Data Communication and Computer Networks Notes Swetha R
In mesh topology, every device is connected to another device via particular channel.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 below, 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 N(N-1)/2.
• Advantages:
– It is robust.
– Fault is diagnosed easily. Data is reliable because data is transferred among
the devices through dedicated channels or links.
– Provides security and privacy.
• Disadvantages:
– Installation and configuration is difficult.
– Cost of cables are high as bulk wiring is required, hence suitable for less number
of devices.
– Cost of maintenance is high.
10
Data Communication and Computer Networks Notes Swetha R
Data network with bus topology has a linear transmission cable, usually coaxial, to which
many network devices and workstations are attached along the length. Server is at one end
of the bus. When a workstation has to send data, it transmits packets with destination
address in its header along the bus.The data travels in both the directions along the bus.
When the destination terminal sees the data, it copies it to the local disk.
• Advantages:
– Easy to install and maintain
– Can be extended easily
– Very reliable because of single transmission line
• Disadvantages:
– Troubleshooting is difficult as there is no single point of control
– One faulty node can bring the whole network down
– Dumb terminals cannot be connected to the bus
In ring topology each terminal is connected to exactly two nodes, giving the network a
circular shape. Data travels in only one pre-determined direction.When a terminal has to
send data, it transmits it to the neighbouring node which transmits it to the next one.
Before further transmission data may be amplified. In this way, data reverses the network
and reaches the destination node, which removes it from the network. If the data reaches
the sender, it removes the data and resends it later.
11
Data Communication and Computer Networks Notes Swetha R
• Advantages:
– Small cable segments are needed to connect two nodes
– Ideal for optical fibres as data travels in only one direction
– Very high transmission speeds possible
• Disadvantages:
– Failure of single node brings down the whole network
– Troubleshooting is difficult as many nodes may have to be inspected before
faulty one is identified
– Difficult to remove one or more nodes while keeping the rest of the network
intact
In star topology, server is connected to each node individually. Server is also called the
central node. Any exchange of data between two nodes must take place through the server.
It is the most popular topology for information and voice networks as central node can
process data received from source node before sending it to the destination node.
12
Data Communication and Computer Networks Notes Swetha R
• Advantages:
– Failure of one node does not affect the network
– Troubleshooting is easy as faulty node can be detected from central node im-
mediately
– Simple access protocols required as one of the communicating nodes is always
the central node
• Disadvantages:
– Long cables may be required to connect each node to the server
– Failure of central node brings down the whole network network intact
Tree topology has a group of star networks connected to a linear bus backbone cable.
It incorporates features of both star and bus topologies. Tree topology is also called
hierarchical topology.
13
Data Communication and Computer Networks Notes Swetha R
• Advantages:
– Existing network can be easily expanded
– Point-to-point wiring for individual segments means easier installation and
maintenance
– Well suited for temporary networks
• Disadvantages:
– Technical expertise required to configure and wire tree topology
– Failure of backbone cable brings down entire network
– Insecure network
– Maintenance difficult for large networks
This topology is a collection of two or more topologies which are described above. This
is a scalable topology which can be expanded easily. It is reliable one but at the same it
is a costly topology.
14
Data Communication and Computer Networks Notes Swetha R
15
Data Communication and Computer Networks Notes Swetha R
Example: Keyboard and traditional monitors. The keyboard can only introduce input,
the monitor can only give the output.
In half-duplex mode, each station can both transmit and receive, but not at the same
time. When one device is sending, the other can only receive, and vice versa. The half-
duplex mode is used in cases where there is no need for communication in both direction
at the same time. The entire capacity of the channel can be utilized for each direction.
Example: Walkie- talkie in which message is sent one at a time and messages are sent in
both the directions.
In full-duplex mode, both stations can transmit and receive simultaneously. In full-duplex
mode, signals going in one direction share the capacity of the link with signals going in
other direction, this sharing can occur in two ways:
• Either the link must contain two physically separate transmission paths, one for
sending and other for receiving.
• Or the capacity is divided between signals travelling in both directions.
Full-duplex mode is used when communication in both direction is required all the time.
The capacity of the channel, however must be divided between the two directions. Ex-
ample: Telephone Network in which there is communication between two persons by a
telephone line, through which both can talk and listen at the same time.
16
Data Communication and Computer Networks Notes Swetha R
LAN or Local Area Network connects network devices in such a way that personal com-
puter and workstations can share data, tools and programs. The group of computers and
devices are connected together by a switch, or stack of switches, using a private addressing
scheme as defined by the TCP/IP protocol. Private addresses are unique in relation to
other computers on the local network.
LANs cover smaller geographical area (Size is limited to a few kilometres) and are privately
owned. One can use it for an office building, home, hospital, schools, etc. LAN is easy
to design and maintain. A Communication medium used for LAN has twisted pair cables
and coaxial cables. It covers a short distance, and so the error and noise are minimized.
MAN or Metropolitan area Network covers a larger area than that of a LAN and smaller
area as compared to WAN. It connects two or more computers that are apart but resides
in the same or different cities. It covers a large geographical area and may serve as an
ISP (Internet Service Provider). MAN is designed for customers who need a high-speed
17
Data Communication and Computer Networks Notes Swetha R
connectivity. Speeds of MAN ranges in terms of Mbps. It’s hard to design and maintain
a Metropolitan Area Network.
The fault tolerance of a MAN is less and also there is more congestion in the network. It
is costly and may or may not be owned by a single organization. The data transfer rate
and the propagation delay of MAN is moderate. Devices used for transmission of data
through MAN are: Modem and Wire/Cable. Examples of a MAN are the part of the
telephone company network that can provide a high-speed DSL line to the customer or
the cable TV network in a city.
WAN or Wide Area Network is a computer network that extends over a large geographical
area, although it might be confined within the bounds of a state or country. A WAN could
be a connection of LAN connecting to other LAN’s via telephone lines and radio waves
and may be limited to an enterprise (a corporation or an organization) or accessible to
the public. The technology is high speed and relatively expensive.
18
Data Communication and Computer Networks Notes Swetha R
19