SlideShare a Scribd company logo
1 of 1
Download to read offline
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?




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.
    2. if host B sends a frame of size 125 bytes to host D.

(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.

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.

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?

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?

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

What's hot

Text book 2 computer networks_a systems approach_peterson solution manual
Text book 2 computer networks_a systems approach_peterson solution manualText book 2 computer networks_a systems approach_peterson solution manual
Text book 2 computer networks_a systems approach_peterson solution manual
gopivrajan
 
Ch 6 data and computer communicationwilliam stallings (1)
Ch 6 data and computer communicationwilliam stallings (1)Ch 6 data and computer communicationwilliam stallings (1)
Ch 6 data and computer communicationwilliam stallings (1)
bheemsain
 
Distributed Video Streaming over Internet
Distributed Video Streaming over InternetDistributed Video Streaming over Internet
Distributed Video Streaming over Internet
Videoguy
 
Pcgrid presentation qos p2p grid
Pcgrid presentation   qos p2p gridPcgrid presentation   qos p2p grid
Pcgrid presentation qos p2p grid
marcuswac
 
ExOR Multihop Routing in Wireless Networks
ExOR Multihop Routing in Wireless NetworksExOR Multihop Routing in Wireless Networks
ExOR Multihop Routing in Wireless Networks
Yatindra shashi
 
Presentation - Dynamic Tuning of RTS Threshold
Presentation - Dynamic Tuning of RTS ThresholdPresentation - Dynamic Tuning of RTS Threshold
Presentation - Dynamic Tuning of RTS Threshold
Mohammad Saiful Islam
 
Content aware packet scheduling in peer-to-peer video streaming
Content aware packet scheduling in peer-to-peer video streamingContent aware packet scheduling in peer-to-peer video streaming
Content aware packet scheduling in peer-to-peer video streaming
Videoguy
 

What's hot (17)

communication among tasks in advanced system architecture
communication among tasks in advanced system architecturecommunication among tasks in advanced system architecture
communication among tasks in advanced system architecture
 
Text book 2 computer networks_a systems approach_peterson solution manual
Text book 2 computer networks_a systems approach_peterson solution manualText book 2 computer networks_a systems approach_peterson solution manual
Text book 2 computer networks_a systems approach_peterson solution manual
 
Ch 6 data and computer communicationwilliam stallings (1)
Ch 6 data and computer communicationwilliam stallings (1)Ch 6 data and computer communicationwilliam stallings (1)
Ch 6 data and computer communicationwilliam stallings (1)
 
parallel programming in tthe PVM-advanced system architecture
parallel programming in tthe PVM-advanced system architectureparallel programming in tthe PVM-advanced system architecture
parallel programming in tthe PVM-advanced system architecture
 
04 physical
04 physical04 physical
04 physical
 
Cn mid feb 2014
Cn mid feb 2014Cn mid feb 2014
Cn mid feb 2014
 
Distributed Video Streaming over Internet
Distributed Video Streaming over InternetDistributed Video Streaming over Internet
Distributed Video Streaming over Internet
 
about message coalescing
about message coalescingabout message coalescing
about message coalescing
 
Intake 37 12
Intake 37 12Intake 37 12
Intake 37 12
 
Chapter 6
Chapter 6Chapter 6
Chapter 6
 
Introduction to storm
Introduction to stormIntroduction to storm
Introduction to storm
 
Unit 4 bandwidth utilization
Unit 4 bandwidth utilizationUnit 4 bandwidth utilization
Unit 4 bandwidth utilization
 
Pcgrid presentation qos p2p grid
Pcgrid presentation   qos p2p gridPcgrid presentation   qos p2p grid
Pcgrid presentation qos p2p grid
 
ExOR Multihop Routing in Wireless Networks
ExOR Multihop Routing in Wireless NetworksExOR Multihop Routing in Wireless Networks
ExOR Multihop Routing in Wireless Networks
 
Presentation - Dynamic Tuning of RTS Threshold
Presentation - Dynamic Tuning of RTS ThresholdPresentation - Dynamic Tuning of RTS Threshold
Presentation - Dynamic Tuning of RTS Threshold
 
Content aware packet scheduling in peer-to-peer video streaming
Content aware packet scheduling in peer-to-peer video streamingContent aware packet scheduling in peer-to-peer video streaming
Content aware packet scheduling in peer-to-peer video streaming
 
Chapter 1 - Computer Networks and the Internet 2
Chapter 1 - Computer Networks and the Internet 2Chapter 1 - Computer Networks and the Internet 2
Chapter 1 - Computer Networks and the Internet 2
 

Viewers also liked (10)

The mccumberexperience
The mccumberexperienceThe mccumberexperience
The mccumberexperience
 
Psy 405 psy405
Psy 405 psy405Psy 405 psy405
Psy 405 psy405
 
Babyland
BabylandBabyland
Babyland
 
riaanewrules
riaanewrulesriaanewrules
riaanewrules
 
Coaching for cds combined defense services 2012 february exam at cheap rat...
Coaching for  cds combined defense services 2012 february  exam  at cheap rat...Coaching for  cds combined defense services 2012 february  exam  at cheap rat...
Coaching for cds combined defense services 2012 february exam at cheap rat...
 
Psy 360 psy360
Psy 360 psy360Psy 360 psy360
Psy 360 psy360
 
It 237 it237
It 237 it237It 237 it237
It 237 it237
 
Cuidado com a falta de atenção com a sua mulher(traição)
Cuidado com a falta de atenção com a sua mulher(traição)Cuidado com a falta de atenção com a sua mulher(traição)
Cuidado com a falta de atenção com a sua mulher(traição)
 
Arithmetic sequence
Arithmetic sequenceArithmetic sequence
Arithmetic sequence
 
ARITHMETIC MEAN AND SERIES
ARITHMETIC MEAN AND SERIESARITHMETIC MEAN AND SERIES
ARITHMETIC MEAN AND SERIES
 

Similar to Dc assignment 2

Assignment sw solution
Assignment sw solutionAssignment sw solution
Assignment sw solution
H K
 
Notes mid uet solution
Notes mid uet solutionNotes mid uet solution
Notes mid uet solution
Ali Jt
 
Availability Computer Communication Network .pdf
Availability Computer Communication Network .pdfAvailability Computer Communication Network .pdf
Availability Computer Communication Network .pdf
YashShirude1
 
Sample calculation questions in data communications (1)
Sample calculation questions in data communications (1)Sample calculation questions in data communications (1)
Sample calculation questions in data communications (1)
Mauricio Raul
 
computer networking a top down approach 6 th edition solutions to review ques...
computer networking a top down approach 6 th edition solutions to review ques...computer networking a top down approach 6 th edition solutions to review ques...
computer networking a top down approach 6 th edition solutions to review ques...
ssuser83d26a1
 

Similar to Dc assignment 2 (20)

Switching Problems.pdf
Switching Problems.pdfSwitching Problems.pdf
Switching Problems.pdf
 
Assignment sw solution
Assignment sw solutionAssignment sw solution
Assignment sw solution
 
Networks quiz #1
Networks quiz #1 Networks quiz #1
Networks quiz #1
 
Notes mid uet solution
Notes mid uet solutionNotes mid uet solution
Notes mid uet solution
 
Data and computer communication exam i
Data and computer communication exam iData and computer communication exam i
Data and computer communication exam i
 
Unit_I - 3
Unit_I - 3Unit_I - 3
Unit_I - 3
 
CS547 Wireless Networking and Security Exam 1 Questio.docx
CS547 Wireless Networking and Security Exam 1  Questio.docxCS547 Wireless Networking and Security Exam 1  Questio.docx
CS547 Wireless Networking and Security Exam 1 Questio.docx
 
Data and signals
Data and signalsData and signals
Data and signals
 
Availability Computer Communication Network .pdf
Availability Computer Communication Network .pdfAvailability Computer Communication Network .pdf
Availability Computer Communication Network .pdf
 
Networks quiz#1 solution
Networks quiz#1 solutionNetworks quiz#1 solution
Networks quiz#1 solution
 
Sample calculation questions in data communications (1)
Sample calculation questions in data communications (1)Sample calculation questions in data communications (1)
Sample calculation questions in data communications (1)
 
Ch06
Ch06Ch06
Ch06
 
Ch3 3 Data communication and networking
Ch3 3  Data communication and networking Ch3 3  Data communication and networking
Ch3 3 Data communication and networking
 
Assignment #4-Ch5-6-7-8-Data Communications.pdf
Assignment #4-Ch5-6-7-8-Data Communications.pdfAssignment #4-Ch5-6-7-8-Data Communications.pdf
Assignment #4-Ch5-6-7-8-Data Communications.pdf
 
Assignment 4 Ch5 6 7 8 Data Communications
Assignment  4 Ch5 6 7 8 Data CommunicationsAssignment  4 Ch5 6 7 8 Data Communications
Assignment 4 Ch5 6 7 8 Data Communications
 
Cnq1
Cnq1Cnq1
Cnq1
 
5 sharing-app
5 sharing-app5 sharing-app
5 sharing-app
 
Dcn lecture 3
Dcn lecture 3Dcn lecture 3
Dcn lecture 3
 
computer networking a top down approach 6 th edition solutions to review ques...
computer networking a top down approach 6 th edition solutions to review ques...computer networking a top down approach 6 th edition solutions to review ques...
computer networking a top down approach 6 th edition solutions to review ques...
 
Ch6 1 Data communication and networking by neha g. kurale
Ch6 1 Data communication and networking by neha g. kuraleCh6 1 Data communication and networking by neha g. kurale
Ch6 1 Data communication and networking by neha g. kurale
 

More from H K (20)

Assignment4
Assignment4Assignment4
Assignment4
 
Assignment3
Assignment3Assignment3
Assignment3
 
Induction
InductionInduction
Induction
 
Solution3
Solution3Solution3
Solution3
 
Solution2
Solution2Solution2
Solution2
 
Mid-
Mid-Mid-
Mid-
 
Assignment4
Assignment4Assignment4
Assignment4
 
Assignment4
Assignment4Assignment4
Assignment4
 
Dm assignment3
Dm assignment3Dm assignment3
Dm assignment3
 
Proof
ProofProof
Proof
 
Resolution
ResolutionResolution
Resolution
 
Assignment description
Assignment descriptionAssignment description
Assignment description
 
Dm assignment2
Dm assignment2Dm assignment2
Dm assignment2
 
Set
SetSet
Set
 
Dm assignment1
Dm assignment1Dm assignment1
Dm assignment1
 
Logic
LogicLogic
Logic
 
Introduction
IntroductionIntroduction
Introduction
 
Violinphoenix
ViolinphoenixViolinphoenix
Violinphoenix
 
Ie project
Ie projectIe project
Ie project
 
Assignment cn subnetting
Assignment cn subnettingAssignment cn subnetting
Assignment cn subnetting
 

Recently uploaded

Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
daisycvs
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
Abortion pills in Kuwait Cytotec pills in Kuwait
 
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai KuwaitThe Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
daisycvs
 
Mckinsey foundation level Handbook for Viewing
Mckinsey foundation level Handbook for ViewingMckinsey foundation level Handbook for Viewing
Mckinsey foundation level Handbook for Viewing
Nauman Safdar
 

Recently uploaded (20)

Over the Top (OTT) Market Size & Growth Outlook 2024-2030
Over the Top (OTT) Market Size & Growth Outlook 2024-2030Over the Top (OTT) Market Size & Growth Outlook 2024-2030
Over the Top (OTT) Market Size & Growth Outlook 2024-2030
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
 
Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024
 
Falcon Invoice Discounting: Tailored Financial Wings
Falcon Invoice Discounting: Tailored Financial WingsFalcon Invoice Discounting: Tailored Financial Wings
Falcon Invoice Discounting: Tailored Financial Wings
 
Falcon Invoice Discounting: Aviate Your Cash Flow Challenges
Falcon Invoice Discounting: Aviate Your Cash Flow ChallengesFalcon Invoice Discounting: Aviate Your Cash Flow Challenges
Falcon Invoice Discounting: Aviate Your Cash Flow Challenges
 
PHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation FinalPHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation Final
 
CROSS CULTURAL NEGOTIATION BY PANMISEM NS
CROSS CULTURAL NEGOTIATION BY PANMISEM NSCROSS CULTURAL NEGOTIATION BY PANMISEM NS
CROSS CULTURAL NEGOTIATION BY PANMISEM NS
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
 
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai KuwaitThe Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
 
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAIGetting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
 
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
 
Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...
Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...
Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...
 
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
 
Mckinsey foundation level Handbook for Viewing
Mckinsey foundation level Handbook for ViewingMckinsey foundation level Handbook for Viewing
Mckinsey foundation level Handbook for Viewing
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
TVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdf
TVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdfTVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdf
TVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdf
 
Lucknow Housewife Escorts by Sexy Bhabhi Service 8250092165
Lucknow Housewife Escorts  by Sexy Bhabhi Service 8250092165Lucknow Housewife Escorts  by Sexy Bhabhi Service 8250092165
Lucknow Housewife Escorts by Sexy Bhabhi Service 8250092165
 
Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1
 
Uneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration PresentationUneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration Presentation
 
Power point presentation on enterprise performance management
Power point presentation on enterprise performance managementPower point presentation on enterprise performance management
Power point presentation on enterprise performance management
 

Dc assignment 2

  • 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? 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. 2. if host B sends a frame of size 125 bytes to host D. (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. 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. 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? 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? 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.