Asked Oct 14, 2019

consider the sender A transmits 12 data packets to b using stop wait protocol. if every 3rd packet is lost while transmission then how many packets will the sender A has to send to B in total


Expert Answer

Step 1

The all data transmission in send and wait protocol as follows:

If packet loss, retransmit packet.


1 2 3 4 5 6 7 8 9 10 11 12

Step 2

After every 3rd packet is lost while transmission, lost packets are highlighted in bold:

  • Packet number 3 retransmitted.

1 2 3 3 4 5 6 7 8 9 10 11 12

  • Packet number 5 retransmitted.

1 2 3 3 4 5 5 6 7 8 9 10 11 12

  • Packet number 7 retransmitted.

1 2 3 3 4 5 5 6 7 7 8 9 10 11 12

  • Packet number 9 retransmitted.

1 2 3 3 4 5 5 6 7 7 8 9 9 10 11 12

    • Packet number 11 retransmitted.


Want to see the full answer?

See Solution

Check out a sample Q&A here.

Want to see this answer and more?

Solutions are written by subject experts who are available 24/7. Questions are typically answered within 1 hour.*

See Solution
*Response times may vary by subject and question.
Tagged in


Computer Science


Related Computer Science Q&A

Find answers to questions asked by student like you
Show more Q&A

Q: Given three int variables that have been given values, areaCode, exchange, and lastFour, write a str...

A: As you have not specified the programming language, we are solving this question using C++ programmi...


Q: What is “ticket transfer” in lottery scheduling? Also, what is the primary benefit of ticket transfe...

A: Lottery scheduling:In an operating system, lottery scheduling is one of the scheduling algorithms fo...


Q: please help me solve this problem  the language is C++

A: Program Instructions:Ask the user the name of each friend one by one.Calculate the 20% tip, total bi...


Q: E

A: E) The transition diagram for the given DFA is shown as:


Q: In C++ Create an array of 100 random numbers between 1 and 1000. Ask the user for a number. Search t...

A: A C++ program to search the user’s number in an array containing 100 random numbers between "1" and ...


Q: How would I go about writing the code in the problem in the picture?

A: Program AlgorithmCreate a class Prime_Numbers and define the main() function.Initialize the required...


Q: The question is asking for me to "Design a modular program that asks how many tickets for each class...

A: AS per Question,Class A Seat Cost is 15$Class B Seat Cost is 12$Class C Seat Cost is 9$And we need t...


Q: Python 3.7.4: Write a loop that reads positive integers from standard input and that terminates when...

A: Following is the program code that takes input from the user all positive integer and terminates if ...


Q: I am getting a floating point exception in my code. Which is to divide matrix 1 by matrix 2 (striaig...

A: Program Instructions:A floating-point exception occurs when an attempt is made to divide a number by...