Sliding window protocol: L = 1000 bits, R = 100 Kbps, Tp = 100 ms, Tpm = 0. Find optimal window size?
Solution :
The correct answer is 21.
To find the optimal window size for the sliding window protocol, we must calculate the window size that allows the sender to transmit continuously without waiting for acknowledgments (ACKs), thereby achieving 100% link utilization. Let's break down the solution step-by-step:
1. Identify the given parameters:
- Packet size () = 1000 bits
- Transmission rate () = 100 Kbps = 100,000 bits per second (bps)
- Propagation delay () = 100 ms = 0.1 seconds
- Acknowledgment transmission/processing delay () = 0 ms
2. Calculate the Transmission Delay ():
Transmission delay is the time required to push all of the packet's bits onto the link:
Substituting the values:
3. Calculate the total Cycle Time ():
The total cycle time is the time elapsed from the start of packet transmission until the acknowledgment for that packet is received back at the sender. It includes transmission delay, round-trip propagation delay, and acknowledgment processing time:
Substituting the values:
4. Calculate the Optimal Window Size ():
The optimal window size is the number of packets the sender needs to transmit during one full cycle time to keep the channel fully busy:
Substituting the calculated times:
Therefore, the optimal window size is 21.
Completely free for students. Educators & coaching institutes get 2 months free Pro trial to create tests.
Access unlimited practice questions, detailed step-by-step solutions, and exam study materials — completely free for students.
Create and conduct professional online assessments with AI question generation, tab proctoring, and comprehensive batch management.
Prepare for GATE 2026 Civil Engineering with the latest question papers, previous year papers, detailed solutions, syllabus, exam pattern, preparation tips, mock tests, and subject-wise study material. Download GATE 2026 CE question papers with solutions in PDF format and boost your preparation for top engineering institutes and PSU recruitment.
Prepare effectively for GATE 2026 Electronics & Communication Engineering (EC) with this comprehensive Question Paper with Solutions. This resource includes detailed explanations, concept-wise solutions, previous year paper analysis, and exam-oriented practice to help aspirants strengthen core subjects like Electronic Devices, Analog Circuits, Digital Circuits, Signals & Systems, Network Theory, Control Systems, Electromagnetics, Communications, and more. Perfect for revision, self-assessment, and boosting your GATE 2026 EC preparation strategy.
Copyright © 2026 Combe Labs Private Limited. All Rights Reserved.