Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  On a TCP connection, current congestion windo... Start Learning for Free
On a TCP connection, current congestion window size is Congestion Window = 4 KB. The window size advertised by the receiver is Advertise Window = 6 KB. The last byte sent by the sender is Last Byte Sent = 10240 and the last byte acknowledged by the receiver is Last Byte Acked = 8192. The current window size at the sender is
  • a)
    2048 bytes
  • b)
    4096 bytes
  • c)
    6144 bytes
  • d)
    8192 bytes
Correct answer is option 'B'. Can you explain this answer?
Verified Answer
On a TCP connection, current congestion window size is Congestion Wind...
Ans should be (B)
Current Sender window = min (Congestion Window, Advertised Window)= min(4KB, 6KB)= 4KB
View all questions of this test
Most Upvoted Answer
On a TCP connection, current congestion window size is Congestion Wind...
Given information:
- Congestion Window (cwnd) = 4 KB
- Advertised Window (awnd) = 6 KB
- Last Byte Sent (LBS) = 10240
- Last Byte Acknowledged (LBA) = 8192

Explanation:
To determine the current window size at the sender, we need to consider the congestion window (cwnd) and the advertised window (awnd).

The congestion window (cwnd) represents the maximum amount of data the sender can transmit without receiving an acknowledgment. It is used to control the flow of data and avoid network congestion. In this case, the cwnd is 4 KB.

The advertised window (awnd) represents the maximum amount of data the receiver is willing to receive. It is used by the sender to limit the amount of data it sends to the receiver. In this case, the awnd is 6 KB.

The sender can only transmit data up to the minimum value of cwnd and awnd. So, the current window size at the sender is 4 KB (the minimum value of cwnd and awnd).

Calculation:
The last byte acknowledged (LBA) indicates the highest sequence number that the receiver has successfully received. In this case, the LBA is 8192.

To calculate the current window size at the sender, we subtract the LBA from the last byte sent (LBS) and add 1 (since sequence numbers start from 0). So, the calculation is as follows:

Current window size = LBS - LBA + 1
= 10240 - 8192 + 1
= 2049 bytes

Since the current window size (2049 bytes) is less than the congestion window (4 KB), we take the minimum value and convert it to bytes. Therefore, the current window size at the sender is 4096 bytes.

Answer:
The current window size at the sender is 4096 bytes, which corresponds to option B.
Explore Courses for Computer Science Engineering (CSE) exam

Similar Computer Science Engineering (CSE) Doubts

Top Courses for Computer Science Engineering (CSE)

On a TCP connection, current congestion window size is Congestion Window = 4 KB. The window size advertised by the receiver is Advertise Window = 6 KB. The last byte sent by the sender is Last Byte Sent = 10240 and the last byte acknowledged by the receiver is Last Byte Acked = 8192. The current window size at the sender isa)2048 bytesb)4096 bytesc)6144 bytesd)8192 bytesCorrect answer is option 'B'. Can you explain this answer?
Question Description
On a TCP connection, current congestion window size is Congestion Window = 4 KB. The window size advertised by the receiver is Advertise Window = 6 KB. The last byte sent by the sender is Last Byte Sent = 10240 and the last byte acknowledged by the receiver is Last Byte Acked = 8192. The current window size at the sender isa)2048 bytesb)4096 bytesc)6144 bytesd)8192 bytesCorrect 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 On a TCP connection, current congestion window size is Congestion Window = 4 KB. The window size advertised by the receiver is Advertise Window = 6 KB. The last byte sent by the sender is Last Byte Sent = 10240 and the last byte acknowledged by the receiver is Last Byte Acked = 8192. The current window size at the sender isa)2048 bytesb)4096 bytesc)6144 bytesd)8192 bytesCorrect 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 On a TCP connection, current congestion window size is Congestion Window = 4 KB. The window size advertised by the receiver is Advertise Window = 6 KB. The last byte sent by the sender is Last Byte Sent = 10240 and the last byte acknowledged by the receiver is Last Byte Acked = 8192. The current window size at the sender isa)2048 bytesb)4096 bytesc)6144 bytesd)8192 bytesCorrect answer is option 'B'. Can you explain this answer?.
Solutions for On a TCP connection, current congestion window size is Congestion Window = 4 KB. The window size advertised by the receiver is Advertise Window = 6 KB. The last byte sent by the sender is Last Byte Sent = 10240 and the last byte acknowledged by the receiver is Last Byte Acked = 8192. The current window size at the sender isa)2048 bytesb)4096 bytesc)6144 bytesd)8192 bytesCorrect 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 On a TCP connection, current congestion window size is Congestion Window = 4 KB. The window size advertised by the receiver is Advertise Window = 6 KB. The last byte sent by the sender is Last Byte Sent = 10240 and the last byte acknowledged by the receiver is Last Byte Acked = 8192. The current window size at the sender isa)2048 bytesb)4096 bytesc)6144 bytesd)8192 bytesCorrect answer is option 'B'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of On a TCP connection, current congestion window size is Congestion Window = 4 KB. The window size advertised by the receiver is Advertise Window = 6 KB. The last byte sent by the sender is Last Byte Sent = 10240 and the last byte acknowledged by the receiver is Last Byte Acked = 8192. The current window size at the sender isa)2048 bytesb)4096 bytesc)6144 bytesd)8192 bytesCorrect answer is option 'B'. Can you explain this answer?, a detailed solution for On a TCP connection, current congestion window size is Congestion Window = 4 KB. The window size advertised by the receiver is Advertise Window = 6 KB. The last byte sent by the sender is Last Byte Sent = 10240 and the last byte acknowledged by the receiver is Last Byte Acked = 8192. The current window size at the sender isa)2048 bytesb)4096 bytesc)6144 bytesd)8192 bytesCorrect answer is option 'B'. Can you explain this answer? has been provided alongside types of On a TCP connection, current congestion window size is Congestion Window = 4 KB. The window size advertised by the receiver is Advertise Window = 6 KB. The last byte sent by the sender is Last Byte Sent = 10240 and the last byte acknowledged by the receiver is Last Byte Acked = 8192. The current window size at the sender isa)2048 bytesb)4096 bytesc)6144 bytesd)8192 bytesCorrect answer is option 'B'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice On a TCP connection, current congestion window size is Congestion Window = 4 KB. The window size advertised by the receiver is Advertise Window = 6 KB. The last byte sent by the sender is Last Byte Sent = 10240 and the last byte acknowledged by the receiver is Last Byte Acked = 8192. The current window size at the sender isa)2048 bytesb)4096 bytesc)6144 bytesd)8192 bytesCorrect 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