Question
Asked Oct 14, 2019
102 views

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

check_circle

Expert Answer

Step 1

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

If packet loss, retransmit packet.

Initially:

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.

1...

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

Engineering

Computer Science

Networking

Related Computer Science Q&A

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

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...

question_answer

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...

question_answer

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...

question_answer

Q: E

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

question_answer

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 ...

question_answer

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...

question_answer

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...

question_answer

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 ...

question_answer

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...