SlideShare a Scribd company logo
Data Communication assignment 2
Submission Deadline: - Nov 10 2011 MidNight.

Q1. Given the message M = 1010001101 (10 bits)
and Divisor as 110101(6 bits)
What would be the CRC?
Ans:1110:




Q2.

The data traveling speed is equal to the speed of light.

(a) Calculate the transmission delay
    1. if host A sends a frame of size 500 bytes to host B. - A->B =
    2. if host B sends a frame of size 125 bytes to host D.
ans:
Transmission Delay = Size of Transfer / Link Bandwidth
A->B: Transmission Delay = (500/ ((4/8) x 106)) = 1ms
B->D: Transmission Delay = (125/ (10/8) x 106) = 100 s (or 0.1ms)


(b) Calculate the propagation delay
    1. if host A sends a frame of size 500 bytes to host B.
    2. if host B sends a frame of size 125 bytes to host D.
Ans:
Propagation Delay = Distance of link / Speed of light
A-> B: Propagation Delay = 3000 / (3 x 105) = 10ms
B->D: Propagation Delay = 900 / (3 x 105) = 3ms

c) What would be the end-to-end delay for a frame of size 500 bytes going from host A to
host D through host B. The host B will first receive the whole frame, store it, and then
transmit it in the direction of host D.
Ans:
      End to end delay between A->D = (Delay between A->B) + (Delay between B->D)
      Delay on a link = Transmission Delay + Propagation Delay
      Therefore, Delay between A->B = 1 + 10 = 11ms, and Delay between B->D = 0.4 + 3 =
      3.4ms

d) Host A has a file of size 5 MB to send to host B. But, the maximum size of the file that
the host A can send at one time is 500 bytes.
   1. How many frames should host A send to host B to complete the transmission?
   2. How many maximum number of frames can be on the link at the maximum?
   3. After how many frames, that host A has send, will host B start receiving the first
       frame?
Ans:
   1.#frames in a 5MB transfer = (5 x 106) / 500 = 10,000
   2. Calcualt the bandwidth delay product = bandwidth * propagation-delay.
   3. Same as 2, answer is also same. It is another way of asking the same question.

e) Host A has a file of size 5 MB to send to host D. But, the maximum size of the file that
the host A can send at one time is 500 bytes.
      1. What is the total end-to-end delay?
Ans: This is the most difficult question in this assignment.
We know that, there would be 10,000 frames to send from A to B and then from B to D.

Delay for Frame 1: (Delay in A->B) + (Delay in B->D)
Delay for Frame 2: (Delay in A->B) + (queuing delay at B) + (Delay in B->D)

queuing delay at B =( 1 – (Bandwidth of B->D/Bandwidth of A->B)) * transmission delay of
B->D.
Or
queuing delay at B = (1-(BB->D/BA->B)) * tdB->D

Delay for Frame 3 and susequence frames = same as Delay for Frame 2.

Total Delay = Delay for Frame1 + Delay for Frame 2+ …...+Delay for Frame 10,000
Total Delay = Delay for Frame1 + 9999 * Delay for Frame 2.

Using the above equation, calculate the delay for Frame1, and Frame 2 and substitute in
the equation for Total Delay to get the complete answer.

Hint for question 2

Question 2 above is meant to revise what you have studied about Transmission delay,
propagation delay, bandwidth delay and end-to-end delay. If you can solve this exercise, it
would be easier for you to understand Flow Control algorithms that we are going to start
from next week. If you cannot answer these questions, you should see me and discuss
with me before we begin the Flow Control.
Few equations that you will need to solve the assignment are

Transmission delay (td) = size of frame / transmission speed
Propagation delay (pd)= distance/speed of light.
End-to-end delay (ed) = td + pd + qd
queuing delay is the time that a frame spend waiting for a busy host.
Queuing delay at B for a frame traveling from A to C is defined as follows.
queuing delay = (1-(BB->C/BA->B)) * tdB->C
Before using the queuing delay equation, think if the 1 st frame will wait for busy host B or
subsequent frame will wait for busy host B.

More Related Content

PPT
Multiplexing and spreading
PPT
04 Digital Transmission
PPT
03 Data and_Signals
PDF
ALGORITHMS FOR PACKET ROUTING IN SWITCHING NETWORKS WITH RECONFIGURATION OVER...
PPT
06 Bandwidth Utilization_Multiplexing_and_Spreading
PDF
Physical Layer Numericals - Data Communication & Networking
PDF
Wireless Communication Networks and Systems 1st Edition Beard Solutions Manual
PPT
Ch3 3 Data communication and networking
Multiplexing and spreading
04 Digital Transmission
03 Data and_Signals
ALGORITHMS FOR PACKET ROUTING IN SWITCHING NETWORKS WITH RECONFIGURATION OVER...
06 Bandwidth Utilization_Multiplexing_and_Spreading
Physical Layer Numericals - Data Communication & Networking
Wireless Communication Networks and Systems 1st Edition Beard Solutions Manual
Ch3 3 Data communication and networking

