Data Communication and Networks
Data Communication and Networks
1. Protocol layering can be found in many aspects of our lives such as air travelling.
Imagine you make a round-trip to spend some time on vacation at resort. You need
to go through some processes at your city airport before flying. You also need to
go through some process at your city airport before flying. You also need to go
through some processes when you arrive at the resort airport. Show the protocol
layering for the round trip using some layers such as baggage checking/claiming,
boarding/off-boarding, takeoff/landing.
Ans: Protocol is defined as the set of rules. In protocol performs different functions as pre-
requisite. The following diagram explains the protocol layering in airport that include baggage
checking/claiming, boarding/off-boarding, and takeoff/landing.
Ans: Advantages and disadvantages of incorporating the OSI approach into TCP/IP:
Advantage:
• It helps you to standardize router, switch, motherboard, and other hardware
• Reduces complexity and standardizes interfaces
• Facilitates modular engineering
• Helps you to ensure interoperable technology
• Helps you to accelerate the evolution
• Protocols can be replaced by new protocols when technology changes.
• Provide support for connection-oriented services as well as connectionless service.
• It is a standard model in computer networking.
• Supports connectionless and connection-oriented services.
Disadvantage:
• Fitting of protocols is a tedious task.
• You can only use it as a reference model.
• It doesn't define any specific protocol.
• In the OSI network layer model, some services are duplicated in many layers such as
the transport and data link layers
R1 D/80
Sender
From above figure shows two computers communicating. Assume the
communication is between a process running at computer A with port
address m and a process running at computer D with port address n.
The sending computer is running one process at this time with port
address m and another computer running one process at this time with
port address m. The packet from the transport layer is then encapsulated
in another packet at the network layer with local source and destination
addresses (A and D). Given physical address from figure 40 sends a
frame to anode with physical address 42. The two nodes are connected
by a link. At the data link layer, this frame contains physical address in
the header. Similarly, this way applies to 80 and 82 from computer B.
Finally, this packet is encapsulated in a frame with the physical source
and destination addresses for the next hop.
a) Given data:
B = 15KHz
SNRdB = 30
Therefore, the theoretical channel capacity C = 15* 30/3
= 150 Kbps
a) Given data:
B = 100KHz
SNRdB = 2
Therefore, the theoretical channel capacity C = 100* 2/3
= 66.67 Kbps
a) Given data:
B = 500KHz
SNRdB = 10
Therefore, the theoretical channel capacity C = 500* 10/3
= 1666.67 Kbps
5. A digitized system is operated at 4800 bps. If a signal element encodes an 8-bit
word, what is the minimum required bandwidth of the channel?
Sol: Formula:
Where, C is upper bound for the data rate of a transmission system, B is the bandwidth (in Hz),
and M denotes the number of signal levels.
Given data:
Now for this problem, we know C = 4800 bps
And log2 M = 8, as the signal element encodes an 8-bit word
30
20
10
Frequencies (f)
10 20 30 40