Data Communication & Computer Networks

Sreedhar Chowdam
Sreedhar ChowdamG.Pulla Reddy Engineering College, Kurnool
Data Communication
and
Computer Networks
Computer Networks
*Note: Some content is copied from internet source. I thank the creators of the copied content.
Data Communication
and
Computer Networks
Computer Networks
Course Instructor:
Dr. C. Sreedhar
*Note: Some content is copied from internet source. I thank the creators of the copied content.
Data Communication & Computer Networks
Unit 1
Introduction:
 Data Communication, Components,
Data Representations, Dataflow,
Network Topologies, categories of networks,
Internet, protocols and standards.
Internet, protocols and standards.
Network Models:
Layered tasks, OSI Reference model, layers in OSI model,
TCP/IP Protocol suit,
Addressing – Physical address, Logical address, port addresses.
Unit 1
Data Communication, Components,
Data Representations, Dataflow,
Network Topologies, categories of networks,
Internet, protocols and standards.
Internet, protocols and standards.
Layered tasks, OSI Reference model, layers in OSI model,
Physical address, Logical address, port addresses.
Unit 2
Physical layer and Transmission Media:
Analog and digital signals,
Digital signals –Bit rate, Bit length,
Transmission of digital signals,
Transmission Impairments – Attenuation, Distortion and Noise,
Transmission Impairments – Attenuation, Distortion and Noise,
Performance – Bandwidth, Throughput, Latency, Jitter.
Data Link Layer:
Error detection – Introduction, Block coding
detection, error correction,
hamming distance and minimum hamming distance, CRC
codes, Checksum.
Unit 2
Physical layer and Transmission Media:
and digital signals,
Bit rate, Bit length,
Transmission of digital signals,
Attenuation, Distortion and Noise,
Attenuation, Distortion and Noise,
Bandwidth, Throughput, Latency, Jitter.
Introduction, Block coding – error
detection, error correction,
hamming distance and minimum hamming distance, CRC
Unit 3
Network layer:
Design Issues - store-and-
Services to transport layer
Connection oriented services
Routing Algorithms:
Routing Algorithms:
The optimality principle, shortest path routing,
Flooding,
Distance vector and Link state,
Multicast Routings.
Unit 3
-forward,
Services to transport layer - Connection less and
Connection oriented services
The optimality principle, shortest path routing,
Distance vector and Link state,
Unit 4
Congestion Control:
Principles, congestion prevention policies,
congestion control in virtual circuits and
datagram subnets, load shedding, jitter control.
Internetworking:
Internetworking:
Tunneling, Internet work routing, Fragmentation.
The IP protocol, IP address,
Gateway routing protocols: OSPF, BGP.
Unit 4
Principles, congestion prevention policies,
congestion control in virtual circuits and
datagram subnets, load shedding, jitter control.
Tunneling, Internet work routing, Fragmentation.
The IP protocol, IP address,
Gateway routing protocols: OSPF, BGP.
Unit 5
Transport Layer:
UDP, TCP- service model, protocol, segment header,
connection management, Transmission Policy.
Application Layer:
The DNS Name Space,
The DNS Name Space,
Resource Records, Name Servers.
Unit 5
service model, protocol, segment header,
connection management, Transmission Policy.
Resource Records, Name Servers.
Data Communication & Computer Networks
DCCN Lab: List of Experiments
Basic network command and Network configuration commands.
Create a network models using packet tracer.
Perform an Initial Switch Configuration using packet tracer
Investigate the TCP-IP and OSI Models using packet tracer
Implement Cyclic Redundancy Code
Implement Dijkstra’s algorithm to find the best path
Implement the Distance vector routing algorithm.
Implement congestion control using leaky bucket algorithm
Implement Domain name server
Implement client server model
DCCN Lab: List of Experiments
Basic network command and Network configuration commands.
Create a network models using packet tracer.
Perform an Initial Switch Configuration using packet tracer
IP and OSI Models using packet tracer
Implement Cyclic Redundancy Code
algorithm to find the best path
Implement the Distance vector routing algorithm.
Implement congestion control using leaky bucket algorithm
Unit 1
• Data Communications
• Definition
• Components of DC
• Data representation
• Data flow
• Data flow
• Networks
• Network criteria
• Types of connections
• Categories of topology
• Network Models
Unit 1
• Protocols and Standards
• Definition
• Standards
ata Communication: Definition
Data communications
are the exchange of
data between two
devices via some form
of transmission
devices via some form
of transmission
medium such as a wire
cable.
ata Communication: Definition
Data Communication
The effectiveness of a data communications system
depends on four fundamental characteristics:
• Delivery: deliver data to the correct destination
• Accuracy: system must deliver the data accurately
• Accuracy: system must deliver the data accurately
• Timeliness: system must deliver data in a timely
manner
• Jitter: refers to the variation in the packet arrival tim
The effectiveness of a data communications system
depends on four fundamental characteristics:
: deliver data to the correct destination
: system must deliver the data accurately
: system must deliver the data accurately
: system must deliver data in a timely
: refers to the variation in the packet arrival tim
ata Communication: Components
ve components
Sender
Message
Transmission medium
Transmission medium
Protocol
Receiver
otocol is defined as a set of
s that governs data
munications.
ata Communication: Components
ements of a Protocol
• Syntax
• Structure or format of the data
• Indicates how to read the bits -
• Semantics
• Interprets the meaning of the bits
Elements of Protocol
1.14
• Interprets the meaning of the bits
• Knows which fields define what action
• Timing
• When data should be sent and what
• Speed at which data should be sent or speed at which it is being
received.
Structure or format of the data
field delineation
Interprets the meaning of the bits
Elements of Protocol
Interprets the meaning of the bits
Knows which fields define what action
When data should be sent and what
Speed at which data should be sent or speed at which it is being
Data Representation
• Text:
• Text is represented as a bit pattern.
• Unicode uses 32 bits to represent a symbol or character
• Numbers
• Numbers are also represented by bit patterns.
• number is directly converted to a binary number
• number is directly converted to a binary number
• Images
• Images are also represented by bit patterns.
• image is composed of a matrix of pixels
• each pixel is assigned a bit pattern.
• Audio and Video:
Text is represented as a bit pattern.
Unicode uses 32 bits to represent a symbol or character
Numbers are also represented by bit patterns.
number is directly converted to a binary number
number is directly converted to a binary number
Images are also represented by bit patterns.
image is composed of a matrix of pixels
Data Flow
mmunication between two devices can be simplex or half
l-duplex
mmunication between two devices can be simplex or half-duplex, or
Review
•Data Communications
• Definition
• Characteristics that affect DC
• Components of DC
• Data representation
• Data representation
• Data flow
Characteristics that affect DC
Data
Data
Data
Data
Data
Data
NETWORKS
NETWORKS
network
network is
is a
a set
set of
of devices
devices (nodes
(nodes
nks
nks.
.
node
node can
can be
be a
a computer,
computer, printer,
printer,
ending
ending and/or
and/or receiving
receiving data
data generated
generated
ending
ending and/or
and/or receiving
receiving data
data generated
generated
etwork
etwork.
.
link
link can
can be
be a
a cable,
cable, air,
air, optical
optical
ansport
ansport a
a signal
signal carrying
carrying information
information
NETWORKS
NETWORKS
(nodes
(nodes)
) connected
connected by
by communicatio
communicatio
printer,
printer, or
or any
any other
other device
device capable
capable
generated
generated by
by other
other nodes
nodes on
on th
th
generated
generated by
by other
other nodes
nodes on
on th
th
optical
optical fiber,
fiber, or
or any
any medium
medium which
which ca
ca
information
information.
.
Network Criteria
• Performance:
• Measured: transit time and response time
• Transit time: time required for a message to travel from A
• Response time: elapsed time between inquiry and response
• Evaluated using two metrics:
• Evaluated using two metrics:
• throughput and delay (more throughput and less delay).
• Reliability:
• measured by the frequency of failure
• Security
• Network security issues include protecting data from unauthorized access
Measured: transit time and response time
Transit time: time required for a message to travel from AB
Response time: elapsed time between inquiry and response
throughput and delay (more throughput and less delay).
measured by the frequency of failure
Network security issues include protecting data from unauthorized access
• Point to Point - single transmitter and
Ex: Television remote control
• Multipoint - multiple recipients of single transmission
• Ex: Telephone Line
Types of Connections
single transmitter and receiver
multiple recipients of single transmission
Types of Connections
Physical topology
ology refers to the way in which a network is laid out physically
Physical topology
ology refers to the way in which a network is laid out physically
Mesh topology
every device has a dedicated point
every other device.
Total no. of connections???
Manages high amounts of traffic
Manages high amounts of traffic
Withstands failure of link.
Adding nodes easily added
Can avoid problems, malicious users
amount of cabling
number of I/O ports
installation and reconnection are difficult
ctical example: connection of
ephone regional offices
topology
every device has a dedicated point-to-point link
every other device.
Total no. of connections??? n(n-1)/2
Advantages
Manages high amounts of traffic
Manages high amounts of traffic
Withstands failure of link.
Adding nodes easily added
Can avoid problems, malicious users
Disadvantages
amount of cabling
number of I/O ports
installation and reconnection are difficult
A star topology
If the hub goes down, the whole system goes
down.
e star topology is used in local-area
tworks (LANs)
each device needs only one link and on
I/O port to connect it to any number of
others
Advantages
less expensive than a mesh topology.
robust: If one link fails, only that link is
robust: If one link fails, only that link is
affected
Disadvantages
If the hub goes down, the whole system goes
down.
bus topology
des are connected to the bus cable by drop lines and taps
rop line is a connection running between device and main cable.
ap is a connector
ap is a connector
e long cable acts as a backbone to link all the devices in a network
Advantages
s uses less cabling than mesh or star topologies
Disadvantages
ficult reconnection and fault isolation
gnal reflection at the taps can cause degradation
ault or break in the bus cable stops all transmission
topology
des are connected to the bus cable by drop lines and taps
rop line is a connection running between device and main cable.
e long cable acts as a backbone to link all the devices in a network
Advantages
s uses less cabling than mesh or star topologies
Disadvantages
gnal reflection at the taps can cause degradation
ault or break in the bus cable stops all transmission
Ring topology
Ring topology
Ring Topology
Each device has a dedicated point to point connection with only two devices on e
e of it.
Signal is passed along the ring in one direction till it reaches destination
Each device has a repeater
When a device receives signal to be passed, its repeater regenerates bits and
sses along.
Advantages
asy to install and reconfigure
ault isolation is simple
Disadvantages
directional traffic
ak in the ring disables entire network; solved by dual ring
Ring Topology
Each device has a dedicated point to point connection with only two devices on e
Signal is passed along the ring in one direction till it reaches destination
When a device receives signal to be passed, its repeater regenerates bits and
Advantages
Disadvantages
ak in the ring disables entire network; solved by dual ring
A hybrid topology: a star backbone with three bus networks
Main Star topology with each branch connecting several stations in a
bus topology
hybrid topology: a star backbone with three bus networks
Main Star topology with each branch connecting several stations in a
• Local Area Networks (LANs)
• Short distances
• Designed to provide local interconnectivity
• Wide Area Networks (WANs)
• Long distances
• Provide connectivity over large areas
Categories
• Provide connectivity over large areas
• Metropolitan Area Networks (MANs)
• Provide connectivity over areas such as a city, a campus
Categories of Networks
Provide connectivity over areas such as a city, a campus
AN
N
vately owned and links devices in a single office,building,campus
N size is limited to few kms
Ns allow resources to be shared between devices.
N uses oonly one type of transmission medium
mmon LAN topologies: Bus, Star, Ring
ta rate in LANs 100 or 1000 Mbps
office,building,campus.
Ns allow resources to be shared between devices.
one type of transmission medium
WANs: a switched WAN and a point
: a switched WAN and a point-to-point WAN
A heterogeneous network made of four WANs and two LANs
heterogeneous network made of four WANs and two LANs
LAN MAN
ocal Area Network Metropolitan Area Network
onnects group of computers in
small geographic area
Covers large region such as
cities, towns
etup cost is low Setup cost is higher than LAN
andwidth is low Bandwidth is higher than LAN
wisted pair, fiber optic cables Twisted pair, fiber optic cables
overage: ~ 2 miles Coverage: 100 miles
MAN WAN
Metropolitan Area Network Wide Area Network
Covers large region such as Spans large locality and connects
countries together
Setup cost is higher than LAN Most expensive network setup
Bandwidth is higher than LAN Highest bandwidth among all
types of networks
Twisted pair, fiber optic cables High speed communications:
fiber optic, wireless, satellite
Coverage: 100 miles Coverage: 1000 Km
Elements of Protocol
Elements of a protocol:
• Syntax
• Semantics
• Timing
yntax: structure or format of data
yntax: structure or format of data
Elements of protocol
• Semantics: meaning of each section of bits
Timing: when data should be sent and how fast they can be sent
meaning of each section of bits
when data should be sent and how fast they can be sent
Standards
o categories
De facto: not approved by an organized body but adopted
De jure: Legislated by an officially recognized body
ndards Creation Committees
International Standards Organization (ISO)
International Standards Organization (ISO)
International Telecommunications Union (ITU)
American National Standards Institute (ANSI)
Institute of Electrical and Electronics Engineers (IEEE)
Electronic Industries Association (EIA)
Internet Engineering Task Force (IETF
: not approved by an organized body but adopted
: Legislated by an officially recognized body
International Standards Organization (ISO)
International Standards Organization (ISO)
International Telecommunications Union (ITU)
American National Standards Institute (ANSI)
Institute of Electrical and Electronics Engineers (IEEE)
Electronic Industries Association (EIA)
Internet Engineering Task Force (IETF)
Data Communication & Computer Networks
Need for Layered Architecture
• E.g., A can only speak Chinese, B can only speak Spanish, how can
A communicate with B?
• A finds a translator C, who can speak Chinese and English
• B finds a translator D, who can speak Spanish and English
• Two layers:
• Two layers:
• Higher layer: A and B
• Lower layer: C and D
Need for Layered Architecture
E.g., A can only speak Chinese, B can only speak Spanish, how can
a translator C, who can speak Chinese and English
a translator D, who can speak Spanish and English
38
A Two-layer example
messages in
How to communicate?
A
r
messages in
Chinese
messages in English
C
Lower layer provides services to the next higher layer.
messages in
How to communicate?
B
39
messages in English
messages in
Spanish
D
Lower layer provides services to the next higher layer.
ISO OSI Model
Origin for ISO OSI Model
Origin for ISO OSI Model
HE
HE OSI MODEL
OSI MODEL
ablished
ablished in
in 1947
1947,
, the
the International
International
multinational
multinational body
body dedicated
dedicated to
to worldwide
worldwide
ndards
ndards.
.
ISO
ISO standard
standard that
that covers
covers all
all aspects
aspects
ISO
ISO standard
standard that
that covers
covers all
all aspects
aspects
Open
Open Systems
Systems Interconnection
Interconnection (OSI)
(OSI)
he
he late
late 1970
1970s
s.
.
International
International Standards
Standards Organization
Organization (ISO)
(ISO) is
is
worldwide
worldwide agreement
agreement on
on international
international
aspects
aspects of
of network
network communications
communications is
is
aspects
aspects of
of network
network communications
communications is
is
(OSI)
(OSI) model
model.
. It
It was
was first
first introduced
introduced
Seven layers of the OSI model
layers of the OSI model
The interaction between layers in the OSI model
interaction between layers in the OSI model
exchange using the OSI model
using the OSI model
Layer 1: Physical Layer
Responsible of:
• Transmitting individual bits from one to the next.
• Physical characteristics of interface and media.
• Representation of bits: a stream of bit(0s,1s),
• Data rate.
• Data rate.
• Synchronize of bits
• Line configuration
• Physical topology
• Transmission mode
Layer 1: Physical Layer
Transmitting individual bits from one to the next.
Physical characteristics of interface and media.
Representation of bits: a stream of bit(0s,1s),
Physical Layer cont.
Layer 2: Data Link layer
Responsible of:
• Moving frames from one hop (node) to the next.
• Framing: divided the stream of bits received from the network layer
manageable data units called frames.
• Physical address (MAC address).
• Physical address (MAC address).
• Flow control.
• Error control: added trailer to the end of frame.
• Access control.
• Hop to hop delivery
Layer 2: Data Link layer
Moving frames from one hop (node) to the next.
Framing: divided the stream of bits received from the network layer
Error control: added trailer to the end of frame.
Data Link layer cont.
10110110101 01100010011
01100010011 10110000001
Hop-to-Hop delivery
Data Link Layer Example
Data Link Layer Example
1 de 51

Recomendados

DCCN Unit 1.pdf por
DCCN Unit 1.pdfDCCN Unit 1.pdf
DCCN Unit 1.pdfSreedhar Chowdam
1.1K vistas70 diapositivas
Data Communication and Computer Networks por
Data Communication and Computer NetworksData Communication and Computer Networks
Data Communication and Computer NetworksSreedhar Chowdam
421 vistas106 diapositivas
Fiber Optics Course por
Fiber Optics Course Fiber Optics Course
Fiber Optics Course Ahmed OM
3.2K vistas55 diapositivas
multiple access techniques used in wireless communication por
multiple access techniques used in wireless communicationmultiple access techniques used in wireless communication
multiple access techniques used in wireless communicationSajid ali
3.6K vistas17 diapositivas
ISDN Integrated Services Digital Network por
ISDN Integrated Services Digital NetworkISDN Integrated Services Digital Network
ISDN Integrated Services Digital NetworkMadhumita Tamhane
19K vistas59 diapositivas
Chapter 13 por
Chapter 13Chapter 13
Chapter 13Faisal Mehmood
2.7K vistas40 diapositivas

Más contenido relacionado

La actualidad más candente

Digital switching system ppt por
Digital switching system pptDigital switching system ppt
Digital switching system pptGopalakrishnaM4
3.2K vistas21 diapositivas
Public Switched Telephone Network por
Public Switched Telephone NetworkPublic Switched Telephone Network
Public Switched Telephone NetworkHaither Mithath
46.5K vistas19 diapositivas
SDH BASICS por
SDH BASICSSDH BASICS
SDH BASICSNiranjan Poojary
22.7K vistas47 diapositivas
Chapter 6 por
Chapter 6Chapter 6
Chapter 6Faisal Mehmood
8.7K vistas58 diapositivas
Isdn por
IsdnIsdn
IsdnAmit Thakur
11K vistas23 diapositivas
microwave communication por
microwave communicationmicrowave communication
microwave communicationATTO RATHORE
16.6K vistas32 diapositivas

La actualidad más candente(20)

Digital switching system ppt por GopalakrishnaM4
Digital switching system pptDigital switching system ppt
Digital switching system ppt
GopalakrishnaM43.2K vistas
Public Switched Telephone Network por Haither Mithath
Public Switched Telephone NetworkPublic Switched Telephone Network
Public Switched Telephone Network
Haither Mithath46.5K vistas
microwave communication por ATTO RATHORE
microwave communicationmicrowave communication
microwave communication
ATTO RATHORE16.6K vistas
Transmission media por kinish kumar
Transmission mediaTransmission media
Transmission media
kinish kumar54.8K vistas
telecommunication basic 1 por kasup uditha
telecommunication basic 1telecommunication basic 1
telecommunication basic 1
kasup uditha715 vistas
Data Communication 1 por admercano101
Data Communication 1Data Communication 1
Data Communication 1
admercano1015.1K vistas
Communication System Basics por A B Shinde
Communication System BasicsCommunication System Basics
Communication System Basics
A B Shinde178 vistas
dsl (digital subscriber line) por waheed iqbal
dsl (digital subscriber line)dsl (digital subscriber line)
dsl (digital subscriber line)
waheed iqbal4.6K vistas
Data communication principle por 1Arun_Pandey
Data communication  principleData communication  principle
Data communication principle
1Arun_Pandey996 vistas
Topic : ISDN(integrated services digital network) part 2 por Dr Rajiv Srivastava
Topic : ISDN(integrated services digital network) part 2Topic : ISDN(integrated services digital network) part 2
Topic : ISDN(integrated services digital network) part 2
Dr Rajiv Srivastava1.2K vistas
Lecture3 Physical Layer por Waqas !!!!
Lecture3 Physical LayerLecture3 Physical Layer
Lecture3 Physical Layer
Waqas !!!!12.3K vistas
IPv6 header por Heba_a
IPv6 headerIPv6 header
IPv6 header
Heba_a2.3K vistas
optical fiber communication system por Muhammad Ahsan
optical fiber communication systemoptical fiber communication system
optical fiber communication system
Muhammad Ahsan1.5K vistas

Similar a Data Communication & Computer Networks

ppt_dcn.pdf por
ppt_dcn.pdfppt_dcn.pdf
ppt_dcn.pdfMouDhara1
10 vistas465 diapositivas
Computer Networks basics por
Computer Networks basicsComputer Networks basics
Computer Networks basicsBiplabaSamantaray
48 vistas18 diapositivas
18ECC303J-Unit1-Week1-AY2020-21.pptx por
18ECC303J-Unit1-Week1-AY2020-21.pptx18ECC303J-Unit1-Week1-AY2020-21.pptx
18ECC303J-Unit1-Week1-AY2020-21.pptxelaelango
5 vistas29 diapositivas
Computer Networks Lecture Notes 01 por
Computer Networks Lecture Notes 01Computer Networks Lecture Notes 01
Computer Networks Lecture Notes 01Sreedhar Chowdam
98 vistas48 diapositivas
CN Unit-1 PPT.pptx por
CN Unit-1 PPT.pptxCN Unit-1 PPT.pptx
CN Unit-1 PPT.pptxAnithaVanama1
8 vistas246 diapositivas
chapter1.ppt por
chapter1.pptchapter1.ppt
chapter1.pptExamIUB
3 vistas59 diapositivas

Similar a Data Communication & Computer Networks(20)

ppt_dcn.pdf por MouDhara1
ppt_dcn.pdfppt_dcn.pdf
ppt_dcn.pdf
MouDhara110 vistas
18ECC303J-Unit1-Week1-AY2020-21.pptx por elaelango
18ECC303J-Unit1-Week1-AY2020-21.pptx18ECC303J-Unit1-Week1-AY2020-21.pptx
18ECC303J-Unit1-Week1-AY2020-21.pptx
elaelango5 vistas
chapter1.ppt por ExamIUB
chapter1.pptchapter1.ppt
chapter1.ppt
ExamIUB3 vistas
chapter1.ppt por ExamIUB
chapter1.pptchapter1.ppt
chapter1.ppt
ExamIUB4 vistas
Telecom Network por ExamIUB
Telecom NetworkTelecom Network
Telecom Network
ExamIUB6 vistas
Web technologies: recap on TCP-IP por Piero Fraternali
Web technologies: recap on TCP-IPWeb technologies: recap on TCP-IP
Web technologies: recap on TCP-IP
Piero Fraternali1.6K vistas
chapter1.ppt por ExamIUB
chapter1.pptchapter1.ppt
chapter1.ppt
ExamIUB5 vistas
chapter1.ppt por ExamIUB
chapter1.pptchapter1.ppt
chapter1.ppt
ExamIUB3 vistas
chapter1.ppt por ExamIUB
chapter1.pptchapter1.ppt
chapter1.ppt
ExamIUB4 vistas
chapter1.ppt por ExamIUB
chapter1.pptchapter1.ppt
chapter1.ppt
ExamIUB1 vista
chapter1.ppt por ExamIUB
chapter1.pptchapter1.ppt
chapter1.ppt
ExamIUB4 vistas
chapter1.ppt por ExamIUB
chapter1.pptchapter1.ppt
chapter1.ppt
ExamIUB3 vistas
Application Layer por ushabarad142
Application LayerApplication Layer
Application Layer
ushabarad1425.7K vistas
chapter1.ppt por ExamIUB
chapter1.pptchapter1.ppt
chapter1.ppt
ExamIUB3 vistas
chapter1.ppt por ExamIUB
chapter1.pptchapter1.ppt
chapter1.ppt
ExamIUB2 vistas

Más de Sreedhar Chowdam

PPS Notes Unit 5.pdf por
PPS Notes Unit 5.pdfPPS Notes Unit 5.pdf
PPS Notes Unit 5.pdfSreedhar Chowdam
431 vistas24 diapositivas
PPS Arrays Matrix operations por
PPS Arrays Matrix operationsPPS Arrays Matrix operations
PPS Arrays Matrix operationsSreedhar Chowdam
244 vistas19 diapositivas
Programming for Problem Solving por
Programming for Problem SolvingProgramming for Problem Solving
Programming for Problem SolvingSreedhar Chowdam
795 vistas86 diapositivas
Big Data Analytics Part2 por
Big Data Analytics Part2Big Data Analytics Part2
Big Data Analytics Part2Sreedhar Chowdam
579 vistas56 diapositivas
Python Programming: Lists, Modules, Exceptions por
Python Programming: Lists, Modules, ExceptionsPython Programming: Lists, Modules, Exceptions
Python Programming: Lists, Modules, ExceptionsSreedhar Chowdam
717 vistas55 diapositivas
Python Programming by Dr. C. Sreedhar.pdf por
Python Programming by Dr. C. Sreedhar.pdfPython Programming by Dr. C. Sreedhar.pdf
Python Programming by Dr. C. Sreedhar.pdfSreedhar Chowdam
682 vistas134 diapositivas

Más de Sreedhar Chowdam(20)

Python Programming: Lists, Modules, Exceptions por Sreedhar Chowdam
Python Programming: Lists, Modules, ExceptionsPython Programming: Lists, Modules, Exceptions
Python Programming: Lists, Modules, Exceptions
Sreedhar Chowdam717 vistas
Python Programming by Dr. C. Sreedhar.pdf por Sreedhar Chowdam
Python Programming by Dr. C. Sreedhar.pdfPython Programming by Dr. C. Sreedhar.pdf
Python Programming by Dr. C. Sreedhar.pdf
Sreedhar Chowdam682 vistas
C Recursion, Pointers, Dynamic memory management por Sreedhar Chowdam
C Recursion, Pointers, Dynamic memory managementC Recursion, Pointers, Dynamic memory management
C Recursion, Pointers, Dynamic memory management
Sreedhar Chowdam352 vistas
C Programming Storage classes, Recursion por Sreedhar Chowdam
C Programming Storage classes, RecursionC Programming Storage classes, Recursion
C Programming Storage classes, Recursion
Sreedhar Chowdam385 vistas
Programming For Problem Solving Lecture Notes por Sreedhar Chowdam
Programming For Problem Solving Lecture NotesProgramming For Problem Solving Lecture Notes
Programming For Problem Solving Lecture Notes
Sreedhar Chowdam649 vistas

Último

unit 1.pptx por
unit 1.pptxunit 1.pptx
unit 1.pptxrrbornarecm
6 vistas53 diapositivas
Unlocking Research Visibility.pdf por
Unlocking Research Visibility.pdfUnlocking Research Visibility.pdf
Unlocking Research Visibility.pdfKhatirNaima
11 vistas19 diapositivas
dummy.pptx por
dummy.pptxdummy.pptx
dummy.pptxJamesLamp
7 vistas2 diapositivas
Integrating Sustainable Development Goals (SDGs) in School Education por
Integrating Sustainable Development Goals (SDGs) in School EducationIntegrating Sustainable Development Goals (SDGs) in School Education
Integrating Sustainable Development Goals (SDGs) in School EducationSheetalTank1
20 vistas29 diapositivas
Module-1, Chapter-2 Data Types, Variables, and Arrays por
Module-1, Chapter-2 Data Types, Variables, and ArraysModule-1, Chapter-2 Data Types, Variables, and Arrays
Module-1, Chapter-2 Data Types, Variables, and ArraysDemian Antony D'Mello
19 vistas44 diapositivas
Global airborne satcom market report por
Global airborne satcom market reportGlobal airborne satcom market report
Global airborne satcom market reportdefencereport78
8 vistas13 diapositivas

Último(20)

Unlocking Research Visibility.pdf por KhatirNaima
Unlocking Research Visibility.pdfUnlocking Research Visibility.pdf
Unlocking Research Visibility.pdf
KhatirNaima11 vistas
Integrating Sustainable Development Goals (SDGs) in School Education por SheetalTank1
Integrating Sustainable Development Goals (SDGs) in School EducationIntegrating Sustainable Development Goals (SDGs) in School Education
Integrating Sustainable Development Goals (SDGs) in School Education
SheetalTank120 vistas
Solution Challenge Introduction.pptx por GDSCCEC
Solution Challenge Introduction.pptxSolution Challenge Introduction.pptx
Solution Challenge Introduction.pptx
GDSCCEC13 vistas
Web Dev Session 1.pptx por VedVekhande
Web Dev Session 1.pptxWeb Dev Session 1.pptx
Web Dev Session 1.pptx
VedVekhande23 vistas
Basic Design Flow for Field Programmable Gate Arrays por Usha Mehta
Basic Design Flow for Field Programmable Gate ArraysBasic Design Flow for Field Programmable Gate Arrays
Basic Design Flow for Field Programmable Gate Arrays
Usha Mehta24 vistas
Different type of computer networks .pptx por nazmul1514788
Different  type of computer networks .pptxDifferent  type of computer networks .pptx
Different type of computer networks .pptx
nazmul151478820 vistas
Trust Metric-Based Anomaly Detection via Deep Deterministic Policy Gradient R... por IJCNCJournal
Trust Metric-Based Anomaly Detection via Deep Deterministic Policy Gradient R...Trust Metric-Based Anomaly Detection via Deep Deterministic Policy Gradient R...
Trust Metric-Based Anomaly Detection via Deep Deterministic Policy Gradient R...
IJCNCJournal5 vistas
Programmable Logic Devices : SPLD and CPLD por Usha Mehta
Programmable Logic Devices : SPLD and CPLDProgrammable Logic Devices : SPLD and CPLD
Programmable Logic Devices : SPLD and CPLD
Usha Mehta44 vistas
BCIC - Manufacturing Conclave - Technology-Driven Manufacturing for Growth por Innomantra
BCIC - Manufacturing Conclave -  Technology-Driven Manufacturing for GrowthBCIC - Manufacturing Conclave -  Technology-Driven Manufacturing for Growth
BCIC - Manufacturing Conclave - Technology-Driven Manufacturing for Growth
Innomantra 28 vistas
DevFest 2023 Daegu Speech_이재규, Implementing easy and simple chat with gol... por JQLEE6
DevFest 2023 Daegu Speech_이재규,  Implementing easy and simple chat with gol...DevFest 2023 Daegu Speech_이재규,  Implementing easy and simple chat with gol...
DevFest 2023 Daegu Speech_이재규, Implementing easy and simple chat with gol...
JQLEE616 vistas

Data Communication & Computer Networks

  • 1. Data Communication and Computer Networks Computer Networks *Note: Some content is copied from internet source. I thank the creators of the copied content. Data Communication and Computer Networks Computer Networks Course Instructor: Dr. C. Sreedhar *Note: Some content is copied from internet source. I thank the creators of the copied content.
  • 3. Unit 1 Introduction:  Data Communication, Components, Data Representations, Dataflow, Network Topologies, categories of networks, Internet, protocols and standards. Internet, protocols and standards. Network Models: Layered tasks, OSI Reference model, layers in OSI model, TCP/IP Protocol suit, Addressing – Physical address, Logical address, port addresses. Unit 1 Data Communication, Components, Data Representations, Dataflow, Network Topologies, categories of networks, Internet, protocols and standards. Internet, protocols and standards. Layered tasks, OSI Reference model, layers in OSI model, Physical address, Logical address, port addresses.
  • 4. Unit 2 Physical layer and Transmission Media: Analog and digital signals, Digital signals –Bit rate, Bit length, Transmission of digital signals, Transmission Impairments – Attenuation, Distortion and Noise, Transmission Impairments – Attenuation, Distortion and Noise, Performance – Bandwidth, Throughput, Latency, Jitter. Data Link Layer: Error detection – Introduction, Block coding detection, error correction, hamming distance and minimum hamming distance, CRC codes, Checksum. Unit 2 Physical layer and Transmission Media: and digital signals, Bit rate, Bit length, Transmission of digital signals, Attenuation, Distortion and Noise, Attenuation, Distortion and Noise, Bandwidth, Throughput, Latency, Jitter. Introduction, Block coding – error detection, error correction, hamming distance and minimum hamming distance, CRC
  • 5. Unit 3 Network layer: Design Issues - store-and- Services to transport layer Connection oriented services Routing Algorithms: Routing Algorithms: The optimality principle, shortest path routing, Flooding, Distance vector and Link state, Multicast Routings. Unit 3 -forward, Services to transport layer - Connection less and Connection oriented services The optimality principle, shortest path routing, Distance vector and Link state,
  • 6. Unit 4 Congestion Control: Principles, congestion prevention policies, congestion control in virtual circuits and datagram subnets, load shedding, jitter control. Internetworking: Internetworking: Tunneling, Internet work routing, Fragmentation. The IP protocol, IP address, Gateway routing protocols: OSPF, BGP. Unit 4 Principles, congestion prevention policies, congestion control in virtual circuits and datagram subnets, load shedding, jitter control. Tunneling, Internet work routing, Fragmentation. The IP protocol, IP address, Gateway routing protocols: OSPF, BGP.
  • 7. Unit 5 Transport Layer: UDP, TCP- service model, protocol, segment header, connection management, Transmission Policy. Application Layer: The DNS Name Space, The DNS Name Space, Resource Records, Name Servers. Unit 5 service model, protocol, segment header, connection management, Transmission Policy. Resource Records, Name Servers.
  • 9. DCCN Lab: List of Experiments Basic network command and Network configuration commands. Create a network models using packet tracer. Perform an Initial Switch Configuration using packet tracer Investigate the TCP-IP and OSI Models using packet tracer Implement Cyclic Redundancy Code Implement Dijkstra’s algorithm to find the best path Implement the Distance vector routing algorithm. Implement congestion control using leaky bucket algorithm Implement Domain name server Implement client server model DCCN Lab: List of Experiments Basic network command and Network configuration commands. Create a network models using packet tracer. Perform an Initial Switch Configuration using packet tracer IP and OSI Models using packet tracer Implement Cyclic Redundancy Code algorithm to find the best path Implement the Distance vector routing algorithm. Implement congestion control using leaky bucket algorithm
  • 10. Unit 1 • Data Communications • Definition • Components of DC • Data representation • Data flow • Data flow • Networks • Network criteria • Types of connections • Categories of topology • Network Models Unit 1 • Protocols and Standards • Definition • Standards
  • 11. ata Communication: Definition Data communications are the exchange of data between two devices via some form of transmission devices via some form of transmission medium such as a wire cable. ata Communication: Definition
  • 12. Data Communication The effectiveness of a data communications system depends on four fundamental characteristics: • Delivery: deliver data to the correct destination • Accuracy: system must deliver the data accurately • Accuracy: system must deliver the data accurately • Timeliness: system must deliver data in a timely manner • Jitter: refers to the variation in the packet arrival tim The effectiveness of a data communications system depends on four fundamental characteristics: : deliver data to the correct destination : system must deliver the data accurately : system must deliver the data accurately : system must deliver data in a timely : refers to the variation in the packet arrival tim
  • 13. ata Communication: Components ve components Sender Message Transmission medium Transmission medium Protocol Receiver otocol is defined as a set of s that governs data munications. ata Communication: Components
  • 14. ements of a Protocol • Syntax • Structure or format of the data • Indicates how to read the bits - • Semantics • Interprets the meaning of the bits Elements of Protocol 1.14 • Interprets the meaning of the bits • Knows which fields define what action • Timing • When data should be sent and what • Speed at which data should be sent or speed at which it is being received. Structure or format of the data field delineation Interprets the meaning of the bits Elements of Protocol Interprets the meaning of the bits Knows which fields define what action When data should be sent and what Speed at which data should be sent or speed at which it is being
  • 15. Data Representation • Text: • Text is represented as a bit pattern. • Unicode uses 32 bits to represent a symbol or character • Numbers • Numbers are also represented by bit patterns. • number is directly converted to a binary number • number is directly converted to a binary number • Images • Images are also represented by bit patterns. • image is composed of a matrix of pixels • each pixel is assigned a bit pattern. • Audio and Video: Text is represented as a bit pattern. Unicode uses 32 bits to represent a symbol or character Numbers are also represented by bit patterns. number is directly converted to a binary number number is directly converted to a binary number Images are also represented by bit patterns. image is composed of a matrix of pixels
  • 16. Data Flow mmunication between two devices can be simplex or half l-duplex mmunication between two devices can be simplex or half-duplex, or
  • 17. Review •Data Communications • Definition • Characteristics that affect DC • Components of DC • Data representation • Data representation • Data flow Characteristics that affect DC
  • 19. NETWORKS NETWORKS network network is is a a set set of of devices devices (nodes (nodes nks nks. . node node can can be be a a computer, computer, printer, printer, ending ending and/or and/or receiving receiving data data generated generated ending ending and/or and/or receiving receiving data data generated generated etwork etwork. . link link can can be be a a cable, cable, air, air, optical optical ansport ansport a a signal signal carrying carrying information information NETWORKS NETWORKS (nodes (nodes) ) connected connected by by communicatio communicatio printer, printer, or or any any other other device device capable capable generated generated by by other other nodes nodes on on th th generated generated by by other other nodes nodes on on th th optical optical fiber, fiber, or or any any medium medium which which ca ca information information. .
  • 20. Network Criteria • Performance: • Measured: transit time and response time • Transit time: time required for a message to travel from A • Response time: elapsed time between inquiry and response • Evaluated using two metrics: • Evaluated using two metrics: • throughput and delay (more throughput and less delay). • Reliability: • measured by the frequency of failure • Security • Network security issues include protecting data from unauthorized access Measured: transit time and response time Transit time: time required for a message to travel from AB Response time: elapsed time between inquiry and response throughput and delay (more throughput and less delay). measured by the frequency of failure Network security issues include protecting data from unauthorized access
  • 21. • Point to Point - single transmitter and Ex: Television remote control • Multipoint - multiple recipients of single transmission • Ex: Telephone Line Types of Connections single transmitter and receiver multiple recipients of single transmission Types of Connections
  • 22. Physical topology ology refers to the way in which a network is laid out physically Physical topology ology refers to the way in which a network is laid out physically
  • 23. Mesh topology every device has a dedicated point every other device. Total no. of connections??? Manages high amounts of traffic Manages high amounts of traffic Withstands failure of link. Adding nodes easily added Can avoid problems, malicious users amount of cabling number of I/O ports installation and reconnection are difficult ctical example: connection of ephone regional offices topology every device has a dedicated point-to-point link every other device. Total no. of connections??? n(n-1)/2 Advantages Manages high amounts of traffic Manages high amounts of traffic Withstands failure of link. Adding nodes easily added Can avoid problems, malicious users Disadvantages amount of cabling number of I/O ports installation and reconnection are difficult
  • 24. A star topology If the hub goes down, the whole system goes down. e star topology is used in local-area tworks (LANs) each device needs only one link and on I/O port to connect it to any number of others Advantages less expensive than a mesh topology. robust: If one link fails, only that link is robust: If one link fails, only that link is affected Disadvantages If the hub goes down, the whole system goes down.
  • 25. bus topology des are connected to the bus cable by drop lines and taps rop line is a connection running between device and main cable. ap is a connector ap is a connector e long cable acts as a backbone to link all the devices in a network Advantages s uses less cabling than mesh or star topologies Disadvantages ficult reconnection and fault isolation gnal reflection at the taps can cause degradation ault or break in the bus cable stops all transmission topology des are connected to the bus cable by drop lines and taps rop line is a connection running between device and main cable. e long cable acts as a backbone to link all the devices in a network Advantages s uses less cabling than mesh or star topologies Disadvantages gnal reflection at the taps can cause degradation ault or break in the bus cable stops all transmission
  • 27. Ring Topology Each device has a dedicated point to point connection with only two devices on e e of it. Signal is passed along the ring in one direction till it reaches destination Each device has a repeater When a device receives signal to be passed, its repeater regenerates bits and sses along. Advantages asy to install and reconfigure ault isolation is simple Disadvantages directional traffic ak in the ring disables entire network; solved by dual ring Ring Topology Each device has a dedicated point to point connection with only two devices on e Signal is passed along the ring in one direction till it reaches destination When a device receives signal to be passed, its repeater regenerates bits and Advantages Disadvantages ak in the ring disables entire network; solved by dual ring
  • 28. A hybrid topology: a star backbone with three bus networks Main Star topology with each branch connecting several stations in a bus topology hybrid topology: a star backbone with three bus networks Main Star topology with each branch connecting several stations in a
  • 29. • Local Area Networks (LANs) • Short distances • Designed to provide local interconnectivity • Wide Area Networks (WANs) • Long distances • Provide connectivity over large areas Categories • Provide connectivity over large areas • Metropolitan Area Networks (MANs) • Provide connectivity over areas such as a city, a campus Categories of Networks Provide connectivity over areas such as a city, a campus
  • 30. AN N vately owned and links devices in a single office,building,campus N size is limited to few kms Ns allow resources to be shared between devices. N uses oonly one type of transmission medium mmon LAN topologies: Bus, Star, Ring ta rate in LANs 100 or 1000 Mbps office,building,campus. Ns allow resources to be shared between devices. one type of transmission medium
  • 31. WANs: a switched WAN and a point : a switched WAN and a point-to-point WAN
  • 32. A heterogeneous network made of four WANs and two LANs heterogeneous network made of four WANs and two LANs
  • 33. LAN MAN ocal Area Network Metropolitan Area Network onnects group of computers in small geographic area Covers large region such as cities, towns etup cost is low Setup cost is higher than LAN andwidth is low Bandwidth is higher than LAN wisted pair, fiber optic cables Twisted pair, fiber optic cables overage: ~ 2 miles Coverage: 100 miles MAN WAN Metropolitan Area Network Wide Area Network Covers large region such as Spans large locality and connects countries together Setup cost is higher than LAN Most expensive network setup Bandwidth is higher than LAN Highest bandwidth among all types of networks Twisted pair, fiber optic cables High speed communications: fiber optic, wireless, satellite Coverage: 100 miles Coverage: 1000 Km
  • 34. Elements of Protocol Elements of a protocol: • Syntax • Semantics • Timing yntax: structure or format of data yntax: structure or format of data
  • 35. Elements of protocol • Semantics: meaning of each section of bits Timing: when data should be sent and how fast they can be sent meaning of each section of bits when data should be sent and how fast they can be sent
  • 36. Standards o categories De facto: not approved by an organized body but adopted De jure: Legislated by an officially recognized body ndards Creation Committees International Standards Organization (ISO) International Standards Organization (ISO) International Telecommunications Union (ITU) American National Standards Institute (ANSI) Institute of Electrical and Electronics Engineers (IEEE) Electronic Industries Association (EIA) Internet Engineering Task Force (IETF : not approved by an organized body but adopted : Legislated by an officially recognized body International Standards Organization (ISO) International Standards Organization (ISO) International Telecommunications Union (ITU) American National Standards Institute (ANSI) Institute of Electrical and Electronics Engineers (IEEE) Electronic Industries Association (EIA) Internet Engineering Task Force (IETF)
  • 38. Need for Layered Architecture • E.g., A can only speak Chinese, B can only speak Spanish, how can A communicate with B? • A finds a translator C, who can speak Chinese and English • B finds a translator D, who can speak Spanish and English • Two layers: • Two layers: • Higher layer: A and B • Lower layer: C and D Need for Layered Architecture E.g., A can only speak Chinese, B can only speak Spanish, how can a translator C, who can speak Chinese and English a translator D, who can speak Spanish and English 38
  • 39. A Two-layer example messages in How to communicate? A r messages in Chinese messages in English C Lower layer provides services to the next higher layer. messages in How to communicate? B 39 messages in English messages in Spanish D Lower layer provides services to the next higher layer.
  • 41. Origin for ISO OSI Model Origin for ISO OSI Model
  • 42. HE HE OSI MODEL OSI MODEL ablished ablished in in 1947 1947, , the the International International multinational multinational body body dedicated dedicated to to worldwide worldwide ndards ndards. . ISO ISO standard standard that that covers covers all all aspects aspects ISO ISO standard standard that that covers covers all all aspects aspects Open Open Systems Systems Interconnection Interconnection (OSI) (OSI) he he late late 1970 1970s s. . International International Standards Standards Organization Organization (ISO) (ISO) is is worldwide worldwide agreement agreement on on international international aspects aspects of of network network communications communications is is aspects aspects of of network network communications communications is is (OSI) (OSI) model model. . It It was was first first introduced introduced
  • 43. Seven layers of the OSI model layers of the OSI model
  • 44. The interaction between layers in the OSI model interaction between layers in the OSI model
  • 45. exchange using the OSI model using the OSI model
  • 46. Layer 1: Physical Layer Responsible of: • Transmitting individual bits from one to the next. • Physical characteristics of interface and media. • Representation of bits: a stream of bit(0s,1s), • Data rate. • Data rate. • Synchronize of bits • Line configuration • Physical topology • Transmission mode Layer 1: Physical Layer Transmitting individual bits from one to the next. Physical characteristics of interface and media. Representation of bits: a stream of bit(0s,1s),
  • 48. Layer 2: Data Link layer Responsible of: • Moving frames from one hop (node) to the next. • Framing: divided the stream of bits received from the network layer manageable data units called frames. • Physical address (MAC address). • Physical address (MAC address). • Flow control. • Error control: added trailer to the end of frame. • Access control. • Hop to hop delivery Layer 2: Data Link layer Moving frames from one hop (node) to the next. Framing: divided the stream of bits received from the network layer Error control: added trailer to the end of frame.
  • 49. Data Link layer cont. 10110110101 01100010011 01100010011 10110000001
  • 51. Data Link Layer Example Data Link Layer Example