What's hot (20)

PPT
Data Communication And Networking - DATA RATE LIMITS
PPT
04 physical
PPTX
Wondimu mobility increases_capacity
PDF
Data bit rate_by_abhishek_wadhwa
DOC
Quesions paper
PDF
Bounds on the Achievable Rates of Faded Dirty Paper Channel
PDF
00.cnn basic
PDF
Cb25464467
PDF
Data Communication & Computer network: Channel capacity
PDF
Ijetr021226
PDF
Simultaneous_VTC_Qian
PPT
Thesis : "IBBET : In Band Bandwidth Estimation for LAN"
DOCX
Data and computer communication exam i
DOC
Chap 5
PDF
A Subspace Method for Blind Channel Estimation in CP-free OFDM Systems
PDF
DTIoverview
DOC
Chap 3
PDF
Unexpected Default in an Information based model
PDF
CUDA by Example : Thread Cooperation : Notes
Data Communication And Networking - DATA RATE LIMITS
04 physical
Wondimu mobility increases_capacity
Data bit rate_by_abhishek_wadhwa
Quesions paper
Bounds on the Achievable Rates of Faded Dirty Paper Channel
00.cnn basic
Cb25464467
Data Communication & Computer network: Channel capacity
Ijetr021226
Simultaneous_VTC_Qian
Thesis : "IBBET : In Band Bandwidth Estimation for LAN"
Data and computer communication exam i
Chap 5
A Subspace Method for Blind Channel Estimation in CP-free OFDM Systems
DTIoverview
Chap 3
Unexpected Default in an Information based model
CUDA by Example : Thread Cooperation : Notes
Ad

Similar to Assignment 2 sol (20)

PDF
Dc assignment 2
 
DOC
Notes mid uet solution
PDF
Switching Problems.pdf
PDF
Mid term
PDF
Assignment cn tl
 
PDF
803632569-ITS323Y11S1E02-Final-Exam-Answers.pdf
PDF
803632569-ITS323Y11S1E02-Final-Exam-Answers.pdf
PDF
Assignment sw solution
 
PDF
Example problems
PDF
Text book 2 computer networks_a systems approach_peterson solution manual
PPT
DOCX
Networks quiz #1
PPTX
CN -18 notes/presentation/slides by Punjab University
PPT
Availability or downtime of the servers can be found out
PDF
Availability Computer Communication Network .pdf
DOCX
Dccn solution
PPT
computer_network_completenotes_unit2.ppt
PPT
CSA07 – Computer Networks- Slot C Tutorial hour.ppt
PPT
Fundamental of computer network
PPT
Dc assignment 2
 
Notes mid uet solution
Switching Problems.pdf
Mid term
Assignment cn tl
 
803632569-ITS323Y11S1E02-Final-Exam-Answers.pdf
803632569-ITS323Y11S1E02-Final-Exam-Answers.pdf
Assignment sw solution
 
Example problems
Text book 2 computer networks_a systems approach_peterson solution manual
Networks quiz #1
CN -18 notes/presentation/slides by Punjab University
Availability or downtime of the servers can be found out
Availability Computer Communication Network .pdf
Dccn solution
computer_network_completenotes_unit2.ppt
CSA07 – Computer Networks- Slot C Tutorial hour.ppt
Fundamental of computer network
Ad

More from H K (20)

PDF
Assignment4
 
DOCX
Assignment3
 
PDF
Induction
 
PDF
Solution3
 
PDF
Solution2
 
DOCX
Mid-
 
PDF
Assignment4
 
PDF
Assignment4
 
PDF
Dm assignment3
 
PPT
Proof
 
PDF
Resolution
 
DOCX
Assignment description
 
PDF
Dm assignment2
 
PDF
Set
 
PDF
Dm assignment1
 
PPTX
Logic
 
DOCX
Introduction
 
PDF
Violinphoenix
 
PDF
Ie project
 
PDF
Assignment cn subnetting
 
Assignment4
 
Assignment3
 
Induction
 
Solution3
 
Solution2
 
Mid-
 
Assignment4
 
Assignment4
 
Dm assignment3
 
Proof
 
Resolution
 
Assignment description
 
Dm assignment2
 
Set
 
Dm assignment1
 
Logic
 
Introduction
 
Violinphoenix
 
Ie project
 
Assignment cn subnetting
 

Recently uploaded (20)

PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Machine learning based COVID-19 study performance prediction
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPT
Teaching material agriculture food technology
PDF
Approach and Philosophy of On baking technology
PPTX
A Presentation on Artificial Intelligence
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Digital-Transformation-Roadmap-for-Companies.pptx
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Machine learning based COVID-19 study performance prediction
“AI and Expert System Decision Support & Business Intelligence Systems”
Spectral efficient network and resource selection model in 5G networks
Reach Out and Touch Someone: Haptics and Empathic Computing
Teaching material agriculture food technology
Approach and Philosophy of On baking technology
A Presentation on Artificial Intelligence
Mobile App Security Testing_ A Comprehensive Guide.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Advanced methodologies resolving dimensionality complications for autism neur...
Chapter 3 Spatial Domain Image Processing.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Empathic Computing: Creating Shared Understanding
Unlocking AI with Model Context Protocol (MCP)
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...

Assignment 2 sol

  • 1. Data Communication assignment 2 Submission Deadline: - Nov 10 2011 MidNight. Q1. Given the message M = 1010001101 (10 bits) and Divisor as 110101(6 bits) What would be the CRC? Ans:1110: Q2. The data traveling speed is equal to the speed of light. (a) Calculate the transmission delay 1. if host A sends a frame of size 500 bytes to host B. - A->B = 2. if host B sends a frame of size 125 bytes to host D. ans: Transmission Delay = Size of Transfer / Link Bandwidth A->B: Transmission Delay = (500/ ((4/8) x 106)) = 1ms B->D: Transmission Delay = (125/ (10/8) x 106) = 100 s (or 0.1ms) (b) Calculate the propagation delay 1. if host A sends a frame of size 500 bytes to host B. 2. if host B sends a frame of size 125 bytes to host D. Ans: Propagation Delay = Distance of link / Speed of light A-> B: Propagation Delay = 3000 / (3 x 105) = 10ms B->D: Propagation Delay = 900 / (3 x 105) = 3ms c) What would be the end-to-end delay for a frame of size 500 bytes going from host A to host D through host B. The host B will first receive the whole frame, store it, and then transmit it in the direction of host D. Ans: End to end delay between A->D = (Delay between A->B) + (Delay between B->D) Delay on a link = Transmission Delay + Propagation Delay Therefore, Delay between A->B = 1 + 10 = 11ms, and Delay between B->D = 0.4 + 3 = 3.4ms d) Host A has a file of size 5 MB to send to host B. But, the maximum size of the file that the host A can send at one time is 500 bytes. 1. How many frames should host A send to host B to complete the transmission? 2. How many maximum number of frames can be on the link at the maximum? 3. After how many frames, that host A has send, will host B start receiving the first frame? Ans: 1.#frames in a 5MB transfer = (5 x 106) / 500 = 10,000 2. Calcualt the bandwidth delay product = bandwidth * propagation-delay. 3. Same as 2, answer is also same. It is another way of asking the same question. e) Host A has a file of size 5 MB to send to host D. But, the maximum size of the file that the host A can send at one time is 500 bytes. 1. What is the total end-to-end delay?
  • 2. Ans: This is the most difficult question in this assignment. We know that, there would be 10,000 frames to send from A to B and then from B to D. Delay for Frame 1: (Delay in A->B) + (Delay in B->D) Delay for Frame 2: (Delay in A->B) + (queuing delay at B) + (Delay in B->D) queuing delay at B =( 1 – (Bandwidth of B->D/Bandwidth of A->B)) * transmission delay of B->D. Or queuing delay at B = (1-(BB->D/BA->B)) * tdB->D Delay for Frame 3 and susequence frames = same as Delay for Frame 2. Total Delay = Delay for Frame1 + Delay for Frame 2+ …...+Delay for Frame 10,000 Total Delay = Delay for Frame1 + 9999 * Delay for Frame 2. Using the above equation, calculate the delay for Frame1, and Frame 2 and substitute in the equation for Total Delay to get the complete answer. Hint for question 2 Question 2 above is meant to revise what you have studied about Transmission delay, propagation delay, bandwidth delay and end-to-end delay. If you can solve this exercise, it would be easier for you to understand Flow Control algorithms that we are going to start from next week. If you cannot answer these questions, you should see me and discuss with me before we begin the Flow Control. Few equations that you will need to solve the assignment are Transmission delay (td) = size of frame / transmission speed Propagation delay (pd)= distance/speed of light. End-to-end delay (ed) = td + pd + qd queuing delay is the time that a frame spend waiting for a busy host. Queuing delay at B for a frame traveling from A to C is defined as follows. queuing delay = (1-(BB->C/BA->B)) * tdB->C Before using the queuing delay equation, think if the 1 st frame will wait for busy host B or subsequent frame will wait for busy host B.