You are on page 1of 3

CS 601

ASSIGNMENT # 1

Question No. 1(a)

What is the transmission time of a packet sent by a station if the length of the packet is 1 MB and
the bandwidth of the channel is 200 Kbps?

Solution:

To calculate the transmission time of a packet, we can use the formula:


Transmission Time = Packet Size / Bandwidth
Given that the packet size is 1 MB (megabyte) and the bandwidth is 200 Kbps (kilobits per
second), we need to ensure that the units are consistent.
1 MB = 1,024 KB (kilobytes)
1 KB = 8 Kbits (kilobits)
Converting the units, we have:
Packet Size = 1 MB = 1,024 KB = 1,024 * 8 Kbits = 8,192 Kbits
Bandwidth = 200 Kbps
Now we can calculate the transmission time:
Transmission Time = Packet Size / Bandwidth
= 8,192 Kbits / 200 Kbps
= 41.92 seconds (rounded to two decimal places)
Therefore, the transmission time of a 1 MB packet with a bandwidth of 200 Kbps is
approximately 41.92 seconds.
Question No. 1(b)

There is a file of size 2 MB. How long does it take to download this file using a1-Mbps channel?

Solution:

To calculate the time it takes to download a file using a given channel speed, you need to convert
the file size and channel speed into the same units and then divide the file size by the channel
speed.
Given:

File size = 2 MB

Channel speed = 1 Mbps

First, convert the file size to bits:

1 byte = 8 bits

2 MB = 2 * 8 * 1024 * 1024 bits (1 MB = 1024 * 1024 bytes)

Next, calculate the time it takes to download:

Time = File size (bits) / Channel speed (bps)

Time = (2 * 8 * 1024 * 1024) bits / (1 * 10^6) bps

Simplifying the expression:

Time = (16,777,216 bits) / (1,000,000 bps)

Time = 16.777216 seconds

Therefore, it would take approximately 16.78 seconds to download a 2 MB file using a 1 Mbps
channel.

Question No. 1(c)

If the bandwidth of the channel is 5 Kbps, how long does it take to send a frame of 100,000 bits
out of this device?

Solution:

To calculate the time it takes to send a frame of 100,000 bits with a given bandwidth, we can use
the formula:

Time = (Number of bits) / (Bandwidth)

Given that the bandwidth of the channel is 5 Kbps (kilobits per second) and the frame size is
100,000 bits, we can substitute these values into the formula:

Time = 100,000 bits / 5 Kbps

Now, let's convert the bandwidth to bits per second:

5 Kbps = 5,000 bits per second

Substituting this value back into the formula:


Time = 100,000 bits / 5,000 bits per second

Time = 20 seconds

Therefore, it would take 20 seconds to send a frame of 100,000 bits through a channel with a
bandwidth of 5 Kbps.

Question No. 2

Solution:

Identify the proper type of transmission mode for each of the following devices.

Device Transmission Mode

FM Radio Simplex Mode

Telephone conversations Full Duplex Mode

Video Conferencing Full Duplex Mode

TV broadcast Simplex Mode

Walkie-Talkie Half Duplex Mode

You might also like