Consider the implementation of sliding window protocol over a lossless link, with a
window size of π frames, where each frame is of size 1000 bits (including header).
The bandwidth of the link is 100 kbps (1k = 103) and the one-way propagation delay
is 100 milliseconds. Assume that processing times at the sender and receiver are zero
and the transmission time of acknowledgements is also zero. Which one of the
following options gives the minimum size of π (in number of frames) required to
achieve 100% link utilization?
This question tests the concept of sliding window protocol and the minimum window size required for 100% link utilization.
Step 1: Note down the given data
Frame size = 1000 bits
Bandwidth = 100 kbps = \(100 \times 10^3\) bits per second
One-way propagation delay \(T_p\) = 100 ms
Processing time and ACK transmission time = 0
Step 2: Compute the transmission time of a frame
\[ T_t = \frac{\text{Frame size}}{\text{Bandwidth}} = \frac{1000 \text{ bits}}{100 \times 10^3 \text{ bps}} = 0.01 \text{ s} = 10 \text{ ms} \]
Step 3: Compute the round trip time
Since ACK transmission time is zero and there is only propagation delay both ways:
\[ RTT = 2 T_p = 2 \times 100 = 200 \text{ ms} \]
Step 4: Apply the sliding window utilization formula
For a sliding window protocol, the efficiency (utilization) is given by:
\[ U = \frac{W \cdot T_t}{T_t + 2T_p} \]
For 100% utilization, \(U = 1\), which means the sender must be able to keep transmitting continuously without waiting for an ACK. This requires:
\[ W \cdot T_t \geq T_t + 2T_p \]
\[ W \geq \frac{T_t + 2T_p}{T_t} \]
Step 5: Substitute the values
\[ W \geq \frac{10 + 200}{10} = \frac{210}{10} = 21 \]
Since \(W\) must be an integer number of frames, the minimum window size that achieves 100% utilization is \(W = 21\).
Step 6: Verify with the given options
Among the options 10, 21, 20, 11, only \(W = 21\) satisfies \(W \geq 21\). A value of 20 would leave the link idle for a brief interval each cycle, so it does not achieve full utilization.
Final Answer: \[ \boxed{W = 21 \text{ frames}} \]
A schedule of three database transactions \(T_1\), \(T_2\), and \(T_3\) is shown. \(R_i(A)\) and \(W_i(A)\) denote read and write of data item A by transaction \(T_i\), \(i = 1, 2, 3\). The transaction \(T_1\) aborts at the end. Which other transaction(s) will be required to be rolled back?

The forwarding table of a router is shown below. A packet addressed to a destination address 200.150.68.118 arrives at the router. It will be forwarded to the interface with ID
Consider a file of size 4 million bytes being transferred between two hosts
connected via a path consisting of three consecutive links of bandwidth 2 Mbps,
500 kbps, and 1 Mbps, respectively. All processing delays and propagation delays
are negligible. Assume that there is no other background traffic over the path and
no other additional overhead to transfer the file.
Which one of the following is the total time (in seconds) to transfer the file?
Note: 1M=106, 1k=103
Consider the transmission of data bits 110001011 over a link that uses Cyclic
Redundancy Check (CRC) code for error detection. If the generator bit pattern is
given to be 1001, which one of the following options shows the remainder bit
pattern appended to the data bits before transmission?
It is necessary to design a link-layer protocol between two hosts that are directly
connected over a lossless link of length 3000 kilometers. Assume that the link
bandwidth is 108 bits per second and that the propagation delay in the link is 5
nanoseconds per meter. Every transmitted data byte is assigned a unique sequence
number.
Let π be the minimum number of bits needed for the sequence number field in the
protocol header such that
i.
the sequence numbers do not wrap around before 60 seconds, and
ii.
the maximum utilization of the link is achieved.
The value of π is ______. (answer in integer)