Unit 7: Data Communication AND Networking
Unit 7: Data Communication AND Networking
Unit 7: Data Communication AND Networking
DATA COMMUNICATION
AND
NETWORKING
200
7.10.1. Circuit Switching: .........................................................................219
201
7.13.4.2. Disadvantages of Mesh Topology .................................................229
202
DATA COMMUNICATION AND
NETWORKING
7.1 Introduction:
The rapid growth of the technology has enhanced the role of data communications
in modern life. The knowledge of computer networks is now essential part of basic
information technology concepts. Therefore this unit has been included at the
bachelor level course. It covers fundamental view of the broad field of data
communications and network
7.2 Objectives:
After completing this unit, students should be able to:
203
7.3 Data Communication
Data communication is the flow of electronic data among two nodes (computers
system and linked with each other via some media like cables or microwave.
Furthermore the data communication software is used to transfer data from one
node to another.
2. Accuracy: The system must deliver the data with accuracy. The
204
altered or incomplete data is unusable, therefore it should be accurate
3. Timeliness: The system must deliver data in time. Late delivery of data
3. Medium: Medium is the pathway through which data is sent from one
point to another. If the receiver and transmitter are within a building, a
wire can connect them. If they are located at different locations, they
may be connected through telephone lines, fiber optics or microwaves.
4. Receiver: The node that receives the data is called receiver. The
205
transmission between sender and receiver. Without protocol the
receiver.
Medium
Sender Receiver
Sends message via protocol
2. Images
Images are also characterized by special bit patterns. It is comprised of
matrix of pixels (picture elements). The size of image is larger than that
of text and numbers therefore data transmission speed is important for
206
3. Audio and Video
Audio refers to the recording or broadcasting of music or sound and
source to the destination. This type of transmission is used when data do not
need to flow in both directions. For example, the instructions flow from your
key board to CPU and from CPU to printer. Another important example is
the television and radio transmission.
Sender Receiver
Figure-7.3: Simplex
7.6.2 Half-duplex
In half-duplex the data flows in both directions but one at the same time. It
means that data can be either sent or received in turn-wise. If a device is
receiving data then it cannot sent any data at the receiving time. Walkie-
talkie is an example of half duplex where a user ends his transmissions with
announcements of "over" to prevent overlap and facilitate other to talk.
207
request for a web document and server sends the document before the client
Figure-7.4: Half-duplex
7.6.3. Full-duplex
In full-duplex the data flows in both directions at the same time. Each node
can thus transmit and receive the data simultaneously. Telephones are
common examples of full-duplex devices. They allow both users to hear
each other and talk at the same time.
Two ways
Sender Receiver
At same time
A bit is the unit of information that is stored and processed by computers; it is either
0 or 1. A data transmission speed of 100 baud means 100 bit are transferred in one
unit of time. All transmitted signals have a certain bandwidth, as do the receiving
systems.
208
7.8 Data Transmission Forms:
There are two forms of data transmission i.e.Analog and Digital.
data. When someone talks, an analog wave is created in the air medium. The
voice can be captured by a microphone and transformed to an analog signal.
The outputs of many sensors, such as temperature and pressure sensors, are
also examples of analog data. Analog signals are represented by continuous
range of values as shown in the following figure.
209
digital signal where it is transferred from one computer to other. At the
receiving end it is again converted into analog signal. Digital signals are
represented by discrete or discontinuous values as shown in the figure.
210
7.9.1.3 Optical Fiber
One wire carries the signal while the other provides the ground reference.
The difference between the two is used by the receiver. If a noise appears on
one wire it also emerges on the other. However the twisting maintains the
balance and reduces the distortion among the cable. It also decreases the
tendency of the cable to give out radio frequency noise due to nearby cables
and electronic components. There are two kinds of twisted pair wire:
secure cable since it keeps the signal from leaking out from it.
211
Figure-7.9: Shielded Twisted Pair
212
two cylinders; a hollow outer cylindrical conductor and an inner conductor.
The outer cylinder surrounds a single inner wire conductor and includes
physical channel that carries the signal. It is covered with a jacket or shield
A signal coaxial cable has a diameter which varies from 1 to 2.5 cm. Due to
protected construction; coaxial cable is much less vulnerable to interference
and crosstalk as compared to twisted pair. Coaxial cable can be used over
longer distance and support more stations on a common line than twisted
pair.
· Television Network
· Long-Distance Telephone Communication
· LocalArea Networks
213
Coaxial cable is also effectively used in the scenarios where distance is short
transmission. The optical fiber transports the data with very high speed by
converting electrical data signals into light signals and transmits it through a
thin glass fiber. These signals are re-converted into electrical signals.
The shape of optical fiber is like a cylinder that consists of three sections: the
core, cladding, and the jacket.
Core: Core is the inner most section which serves as light-carrying device.
Cladding: Cladding is the middle layer, which serves to detain the light to the
core. Jacket: Jacket is the outer layer which protects the core and cladding
from damage. It also serves as a "shock absorber" against crushing and other
environmental damages.
214
Some important features of optical fiber include the following:
pair.
3. They are smaller in size and lighter in weight.
4. They have greater capacity of data transmission.
1. Optical fibers are used as light guides and imaging tools for
microscopic study and factory automations.
2. Optical fibers are used as lasers for surgeries in medical field.
3. Optical fibers are used to construct networks of different
topologies.
4. Optical fibers provide high speed data transmission with
accuracy.
5. Broadcast/cable companies are using fiber optic cables for
wiring purposes.
215
and carry on to the receiving end. Important types of unguided media include
· Terrestrial Microwaves
· Satellite Microwaves
· Terrestrial Microwaves:
Terrestrial microwaves are used for both radio (voice) and television
transmission. It can also be used for closed-circuit television but short
216
point-to-point connections between buildings will be needed for the
transmission to work.
· Satellite Microwaves:
Satellites are transponders (units that receive on one frequency
and retransmit on another) that are set in orbits directly over the
equator. Communication satellites are microwave relay stations
placed in space.
Satellite dishes are used to send the signals to the satellite where it
is again send back down to the receiver satellite. The uplink is the
transmitter of data to the satellite and the downlink is the receiver
i. Television distribution
ii. Long-distance telephone communication
iii. Private commercial networks
217
used throughout the world. Programs are transmitted to the satellite and
divided into sub-channels and individual business users are given access
to it. They use special antennas and dishes to download the sub- channel
transmissions.
with the end systems. There are two important methods of switching i.e circuit
218
switching and packet switching.
connection between two end-points in the network for the period of the
connection.
After the circuit or channel has been established, the data transfer takes
place. The transmission path is booked during the transfer of data and other
systems/devices cannot use it until the data transfer is completed and the
services.
7.10.1.2 Disadvantages:
· Circuit switching requires a lot of formalities, during
219
220
7.10.2.2 Disadvantages of Packet Switching
· It is not good scheme for small data packages.
· The ordering of packets may alter during the transmission
Internet because it takes messages from one node to other. Each node receives
information and passes it to other until it reaches to its destination.
A router is a device that carries route to the routing process. It receives the packet
and forwards it to its next destination node. It is located at gateways, the network
connection point which connects two networks with each other.
A router can also maintain a data structure of the available routes and their
conditions. The information is used to manipulate distance and cost algorithms in
order to determine the best route for a given packet. Two popularly used routing
techniques include source and hop by hop routing.
221
through the network. In this routing technique, the source needs to pass
information along a specified way. Therefore the path through the network is
set by the source or a device. The device provides complete information
about the desired path to the network source. It is also assumed that packet
source is familiar with the design of the network and can indicate the optimal
path for the packet. Source routing can be used to troubleshoot a network and
increase the network performance.
working until the final destination is reached. Hop by hop routing decisions
are based on channel availability and readiness of adjacent nodes.
only, it receives packets and sends them directly. It connects one point of a network
to other turning it on and off as necessary. Switches work at layer 2 of the OSI model
(we will study OSI model in next section). A switch examines the MAC address and
determines where a packet should be sent within the data link header of the packet,
where the MAC address is unique identifier for a node over a network.Aswitch
222
maintains information about MAC address and related ports in database and uses it
The routing method makes use of routers. A router acts as a connector and a
scheduler and manages traffic of the network. It determines the optimal path
the packet. The information about destination host is maintained in routing table.
The router makes use of this routing to determine the route to the destination host.
The major types of network topologies include Star, Ring, Bus and Hybrid
topologies.
connection
223
device. All the data initiated by nodes passes through the Hub. The Hub
forwards it to the destination node. Hub also manages and controls the whole
network.
224
7.13.2 Ring Topology:
In a ring network; the nodes are attached with each other in a closed loop.
Each node has exactly two neighbors. The computers and devices connect
each other and complete the network. Each packet is initiated across the
circle and passes through all nodes until it reaches its final destination. Any
breaks in the connection loop might take down the entire network. Today,
the ring topology is seldom used.
225
5. It is easy to detect faults.
6. Adding and removing node is also simple
network
226
7.13.3.1 Advantages of a Linear Bus Topology:
1. It is easy to add a new node in bus topology.
2. Bus topology requires smaller cable length as compared to
star topology.
3. It is also cheaper as compared to star topology.
4. It is suitable for small networks.
dedicated connections are required between every node of the network and it
227
results in many redundant connections. The mesh topology is not frequently
228
7.13.4.2 Disadvantages of Mesh Topology
1. There are high chances of redundancy in many of the
network connections.
2. Overall cost of mesh network is high as compared to other
topologies.
3. Set-up and maintenance of this topology is also very
difficult.
information with each other. Computer Networks are classified into three broad
of systems and devices with each other within a limited geographical area,
such as office or school. Most LANs connect personal computers and other
devices including printers; with each other. Each node in a LAN has its own
CPU and storage area. In addition, it has the access to the resources of other
devices, such as laser printers, data and other resources in LAN. They can a l s o
229
i. They transfer data with very high speed.
ii. They exist in a small geographical area.
iii. The LAN technology is less expensive.
usually covers several buildings and offices in the same city or area. It can connect
several nearby LANs to one another (over an area of up to a few kilometers) at
high speeds.
properties:
MANs.
iv. The WAN technology is expensive.
230
7.15 Communication Protocol:
A computer network connects two or more nodes together to share data,
the scene in order to run the network smoothly. However the smooth running of
protocol describes the rules and regulations for data transfer between nodes over a
network.
231
A layered protocol provides a conceptual framework to simplify the network
design by dividing it into functional layers. These functional layers take the
responsibility of data exchange in different forms and levels. Each protocol layer
higher protocol layer. It also conceal the details of the main physical network
infrastructure.
The OSI model consists of seven layers, each corresponding to a specific network
function. The seven layers are Physical, Data Link, Network, Transport, Session,
Presentation andApplication.
232
Figure-7.17: OSI Layers
It receives messages, from upper layers and assembles it into frames. Data
Link layer converts these frames into bits for transmission over the network.
It also receives the bit at the other end and reconverts it into the frames. The
233
Data Link layer has other functions as well, such as physical addressing,
error, flow and access control for a single link between network nodes.
addresses into physical addresses. It determines the path of the data on the
basis of network environment, urgency of service, and other factors. It also
manages traffic flow and associated problems on the network, such as
The network layer handles the routing and packet filtration using the logical
addressing mechanism.
the form of packets. It submits the packets to network layer for transmission
delivery of packets and sequenced and ensures error delivery without losses
or duplications.
The Transport Layer facilitate the upper but hiding the complexities of
network operation from them. It also manages connection, flow and error
checkpoints break the data into smaller groups for error detection.
The Session Layer also incorporates protocols to resume dialogues that have
been interrupted.
235
7.16.6 Layer 6: Presentation Layer
The Presentation Layer looks after syntax (grammatical rules) and
semantics of information needed for communication between two nodes. It
defines the data and display format required to exchange information among
network computers. The Presentation layer also handles the data formatting
details, such as data encryption and data compression.
236
4. Control the flow of data.
features.
characteristics.
237
Q.No.7. Explain the difference between Switching and Routing.
7.18 SelfAssessmentActivities:
238