Question Details

Sliding window protocol: L = 1000 bits, R = 100 Kbps, Tp = 100 ms, Tpm = 0. Find optimal window size?

Options

A

10

B

11

C

20

D

21

Show Answer
Correct Answer
D 21

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 (L) = 1000 bits
- Transmission rate (R) = 100 Kbps = 100,000 bits per second (bps)
- Propagation delay (Tp) = 100 ms = 0.1 seconds
- Acknowledgment transmission/processing delay (Tpm) = 0 ms

2. Calculate the Transmission Delay (Tt):
Transmission delay is the time required to push all of the packet's bits onto the link:

Tt=LR

Substituting the values:

Tt=1000100000=0.01 seconds=10 ms

3. Calculate the total Cycle Time (Tcycle):
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:

Tcycle=Tt+2·Tp+Tpm

Substituting the values:

Tcycle=10 ms+2·100 ms+0=210 ms

4. Calculate the Optimal Window Size (W):
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:

W=TcycleTt

Substituting the calculated times:

W=210 ms10 ms=21

Therefore, the optimal window size is 21.

Transparent Access on Mindyard

Built for Learners & Educators Alike

Completely free for students. Educators & coaching institutes get 2 months free Pro trial to create tests.

FREE FOR STUDENTS

Practice & Learn Free for Students

Access unlimited practice questions, detailed step-by-step solutions, and exam study materials — completely free for students.

  • Unlimited mock tests & question bank practice
  • Full access to curated study library & formula notes
  • 100% free for students • No credit card required
2 MONTHS FREE TRIAL

Educators & Coaching Institutes

Create and conduct professional online assessments with AI question generation, tab proctoring, and comprehensive batch management.

  • AI question uploader & rapid test generator
  • Anti-cheating tab proctoring & performance reports
  • Full Pro access free for 60 days • No upfront commitment
Discover more resources

You may also like

Mock Tests

View All
  • GATE
  • beginner
  • 3 hours
  • civil engineering

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.

  • GATE
  • beginner
  • 3 hours
  • electronics and communication engineering

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.

Ask AI Tutor
5 left
Q1 View Question & Options
AI Tutor is solving this question...
Reading question context & options...
Ask your own doubt or choose a quick prompt: