Data Communications Notes For BCA 6th Semester PDF
Data Communications Notes For BCA 6th Semester PDF
Data Communication & Computer Networks Notes for BCA 6th semester VBSPU
Semester-6
BCA 601
Data Communication
& Computer Networks
(According to Purvanchal University Syllabus)
On June 25/08/2020
Unit – 1
Digital Communication
Fundamentals of Digital Communication–
Digital communication is the process of devices communicating
information digitally.
A system of interconnected computers and computerized peripherals
such as printers is called computer network. This interconnection among
computers facilitates information sharing among them. Computers may
connect to each other by either wired or wireless media.
Data Communications provides the rules and regulations that allow
computers with different operating systems, languages, cabling, and
locations to share resources.
Communication Channel–
A communication channel refers either to a physical transmission medium such
as a wire, or to a logical connection over a multiplexed medium such as a radio
channel in telecommunications and computer networking. ... Cable or wire line
media use physical wires of cables to transmit data and information.
Transmitter–
A transmitter is an electronic device used in telecommunications to produce
radio waves in order to transmit or send data with the aid of an antenna. The
transmitter is able to generate a radio frequency alternating current that is
then applied to the antenna, which, in turn, radiates this as radio waves.
Channel Noise–
Noise is an unwanted signal which interferes with the original message signal
and corrupts the parameters of the message signal. This alteration in the
communication process, leads to the message getting altered. It is most likely
to be entered at the channel or the receiver.
Frequency modulation–
Frequency modulation (FM) is the encoding of information in a carrier wave by
varying the instantaneous frequency of the wave. The term and technology are
used in computing, signal processing and telecommunications.
Sampling
The process of converting continuous time signals into equivalent
discrete time signals, can be termed as Sampling. A certain instant of
data is continually sampled in the sampling process.
The following figure indicates a continuous-time signal x(t) and a
sampled signal xs(t). When x(t) is multiplied by a periodic impulse train,
the sampled signal xs(t) is obtained.
A sampling signal is a periodic train of pulses, having unit amplitude,
sampled at equal intervals of time Ts, which is called as the Sampling
time. This data is transmitted at the time instants Ts and the carrier
signal is transmitted at the remaining time.
PCM–
Modulation is the process of varying one or more parameters of a carrier
signal in accordance with the instantaneous values of the message signal.
The message signal is the signal which is being tr
transmitted
ansmitted for communication
and the carrier signal is a high frequency signal which has no data, but is used
for long distance transmission.
There are many modulation techniques, which are classified according to the
type of modulation employed. Of them al
all,l, the digital modulation technique
used is Pulse Code Modulation PCM.
A signal is pulse code modulated to convert its analog information into a
binary sequence, i.e., 1s and 0s.. The output of a PCM will resemble a binary
sequence. The following figure sho
showsws an example of PCM output with respect
to instantaneous values of a given sine wave.
Scrambler
In telecommunications and recording, a scrambler (also referred to as a
randomizer) is a device that manipulates a data stream before transmitting.
The manipulations are reversed by a descrambler at the receiving side.
Scrambling is widely used in satellite, radio relay communications and PSTN
modems.
Unscramble
Descramble in cable television context is the act of taking a scrambled or
encrypted video signal that has been provided by a cable television
company for premium television services, processed by a scrambler and
then supplied over a coaxial cable and delivered to the household where
a set-top box reprocesses the signal, thus descrambling it and making it
available for viewing on the television set.
A descrambler is a device that restores the picture and sound of a
scrambled channel. A descrambler must be used with a cable converter
box to be able to unencrypt all of the premium & pay-per-view channels
of a Cable Television System.
Modulation Registrars–
Bandpass Modulation or Passband Modulation refers to modulation of signal
over a carrier frequency. In these techniques the signal to be transmitted is
sent by modulating either one or more of the three properties of carrier wave.
Unit – 2
Introduction
Uses of computer networks–
Computer Networks: Business Applications
Following are some business applications of computer networks:
1. Resource Sharing:
The goal is to make all programs, equipments(like printers etc), and especially
data, available to anyone on the network without regard to the physical
location of the resource and the user.
2. Server-Client model:
One can imagine a company's information system as consisting of one or more
databases and some employees who need to access it remotely. In this model,
the data is stored on powerful computers called Servers. Often these are
centrally housed and maintained by a system administrator. In contrast, the
employees have simple machines, called Clients, on their desks, using which
they access remote data.
3. Communication Medium:
A computer network can provide a powerful communication medium among
employees. Virtually every company that has two or more computers now has
e-mail (electronic mail), which employees generally use for a great deal of daily
communication
4. eCommerce:
A goal that is starting to become more important in businesses is doing
business with consumers over the Internet. Airlines, bookstores and music
vendors have discovered that many customers like the convenience of
shopping from home. This sector is expected to grow quickly in the future.
Network Architecture
Architecture–
Computer Network Architecture is defined as the physical and logical design of
the software, hardware, protocols, and media of the transmission of data.
Simply we can say that how computers are organized and how tasks are
allocated to the computer.
o Peer-To-Peer network
o Client/Server network
Peer-To-Peer network
o Peer-To-Peer network is a network in which all the computers are linked
together with equal privilege and responsibilities for processing the
data.
o Peer-To-Peer network is useful for small environments, usually up to 10
computers.
o Peer-To-Peer network has no dedicated server.
o Special permissions are assigned to each computer for sharing the
resources, but this can lead to a problem if the computer with the
resource is down.
Client/Server Network
o Client/Server network is a network model designed for the end users
called clients, to access the resources such as songs, video, etc. from a
central computer known as Server.
o The central controller is known as a server while all other computers in
the network are called clients.
o A server performs all the major operations such as security and network
management.
o A server is responsible for managing all the resources such as files,
directories, printer, etc.
o All the clients communicate with each other through a server. For
example, if client1 wants to send some data to client 2, then it first
sends the request to the server for the permission. The server sends the
response to the client 1 to initiate its communication with the client 2.
The seven layers of the OSI Model are a physical layer, data link layer, network
layer, transport layer, session layer, presentation layer, and application layer.
The hierarchy is depicted in the following figure −
IP Address Classes
Internet Protocol hierarchy contains several classes of IP Addresses to
be used efficiently in various situations as per the requirement of hosts
per network. Broadly, the IPv4 Addressing system is divided into five
classes of IP Addresses. All the five classes are identified by the first
octet of IP Address.
Internet Corporation for Assigned Names and Numbers is responsible
for assigning IP addresses.
The first octet referred here is the left most of all. The octets numbered as
follows depicting dotted decimal notation of IP Address −
The number of networks and the number of hosts per class can be derived by
this formula −
Class A Address
The first bit of the first octet is always set to 0 (zero). Thus the first octet
ranges from 1 – 127, i.e.
Class B Address
An IP address which belongs to class B has the first two bits in the first octet
set to 10, i.e.
Class C Address
The first octet of Class C IP address has its first 3 bits set to 110, that is −
Class D Address
Very first four bits of the first octet in Class D IP addresses are set to 1110,
giving a range of −
host, that is why there is no need to extract host address from the IP address,
and Class D does not have any subnet mask.
Class E Address
This IP Class is reserved for experimental purposes only for R&D or Study. IP
addresses in this class ranges from 240.0.0.0 to 255.255.255.254. Like Class D,
this class too is not equipped with any subnet mask.
Subneting
Subnetting is a process of dividing a single large network in multiple smaller
networks. A single large network is just like a town without any sector and
street address. In such a town, a postman may take 3 to 4 days in finding a
single address. While if town is divided in sectors and streets, he can easily find
any address in less than one hour.
Physical Layer
Transmission media-Magnetic Media–
Transmission Media-
o Transmission media is a communication channel that carries the
information from the sender to the receiver. Data is transmitted through
the electromagnetic signals.
o The main functionality of the transmission media is to carry the
information in the form of bits through LAN(Local Area Network).
o It is a physical path between transmitter and receiver in data
communication.
o In a copper-based network, the bits in the form of electrical signals.
o In a fibre based network, the bits in the form of light pulses.
o In OSI(Open
(Open System Interconnection) phase, transmission media
supports the Layer 1. Therefore, it is considered to be as a Layer 1
component.
Magnetic media-
Any storage medium that utilizes magnetic patterns to represent information is
considered magnetic media. Good exemples of a magnetic media and
magnetic storage is a tape drive, floppy diskette, and hard drive.
Twisted Pair–
A twisted pair cable is a type of cable made by putting two seseparate
parate insulated
wires together in a twisted pattern and running them parallel to each other.
This type of cable is widely used in different kinds of data and voice
infrastructures.
Fibre Cable–
An optical fiber cable is a type of cable that has a number of optical
fibers bundled together, which are normally covered in their individual
protective plastic covers.
Optical cables are used to transfer digital data signals in the form of light
up to distances of hundreds of miles with higher throughput rates than
those achievable via electrical communication cables.
Structured Cabling–
It plays an important role in dealing with the complicated and specific
cabling. As a data transmission system, structured cabling support data,
multiple voices, videos, and various management systems such as
security access and energy system.
Structured cabling is define as building or campus telecommunications
cabling infrastructure. Typically, it consists of a number of standardized
smaller elements. In a structured cabling system, there is a structure
created by a series of patch panels and trunks. It allows for a connection
from hardware ports to a patch panel at the top of the rack.
Cable Mounting–
The role of cable mounting is insttaling the cable into a size. When cable
is use in a device, then start to transfor the data from one computer to
another computer.
Cable Testing–
Whether installing new cable, or troubleshooting existing cable,
ethernet network cable testing plays an important role in the process.
Common network tests for datacom cabling include length, wiremap,
attenuation, NEXT, DC loop resistance, and return loss. As networks
avolve, so do the requirements of the cabling infrastructure to support
them.
New network cabling standards are continuosly being developed to
provide guidelines for cabling professionals when installing, testing,
troubleshooting, and certifying either copper and fiber cable network
network.
Wireless Transmission–
Wireless comminucation technology has developed significantly over the
past few decades and has because one of the most important types of
media transmission from one device to another.
Without the use of wires or electronic conductors, information can be
transmitted by using electromagnetic waves. The various types of
wireless communication include radio broadcast (RF) Infrared (IR),
satellite, microwave, and Bluetooth.
Mobile phones, GPS, WiFi, and cordless telephones are devices that use
wireless transmission to exchange data and information.
Toll connecting trunk − Lines that connect end offices with toll offices.
offices
Narrowband ISDN
ISDN–
There are a set of communication standards for simultaneous digital
transmission of voice, vvideo,
ideo, data, and other network services over the
traditional circuits of the public switched telephone network.
Before Integrated Service Digital Network (ISDN), the telephone system
was seen as a way to transmit voice, with some special services available
for data. The main feature of ISDN is that it can integrate speech and
data on the same lines, which were not available in the classic telephone
system.
Unit – 3
Data Link Layer
Data Link Layer Design Issues–
The data link layer in the OSI (Open System Interconnections) Model is in
between the physical layer and the network layer. This layer converts the raw
transmission facility provided by the physical layer to a reliable and error free
link. The main functions and the design issues of this layer are
Error Correction –
In the digital world, error correction can be done in two ways:
The first one, Backward Error Correction, is simple and can only be
efficiently used where retransmitting is not expensive. For example, fiber
The services provided by the data link protocols may be any of the following –
Framing − the stream of bits from the physical layer are divided into data
frames whose size ranges from a few hundred to a few thousand bytes.
These frames are distributed to different systems, by adding a header to
the frame containing the address of the sender and the receiver.
Flow Control − through flow control techniques, data is transmi ed in
such a way so that a fast sender does not drown a slow receiver.
Error Detection and/or Correction − these are techniques of detec ng
and correcting data frames that have been corrupted or lost during
transmission.
Multipoint transmission − Access to shared channels and multiple points
are regulated in case of broadcasting and LANs.
The services provided by the data link protocols may be any of the following –
Framing − the stream of bits from the physical layer are divided into data
frames whose size ranges from a few hundred to a few thousand bytes.
These frames are distributed to different systems, by adding a header to
the frame containing the address of the sender and the receiver.
Flow Control − through flow control techniques, data is transmi ed in
such a way so that a fast sender does not drown a slow receiver.
Error Detection and/or Correction − these are techniques of detec ng
and correcting data frames that have been corrupted or lost during
transmission.
Multipoint transmission − Access to shared channels and mul ple points
are regulated in case of broadcasting and LANs.
Unit – 4
The Medium Access Sub Layer
The Channel Allocation Problem
Problem–
Channel allocation is a process in which a single channel is divided and
allotted to multiple users in order to carry user specific tasks. There are
user’s quantity may vary every time the process takes place.
If there is N number of users and channel is divided into N equal
equal-sized
sub channels, each user is assigned one portion. If the number of users
are small and don’t vary at times, than Frequency Division Multiplexing
can be used as it is a simple and efficient channel bandwid
bandwidth allocating
technique.
Channel allocation problem can be solved by two schemes: Static
Channel Allocation in LANs and MANs, and Dynamic Channel Allocation.
T = 1/(U*C-L)
T(FDM) = N*T(1/U(C/N)-L/N
L/N) Where,
2. Single Channel Assumption: In this allocation all stations are equivalent and
can send and receive on that channel.
and other area networks, using an open and accredited process, and
advocates them on a global basis.
The most widely used standards are for Ethernet, Bridging and Virtual
Bridged LANs Wireless LAN, Wireless PAN, Wireless MAN, Wireless
Coexistence, Media Independent Handover Services, and Wireless RAN.
An individual Working Group provides the focus for each area.
Fibre Channel
Fiber net II
S-Net
Fas net and Express net
Satellite Networks–
There are two basic types of satellite system that are used for satellite
communication. First in the discussion are low earth orbit satellites, or
LEO satellites. These are satellites that orbit at an altitude between 400
and 1000 miles above the earth.
LEO satellite systems consist of a number of satellites orbiting the earth
to provide a net of coverage over all or most of the planet.
Network Devices:
Repeaters–
A repeater operates at the physical layer. Its job is to regenerate the signal
over the same network before the signal becomes too weak or corrupted so as
to extend the length to which the signal can be transmitted over the same
network.
Hubs–
A hub is basically a multiport repeater. A hub connects multiple wires coming
from different branches, for example, the connector in star topology which
connects different stations.
Switches–
A switch is a network device used for electrical or optical signal forwarding. It
provides an exclusive electrical signal path for any two network nodes that
access the switch.
It has multiple ports, each with a bridge function that can be connected to LAN
or a high-performance server or workstation.
Bridges–
Bridge, known as Network Bridge, is a network interconnection device used to
connect two or more local area networks.
It is responsible for network bridging, which receives and amplifies signals from
a network cable, and then sends them to the next cable.
Unit – 5
Network Layer
Network Layer Design issue–
A number of design issues exist for the layer to layer approach of computer
networks. Some of the main design issues are as follows:
Routing algorithms–
o In order to transfer the packets from source to the destination, the
network layer must determine the best route through which packets can
be transmitted.
o Whether the network layer provides datagram service or virtual circuit
service, the main job of the network layer is to provide the best route.
The routing protocol provides this job.
o The routing protocol is a routing algorithm that provides the best path
from the source to the destination. The best path is the path that has
the "least-cost path" from source to the destination.
o Routing is the process of forwarding the packets from source to the
destination but the best route to send the packets is determined by the
routing algorithm.
Web sites
E-mail
Instant Messaging
Blogging
Social Media
Marketing
Networking
Resource Sharing
Audio and Video Streaming
The network layer in the Internet–
The internet layer is a group of internetworking methods, protocols, and
specifications in the Internet protocol suite that are used to
transport network packets from the originating host
across network boundaries; if necessary, to the destination host specified by
an IP address.