edited by
74,561 views
191 191 votes

Frames of $\text{1000 bits}$ are sent over a $10^6$ $\text{bps}$ duplex link between two hosts. The propagation time is $\text{25 ms}$. Frames are to be transmitted into this link to maximally pack them in transit (within the link).

What is the minimum number of bits $(I)$ that will be required to represent the sequence numbers distinctly? Assume that no time gap needs to be given between transmission of two frames.

  1. $I=2$
  2. $I=3$
  3. $I=4$
  4. $I=5$

20 Answers

4 4 votes

For Half Duplex, Capacity of the channel = BW * Tp
So we get capacity = $10^6$ b/s * 25 * 10 ^ -3 s
                               = 25 * $10^3 bits$

so a channel can contain 25 * $10^3 bits$ but we are sending only frames of 1000 bits
Therefore, the total no. of frames we are sending with its full channel capacity = 25 * 1000/1000 = 25 frames.
For this much frames the seq.numbers nedded are 25.
And Seq.no.bits required are $Ceil(\log_{2}25)$ = 5 bits

edited by
2 2 votes
Actually, the question is asking the bits needed or frames needed so as to pack the link. We don't need to think more beyond this.  

Now, $1$st bit will take $25$ms to reach other host. So, to fill the link we need frames occupying the link all this while which is $25$ms. Since $1$ frame is being transmitted in $1$ms, a host need to fire at least $25$ frames at once to keep the link fully occupied.  Therefore, $5$ bits needed.
1 1 vote
Propagation time is given as 25 ms.

Bandwidth = 106 bps.

So, to fully utilize the channel, we must send 106 bits into the channel in a second, which will be 1000 frames per second as each frame is 1000 bits. Now, since the propagation time is 25 ms, to fully pack the link we need to send at least 1000 * 25 * 10-3 = 25 frames. Since, to represent 25 frames we need 25 distinct index numbers. Thus, minimum no. of bits required to do this will be 5 (2^5=32) as 4 will not be enough (2^4=16, not enough to represent 25 distinct no.)
1 1 vote

simply:

L = 1000 bits (frame size)

Tp = 25 ms  (propagation delay)

B = 10^6 bps  (Bandwidth)

Tt = L/B = 1000/1000000 = 1 ms for 1 frame

in question given there is no any gap between two frames

so , i frame travel from sender to receiver there are 25 frames comes on link for fully utilize the link

Here 25 frames on link , 

so no. of required bits = ceil(log25)) = 5 

correct option (C)

1 1 vote

maximally pack them in transit 

Bits will only stay  in transit for max 25ms, because that's the propagation delay.

 

In $1$ second —> $10^6$ bits are passed through the link at max.

In $25 ms$ —> $25m * 10^6$ bits are passed through the link at max.

=> In $ 25 ms$ —> $25 * 10^3$ bits are passed through the link at max.

=> In $25ms$ —> $25 packets$ are passed through the link at max..

 

To uniquely identify 25 packets., we need 5 bits.

 

Option D

0 0 votes

Here transmission time Tt = L/B = 1000/10^6 = 1 ms

i.e  to transmit 1 frame we need 1 ms.

Now we are given that propagation time Tp=25 ms i.e in Tp time we can send 1*25 = 25 frames only.

Therefore no of bits required for sequence no = ceil( log2(25) ) = 5 bits.

 

Answer:
Position:
Show:

Related questions

50 50 votes
11 answers 11 answers
30.7k
30.7k views
Kathleen asked Sep 22, 2014
30,686 views
$$S \to aSa \mid bSb\mid a\mid b$$The language generated by the above grammar over the alphabet $\{a,b\}$ is the set of:all palindromesall odd length palindromesstrings t...
32 32 votes
6 answers 6 answers
13.6k
13.6k views
Kathleen asked Sep 22, 2014
13,643 views
In which one of the following page replacement policies, Belady's anomaly may occur?FIFOOptimalLRUMRU
143 143 votes
10 answers 10 answers
48.8k
48.8k views
go_editor asked Apr 23, 2016
48,779 views
Frames of $1000\text{ bits}$ are sent over a $10^6$ bps duplex link between two hosts. The propagation time is $25ms$. Frames are to be transmitted into this link to maxi...
53 53 votes
9 answers 9 answers
45.4k
45.4k views
Kathleen asked Sep 21, 2014
45,414 views
The message $11001001$ is to be transmitted using the CRC polynomial $x^3 +1$ to protect it from errors. The message that should be transmitted is:$11001001000$$110010010...