Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Assignment No.

01 Total Marks: 15
Semester: Spring 2023

CS610: Computer Networks


Due Date: 17th May, 2023

ID: bc200401141
Question No.1

Given below is the detail of a video file which needs to be transferred among two devices in a network
where multiple devices are connected with each other using a shared transmission media:

Answer:

File Size = 25 Mb = 25000 Kb


Packet Size = 1 Kb = 8000 bits
25000 Kb
Total packets = ¿ 25000 Packets .
1 Kb
Bandwidth = 1 Mbps = 1000 Kbps

Transmission Time Per packet = packet Size/ Bandwidth


= 8000 bits / 1000 Kbps
= 0.008 Seconds
Transmission Time for 25 Mb File.
¿ 0.008 Seconds ×25000 Packets
Transmission Time=200 Seconds

Question No.2

You are required to use ping command for testing the reachability to www.vu.edu.pk in two phases, for
phase 1 you have to use ping command with 10 bytes of data for each packet and for phase 2, you need
to send 10,000 bytes of data for each packet. Perform the mentioned task in your computer / laptop,
take the screenshots clearly showing ping command and the result for both scenarios (Phase 1 and
Phase 2) and paste in the MS Word file as solution. At the end, also compare the results of both
scenarios / phases, provide the average time difference in milli-seconds in the same file and upload the
file on VU-LMS within the due date.
Answer:

Average time for 10 bytes of data = 37 ms


Average time for 10000 bytes of data = 43 ms

You might also like