Question
A sender uses the Stop-and-Wait ARQ protocol for reliable transmission of frames. Frames are of size 1000 bytes and the transmission rate at the sender is 80 Kbps (1Kbps = 1000 bits/second). Size of an acknowledgement is 100 bytes and the transmission rate at the receiver is 8 Kbps. The one-way propagation delay is 100 milliseconds.
Assuming no frame is lost, the sender throughput is _____ bytes/second.
Official answer and solution
- Official answer
- 2500
- From
- Official GATE 2016 answer key
Solution
Compute the total cycle time for transmitting one frame and its acknowledgment, then calculate throughput as payload divided by total cycle time.
Given parameters:
- Data frame size .
- Sender transmission rate .
- ACK frame size .
- Receiver transmission rate .
- One-way propagation delay .
Calculate component delays:
- Transmission time of data frame:
- Propagation delay of data frame: .
- Transmission time of ACK frame:
- Propagation delay of ACK frame: .
Total cycle time for one frame:
Calculate sender throughput in bytes/second:
2500
Neglecting the transmission delay of the acknowledgement frame ( ms) or expressing throughput in bits/second rather than bytes/second.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2016 Computer Science and Information Technology (CS) Session 1
- Question
- 65 of 65, printed as CS Q.55
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.