Consider a long-lived TCP session with an end-to-end bandwidth of 1 Gbps (= 109 bits-per-second). The session starts with a sequence number of 1234. The minimum time (in seconds, rounded to the closest integer) before this sequence number can be used again is _______ .
Note – This was Numerical Type question.
(A) 34
(B) 4.30
(C) 43
(D) None of these
Answer: (A)
Explanation: As sequence number field of TCP is 32 bits, so there are total 232 unique sequence number are possible (from 0 to 232-1), which is limit of TCP data.
But if you want to send data more than 232 bytes in TCP, then you need to repeat this procedure after sending 232 bytes of data or unique sequence numbers. This concept is known as wrap around which allow sending unlimited data using TCP.
Therefore, question is asking for wrap around time which is equal to pass all unique sequences first, i.e., 232, TCP assigns 1 sequence number to each byte of data.
Twrap−around = (Total data) / (Bandwidth) = (232 bytes) / (109 bits per second) = (232 * 8 bits) / (109 bits per second) = 34.35 seconds = 34 (in seconds)
GATE’ answer is same as either ceiling value or floor value (i.e., 34 and 35 both are correct).
So, option (A) is correct.
Quiz of this Question
Recommended Posts:
- GATE | GATE CS 2018 | Question 5
- GATE | GATE CS 2018 | Question 6
- GATE | GATE CS 2018 | Question 4
- GATE | GATE CS 2018 | Question 1
- GATE | GATE CS 2018 | Question 2
- GATE | GATE CS 2018 | Question 3
- GATE | GATE CS 2018 | Question 7
- GATE | GATE CS 2018 | Question 8
- GATE | GATE CS 2018 | Question 9
- GATE | GATE CS 2018 | Question 10
- GATE | GATE CS 2018 | Question 11
- GATE | GATE CS 2018 | Question 12
- GATE | GATE CS 2018 | Question 13
- GATE | GATE CS 2018 | Question 14
- GATE | GATE CS 2018 | Question 15
- GATE | GATE CS 2018 | Question 16
- GATE | GATE CS 2018 | Question 17
- GATE | GATE CS 2018 | Question 18
- GATE | GATE CS 2018 | Question 19
- GATE | GATE CS 2018 | Question 20

