Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  In Go-Back-N window, when the timer of the pa... Start Learning for Free
In Go-Back-N window, when the timer of the packet times out, several packets have to be resent even some may have arrived safe. Whereas in Selective Repeat window, the sender resends ___________
  • a)
    Packet which are not lost
  • b)
    Only those packets which are lost or corrupted
  • c)
    Packet from starting
  • d)
    All the packets
Correct answer is option 'B'. Can you explain this answer?
Most Upvoted Answer
In Go-Back-N window, when the timer of the packet times out, several p...
In Selective Repeat, the sender side uses a searching algorithm to find the packets which need to be retransmitted based on the negative acknowledgements received and then resends only those packets thus saving bandwidth.
Free Test
Community Answer
In Go-Back-N window, when the timer of the packet times out, several p...
Explanation:

In the Go-Back-N (GBN) protocol, when the timer of a packet times out, all the packets from that point onwards in the sender's window need to be retransmitted. This is because the sender does not know which packets have been successfully received by the receiver and which packets have been lost or corrupted. Therefore, it assumes that all the packets in the current window are lost and retransmits them.

However, in the Selective Repeat (SR) protocol, the sender resends only those packets which are lost or corrupted. It maintains a separate timer for each packet in the window. When the timer of a specific packet times out, only that particular packet is retransmitted, rather than retransmitting the entire window. This is possible because the receiver in the SR protocol sends individual acknowledgments for each successfully received packet. Therefore, the sender can accurately identify which packets need to be resent.

Comparison between GBN and SR:

1. Go-Back-N (GBN):
- In GBN, the sender maintains a sliding window of packets.
- When the timer for the oldest unacknowledged packet expires, all the packets in the window are retransmitted.
- The receiver acknowledges the correctly received packets cumulatively, indicating the highest consecutive packet it has received.
- If a packet is lost or corrupted, the receiver discards it and waits for the next expected packet.
- GBN provides a cumulative acknowledgment scheme, reducing the number of acknowledgments sent by the receiver.

2. Selective Repeat (SR):
- In SR, the sender maintains a sliding window of packets.
- Each packet in the window has its own individual timer.
- When the timer for a specific packet expires, only that packet is retransmitted.
- The receiver acknowledges each successfully received packet individually.
- If a packet is lost or corrupted, the receiver discards it and sends a negative acknowledgment (NAK) for that specific packet, requesting its retransmission.
- SR provides a selective acknowledgment scheme, allowing the sender to accurately identify and retransmit only the lost or corrupted packets.

Conclusion:

In summary, the Go-Back-N protocol retransmits the entire window of packets when the timer expires, while the Selective Repeat protocol retransmits only the specific packet that has timed out. The Selective Repeat protocol provides more efficiency and reduces unnecessary retransmissions compared to the Go-Back-N protocol.
Explore Courses for Computer Science Engineering (CSE) exam

Similar Computer Science Engineering (CSE) Doubts

Top Courses for Computer Science Engineering (CSE)

In Go-Back-N window, when the timer of the packet times out, several packets have to be resent even some may have arrived safe. Whereas in Selective Repeat window, the sender resends ___________a)Packet which are not lostb)Only those packets which are lost or corruptedc)Packet from startingd)All the packetsCorrect answer is option 'B'. Can you explain this answer?
Question Description
In Go-Back-N window, when the timer of the packet times out, several packets have to be resent even some may have arrived safe. Whereas in Selective Repeat window, the sender resends ___________a)Packet which are not lostb)Only those packets which are lost or corruptedc)Packet from startingd)All the packetsCorrect answer is option 'B'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about In Go-Back-N window, when the timer of the packet times out, several packets have to be resent even some may have arrived safe. Whereas in Selective Repeat window, the sender resends ___________a)Packet which are not lostb)Only those packets which are lost or corruptedc)Packet from startingd)All the packetsCorrect answer is option 'B'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for In Go-Back-N window, when the timer of the packet times out, several packets have to be resent even some may have arrived safe. Whereas in Selective Repeat window, the sender resends ___________a)Packet which are not lostb)Only those packets which are lost or corruptedc)Packet from startingd)All the packetsCorrect answer is option 'B'. Can you explain this answer?.
Solutions for In Go-Back-N window, when the timer of the packet times out, several packets have to be resent even some may have arrived safe. Whereas in Selective Repeat window, the sender resends ___________a)Packet which are not lostb)Only those packets which are lost or corruptedc)Packet from startingd)All the packetsCorrect answer is option 'B'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of In Go-Back-N window, when the timer of the packet times out, several packets have to be resent even some may have arrived safe. Whereas in Selective Repeat window, the sender resends ___________a)Packet which are not lostb)Only those packets which are lost or corruptedc)Packet from startingd)All the packetsCorrect answer is option 'B'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of In Go-Back-N window, when the timer of the packet times out, several packets have to be resent even some may have arrived safe. Whereas in Selective Repeat window, the sender resends ___________a)Packet which are not lostb)Only those packets which are lost or corruptedc)Packet from startingd)All the packetsCorrect answer is option 'B'. Can you explain this answer?, a detailed solution for In Go-Back-N window, when the timer of the packet times out, several packets have to be resent even some may have arrived safe. Whereas in Selective Repeat window, the sender resends ___________a)Packet which are not lostb)Only those packets which are lost or corruptedc)Packet from startingd)All the packetsCorrect answer is option 'B'. Can you explain this answer? has been provided alongside types of In Go-Back-N window, when the timer of the packet times out, several packets have to be resent even some may have arrived safe. Whereas in Selective Repeat window, the sender resends ___________a)Packet which are not lostb)Only those packets which are lost or corruptedc)Packet from startingd)All the packetsCorrect answer is option 'B'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice In Go-Back-N window, when the timer of the packet times out, several packets have to be resent even some may have arrived safe. Whereas in Selective Repeat window, the sender resends ___________a)Packet which are not lostb)Only those packets which are lost or corruptedc)Packet from startingd)All the packetsCorrect answer is option 'B'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev