retagged by
553 views
0 0 votes

 

A Computer on a $10 \mathrm{Mbps}$ network is regulated by a token bucket. The token bucket is filled at a rate of $2 \mathrm{Mbps}$. It is initially filled to capacity with $16$ megabits. What is the maximum duration for which the computer can transmit at the full $10 \mathrm{Mbps}$?

  1. $1.6$ seconds
  2. $2$ seconds
  3. $5$ seconds
  4. $8$ seconds

(Option $1[39433]) 1$
(Option $2[39434]) 2$
(Option $3[39435]) 3$
(Option $4[39436]) 4$

Answer Given by Candidate : $2$

1 Answer

0 0 votes

As given bucket capacity is more than the date to be transmitted, 
given input rate = 2 Mbps , Output rate = 10 Mbps , Data to be transmitted = 10 Mbps , Capacity = 16 Mb (initially Filled)

so Duration for which the bucket will empty at max output rate (given 10 Mbps) 
= Capacity /  (Max o/p rate - Input rate) 
= 16 / (10-2)
= 2 Seconds

what 2 seconds means that in 2 second , 10 Mb data will be transferred. 
so answer = 2 sec


further analysis, 
this 2 seconds is the time for which data will be transmitted at the max output rate , i.e. 10 Mbps , 
2 seconds * 10 Mbps 
= 20 Mb MAX DATA could be transferred in those 2 seconds.

but we only need to transfer 10 Mb , so why answer is not 1 second  ?
because bucket is initially filled, so we also need to consider the input rate and out put rate , so effective rate become Output rate - Input rate. 

hope this helps

Position:
Show:

Related questions

0 0 votes
1 1 answer
366
366 views
admin asked May 20, 2023
366 views
A $\text{TCP}$ Server application is programmed to listen on port $\text{P}$ on Host $\mathrm{S}$. A $\text{TCP}$ Client is connected to the $\text{TCP}$ Server over the ...
0 0 votes
2 2 answers
1.3k
1.3k views
admin asked May 20, 2023
1,326 views
Identify the incorrect statement(s).A candidate key is minimal set of one or more attributes that, taken collectively, allows us to uniquely identify any entity in the en...
2 2 votes
1 1 answer
1.0k
1.0k views
admin asked May 20, 2023
1,040 views
Consider the two relations below. The primary keys are underlined. Identify all possible foreign key(s) from the options based only on the two relations.$\text{EMP (eid, ...
0 0 votes
1 1 answer
905
905 views
admin asked May 20, 2023
905 views
Which of the following statement is correct, according to the following instance of the relational schema XYZ$1$$1$a$1$$1$a$2$$1$b$3$$2$b1. $\mathrm{X} \rightarrow \mathr...