A Go-Back-N ARQ uses a window of size 15. How many bits are needed to ...
Formula:
Window size (Go Back N) = 2n-1
Where n is bits needed
So, 15 = 2n-1
16 = 2n
So, n = 4
View all questions of this test
A Go-Back-N ARQ uses a window of size 15. How many bits are needed to ...
Explanation:
Go-Back-N ARQ is a protocol used in data communication to ensure data integrity and reliability. It is a type of automatic repeat request (ARQ) protocol. In this protocol, the sender sends a window of packets to the receiver without waiting for an acknowledgement for each packet. The receiver sends an acknowledgement for the packets received successfully.
Sequence number:
The sequence number is used to identify the packets sent by the sender. It is used by the receiver to detect and discard duplicate packets. In Go-Back-N ARQ, the sequence number is used to identify the packets in the window.
Window size:
The window size is the number of packets that can be sent by the sender without waiting for an acknowledgement. In Go-Back-N ARQ, the window size is fixed.
Calculation:
In Go-Back-N ARQ, the sequence number is used to identify the packets in the window. The window size is 15, so the sequence numbers range from 0 to 14.
To represent a range of 15 numbers, we need at least 4 bits. This is because 2^4 = 16, which is greater than 15. Therefore, we need 4 bits to represent the sequence number.
Answer:
Hence, the correct answer is option B, i.e., 4 bits.