Computer Networks · TEE · papers

Q1(b) · Selective Repeat versus Go-Back-N

2024-12-06 · Final 2024-25 / Re-exam 2023-24

Actual paper; 100 marks attempted. Current-syllabus alignment is stated per question.

Q1(b). Compare and contrast Selective Repeat and Go Back N protocol. (Any 5 points) [5 marks]

Answer

PropertyStop-and-WaitGo-Back-NSelective Repeat
Outstanding sender frames1Up to 2^m−1Up to 2^(m−1), equal windows
Receiver window11Same maximum as sender in standard equal-window SR
ACK convention used hereNext expectedCumulative, next expectedIndividual frame accepted
Out-of-order dataNot deliveredDiscardedBuffered within valid window
After timeoutRepeat the one frameRepeat outstanding frames from baseRepeat only timed-out frame
Buffer/tracking costLowSender window; simple receiverSender and receiver windows; per-frame tracking
TradeoffSimple but idle during RTTGood pipelining, waste after lossEfficient loss recovery, greater complexity

Every comparison assumes finite sequence numbers, correct duplicate handling and the textbook protocol models. The same text “ACK 3” can mean different things under different ACK conventions; state its meaning before explaining a trace.