Computer Network
Computer Network
Unit: 1
Computer Networks
(ACSE502) Nisha
ECE
B Tech 5th Sem Department
NISHA ACSE502 CN 1
1
09/21/2023
Syllabus
NISHA ACSE502 CN 1
09/21/2023 2
Course Objective
NISHA ACSE502 CN 1
09/21/2023 3
Course Outcome
NISHA ACSE502 CN 1
09/21/2023 4
PO’s
1.Engineering knowledge
2. Problem analysis
3. Design/development of solutions
4. Conduct investigations of complex problems
5. Modern tool usage
6. The engineer and society
7. Environment and sustainability
8. Ethics
9. Individual and team work
10. Communication
11. Project management and finance
12. Life-long learning
NISHA ACSE502 CN 1
09/21/2023 5
CO-PO Mapping
Computer Networks ( ) Year of Study: 2022-23
CO PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12
CO-1 3 2 2 2 2 2 3
CO-2 3 3 2 3
CO-3 3 3 3 3 2 2 2 3
CO-4 3 2 2 2 3
CO-5 3 3 2 2 3 2 3
CO-6 3 2 2 2 2 2 2 2 2 3
09/21/2023 6
NISHA ACSE502 CN 1
PSO’s
PSO1: identify, analyze real world problems and design their ethical solutions using
artificial intelligence, robotics, virtual/augmented reality, data analytics, block chain
technology, and cloud computing.
PSO2: design and develop the hardware sensor devices and related interfacing software
systems for solving complex engineering problems.
PSO 4: conduct investigation of complex problem with the help of technical, managerial,
leadership qualities, and modern engineering tools provided by industry sponsored
laboratories.
NISHA ACSE502 CN 1
09/21/2023 7
PSO’s
CO PSO1 PSO2 PSO3 PSO4
KCS603.1 2 2 2 2
KCS603.2 2 2 2 2
KCS603.3 2 2 2 3
KCS603.4 2 2 2 2
KCS603.5 2 2 2 2
KCS606 2 2 2 2
NISHA ACSE502 CN 1
09/21/2023 8
Program Educational Objectives
PEO 1: To have an excellent scientific and engineering breadth so as to comprehend,
analyze, design and provide sustainable solutions for real-life problems using state-of-the-
art technologies.
PEO 3:To have an effective communication skills, professional attitude, ethical values and
a desire to learn specific knowledge in emerging trends, technologies for research,
innovation and product development and contribution to society.
PEO 4: To have life-long learning for up-skilling and re-skilling for successful
professional career as engineer, scientist, entrepreneur and bureaucrat for betterment of
society.
NISHA ACSE502 CN 1
09/21/2023 9
Result Analysis
COMPUTER NETWORK
NISHA ACSE502 CN 1
09/21/2023 10
End semester Question paper templates
NISHA ACSE502 CN 1
09/21/2023 11
Prerequisite and Recap
• Fundamental of computer
• Interconnection of computer
Types of computer
Generation of computer
Applications
• i) Data sharing
• ii) Resource sharing
• iii) Cost reduction
• iv) Increase reliability
NISHA ACSE502 CN 1
09/21/2023 12
Content
Unit 1
Introduction:
• Goals and applications of networks,
• Categories of networks,
Organization of the Internet, ISP
• Network structure and architecture (layering principles, services,
protocols and standards),
• The OSI reference model
• TCP/IP protocol suite
• Network devices and components
Physical Layer:
• Network topology design, Types of connections
• Transmission media
• Signal transmission and encoding
• Network performance and transmission impairments
• Switching techniques and multiplexing
NISHA ACSE502 CN 1
09/21/2023 13
Unit Objective
NISHA ACSE502 CN 1
09/21/2023 14
Introduction to computer Network
Objective: Study about basic concept of computer networks and its types
Computer Network
A computer network is a group of computers linked to each other that
enables the computer to communicate with another computer and
share their resources, data, and applications.
OR
A computer network is group of nodes (like computer, router,
…),interconnected with media (wired or wireless ) for the purpose
of sharing their resources, data, and applications.
• A message
• A sender
• A receiver
• A medium
Objective: Study about OSI model & TCP/IP model with its function of each
layer
• The OSI Reference Model has become the basis for many data
communications standards.
Processor 1 Processor 2
Application Application
Presentation Presentation
Session Session
Transport Transport
Network Network
Physical Physical
09/21/2023 21
NISHA ACSE502 CN 1
OSI Peer Layer Communication
09/21/2023 22
NISHA ACSE502 CN 1
OSI Peer Layer Communication
• Application Layer
– The application on Node A builds a record with a transaction
identifier, the number of the account to be updated, the date and
time of the transaction, and the amount to be deducted.
• Presentation Layer
– The presentation layer is responsible for translating from one
format to another.
• Session Layer
– The session layer’s major functions are to set up and perhaps
monitor a set of dialogue rules by which the two applications can
communicate and to bring a session to an orderly conclusion.
09/21/2023 23
NISHA ACSE502 CN 1
OSI Peer Layer Communication
Transport Layer
The transport layer is the first of the OSI layers responsible for
actually transmitting the data.
Network Layer
The network layer provides accounting and routing functions.
Data Link Layer
The data link layer is responsible for data delineation, error
detection, and logical control of the link.
Physical Layer
The physical layer does not append anything to the message. It
simply accepts the message from the data link layer and
translates the bits into signals on the medium.
Processor 1 Processor 2
Application Application
Presentation Presentation
Session Session
Transport Transport
Network Network
Examples:
1. Radio broadcasting 2. Television broadcasting
3. computer to printer communication 4. Keyboard and monitor
Examples:
1. Walkie-Talkie, 2. a two-way radio that has a push-to-talk button
3. One way road used for both side traffic but not at a same time
Examples:
Telephone network and Mobile network
Examples:
Examples:
• Mesh Topology
Bus Topology
• Ring Topology
• Star Topology
Mesh Topology
No. of keys = 6
If N is node then
no. of connection= When N=5
n(n-1)/2 Key= 10,
When N=50
Key= ,
Tree Topology
Summary of Topology
If N no. of nodes
Types of Topology/No. of connection
Mesh N(N-1) / 2
Ring N
• Guided Media
• Unguided Media
Transmission Media
1. Guided Media:
It is also referred to as Wired or Bounded transmission media. Signals being
transmitted are directed and confined in a narrow pathway by using physical links.
Features:
High Speed
Secure
Used for comparatively shorter distances
There are 3 major types of Guided Media:
CNxial Cable –
It has an outer plastic covering containing 2 parallel conductors each having a separate
insulated protection cover. The CNxial cable transmits information in two modes:
Baseband mode(dedicated cable bandwidth) and Broadband mode(cable bandwidth is
split into separate ranges). Cable TVs and analog television networks widely use
CNxial cables.
Advantages:
High Bandwidth
Better noise Immunity
Easy to install and expand
Advantages:
CNxial Cable
09/21/2023 71
NISHA ACSE502 CN 1
Transmission media
Multimode Graded-Index
Objective: Study about basic concept of Encoding techniques and its types
Unipolar Encoding
Decoding is the reverse process of encoding which is to extract the information from
the converted format.
Data Encoding
Encoding is the process of using various patterns of voltage or current levels to
represent 1s and 0s of the digital signals on the transmission link.
NRZ - L NRZ–LEVEL
There is a change in the polarity of the signal, only when the incoming signal changes
from 1 to 0 or from 0 to 1. It is the same as NRZ, however, the first bit of the input
signal should have a change of polarity.
NRZ - I NRZ–INVERTED
If a 1 occurs at the incoming signal, then there occurs a transition at the beginning of
the bit interval. For a 0 at the incoming signal, there is no transition at the beginning of
the bit interval.
NRZ codes has a disadvantage that the synchronization of the transmitter clock with
the receiver clock gets completely disturbed, when there is a string of 1s and 0s.
Hence, a separate clock line needs to be provided.
Bi-phase Manchester
In this type of coding, the transition is done at the middle of the bit-interval. The
transition for the resultant pulse is from High to Low in the middle of the interval, for
the input bit 1. While the transition is from Low to High for the input bit 0.
Differential Manchester
In this type of coding, there always occurs a transition in the middle of the bit interval.
If there occurs a transition at the beginning of the bit interval, then the input bit is 0. If
no transition occurs at the beginning of the bit interval, then the input bit is 1.
NISHA ACSE502 CN 1 89
09/21/2023
Encoding
Manchester and Diff. Manchester Encoding
Example
Example
Whenever the bandwidth of a medium linking two devices is greater than the bandwidth
needs of the devices, the link can be shared. Multiplexing is the set of techniques that
allows the simultaneous transmission of multiple signals across a single data link. As data
and telecommunications use increases, so does traffic. In real life, we have links with
limited bandwidths. Bandwidth utilization is the wise use of available bandwidth to
achieve specific goals. Efficiency can be achieved by multiplexing.
NISHA ACSE502
09/21/2023 95
CN 1
Multiplexing
NISHA ACSE502
09/21/2023 96
CN 1
Multiplexing
In the figure, the word link refers to the physical path. The word
channel refers to the portion of a link that carries a transmission
between a given pair of lines. One link can have many (n) channels.
NISHA ACSE502
09/21/2023 97
CN 1
Multiplexing
• In addition, carrier frequencies must not interfere with the original data
frequencies. NISHA ACSE502
09/21/2023 98
CN 1
Multiplexing
NISHA ACSE502
09/21/2023 99
CN 1
Multiplexing
NISHA ACSE502
09/21/2023 100
CN 1
Multiplexing
Solution
For five channels, we need at least four guard bands. This means that
the required bandwidth is at least
5 × 100 + 4 × 10 = 540 kHz
NISHA ACSE502
09/21/2023 101
CN 1
Multiplexing
NISHA ACSE502
09/21/2023 102
CN 1
Multiplexing
NISHA ACSE502
09/21/2023 104
CN 1
Multiplexing
We can divide TDM into two different schemes: synchronous and statistical.
In synchronous TDM, each input connection has an allotment in the output even if it is
not sending data.
Time Slots and Frames: In synchronous TDM, the data flow of each input
connection is divided into units, where each input occupies one input time slot. A
unit can be 1 bit, one character, or one block of data. Each input unit becomes one
output unit and occupies one output time slot. However, the duration of an output
time slot is n times shorter than the duration of an input time slot. If an input time
slot is T s, the output time slot is T/n s, where n is the number of connections. In
other words, a unit in the output connection has a shorter duration; it travels faster.
In synchronous TDM, the data rate of the link is n times faster, and the unit
duration is n times shorter.
NISHA ACSE502
09/21/2023 105
CN 1
Multiplexing
Interleaving
TDM can be visualized as two fast-rotating switches, one on the multiplexing side
and the other on the demultiplexing side. The switches are synchronized and rotate at
the same speed, but in opposite directions. On the multiplexing side, as the switch
opens in front of a connection, that connection has the opportunity to send a unit onto
the path. This process is called interleaving.
NISHA ACSE502
09/21/2023 106
CN 1
Internetworking Devices
Networking
and
Internetworking
Devices
Sanjay
NISHANayak KCS603
ACSE502 CN Unit Number:1
09/21/2023 107
CN 1
Connecting Devices
switches
NISHA ACSE502
09/21/2023 108
CN 1
Figure 21-2
NISHA ACSE502
09/21/2023 109
CN 1
Figure 21-3
NISHA ACSE502
09/21/2023 110
CN 1
Figure 21-4
A Repeater
NISHA ACSE502
09/21/2023 111
CN 1
Figure 21-5
Function of a Repeater
NISHA ACSE502
09/21/2023 112
CN 1
Figure 21-6
NISHA ACSE502
09/21/2023 113
CN 1
Figure 21-7
A Bridge
NISHA ACSE502
09/21/2023 114
CN 1
Figure 21-8
Function of a Bridge
NISHA ACSE502
09/21/2023 115
CN 1
Figure 21-9
Multiport Bridge
NISHA ACSE502
09/21/2023 116
CN 1
Figure 21-10
NISHA ACSE502
09/21/2023 117
CN 1
Figure 21-11
Routers in an Internet
NISHA ACSE502
09/21/2023 118
CN 1
Figure 21-12
NISHA ACSE502
09/21/2023 119
CN 1
Figure 21-13
A Gateway
NISHA ACSE502
09/21/2023 120
CN 1
Faculty Video Links, Youtube & NPTEL
Video Links and Online Courses Details
• Youtube/other Video Links
• https://www.youtube.com/watch?v=JvXro0dzJY8
• https://www.youtube.com/watch?v=JvXro0dzJY8
• https://www.youtube.com/watch?v=jOIB
• https://www.youtube.com/watch?v=xHyJNkiGRd8
1. In.................... each packet of a message need not follow the same path
From sender to receiver. (CO1)
(A) Circuit switching
(B) message switching
(C) a virtual approach to packet switching
(D) The datagram approach to packet switching
NISHA ACSE502
09/21/2023 125
CN 1
MCQ s
1) NRZ
2) RZ
3) NRZ-I
4) Manchester
5) Differential manchester
NISHA ACSE502
09/21/2023 128
CN 1
Expected Questions for University Exam
Q1. Compare OSI model and TCP/IP model (CO1)
Q3. Compare all topology methods , list the advantages and drawback
of different topologies (CO1)
Books:
1. Forouzen, "Data Communication and Networking",TMH
Thank You
09/21/2023 NISHA ACSE502 CN 1 132