Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Station A needs to send a message consisting ... Start Learning for Free
Station A needs to send a message consisting of 9 packets to Station B using a sliding window (window size 3) and go-back near or control strategy. All packets are ready and immediately available for transmission. If every 5 th packet that A transmits gets lost (but no acks from B ever get lost), then what is the number of packets that A will transmit for sendingthe message to B?
  • a)
    12
  • b)
    14
  • c)
    16
  • d)
    18
Correct answer is option 'C'. Can you explain this answer?
Verified Answer
Station A needs to send a message consisting of 9 packets to Station B...
Answer (C)
Total 16 packets are sent. See following table for sequence of events. Since go-back-n error control strategy is used, all packets after a lost packet are sent again.
Sender      Receiver
 1            
 2            1
 3            2
 4            3
 5            4
 6           
 7            6
              7             
          [Timeout for 5] 

 5
 6            5
 7            6
 8
 9           
              8
              9
          [Timeout for 7]

 7           
 8            7
 9            8


         [Timeout for 9]
 9           
              9
View all questions of this test
Most Upvoted Answer
Station A needs to send a message consisting of 9 packets to Station B...
Given parameters:
- Message consists of 9 packets
- Sliding window size = 3
- Go-back-N protocol is used
- Every 5th packet sent by A gets lost

To determine the number of packets that A will transmit for sending the message to B, we need to consider the following steps:

Step 1: Calculate the total number of packets to be transmitted
Since the message consists of 9 packets, the total number of packets to be transmitted will be 9.

Step 2: Calculate the number of packets that can be sent in one window
Since the window size is 3, A can send up to 3 packets at a time.

Step 3: Determine the number of windows needed to send all packets
To send all 9 packets, A will need to send them in 3 windows.

Step 4: Determine the number of retransmissions needed
Since every 5th packet sent by A gets lost, A will need to retransmit those packets. In this case, A will need to retransmit packets 5 and 10.

Step 5: Calculate the total number of packets transmitted
To determine the total number of packets transmitted, we need to consider the packets sent in each window and the packets that need to be retransmitted.

- In the first window, A sends packets 1, 2, and 3.
- In the second window, A sends packets 4, 5, and 6. However, packet 5 is lost, so A needs to retransmit it.
- In the third window, A sends packets 5 (retransmitted), 7, and 8, and 9.
- In total, A transmits 3 packets in each of the first and third windows and 2 packets in the second window (including the retransmitted packet).
- Therefore, the total number of packets transmitted by A is 3 + 2 + 3 + 1 = 9.

Therefore, the correct answer is option C (16 packets).
Explore Courses for Computer Science Engineering (CSE) exam

Similar Computer Science Engineering (CSE) Doubts

Top Courses for Computer Science Engineering (CSE)

Station A needs to send a message consisting of 9 packets to Station B using a sliding window (window size 3) and go-back near or control strategy. All packets are ready and immediately available for transmission. If every 5 th packet that A transmits gets lost (but no acks from B ever get lost), then what is the number of packets that A will transmit for sendingthe message to B?a)12b)14c)16d)18Correct answer is option 'C'. Can you explain this answer?
Question Description
Station A needs to send a message consisting of 9 packets to Station B using a sliding window (window size 3) and go-back near or control strategy. All packets are ready and immediately available for transmission. If every 5 th packet that A transmits gets lost (but no acks from B ever get lost), then what is the number of packets that A will transmit for sendingthe message to B?a)12b)14c)16d)18Correct answer is option 'C'. 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 Station A needs to send a message consisting of 9 packets to Station B using a sliding window (window size 3) and go-back near or control strategy. All packets are ready and immediately available for transmission. If every 5 th packet that A transmits gets lost (but no acks from B ever get lost), then what is the number of packets that A will transmit for sendingthe message to B?a)12b)14c)16d)18Correct answer is option 'C'. 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 Station A needs to send a message consisting of 9 packets to Station B using a sliding window (window size 3) and go-back near or control strategy. All packets are ready and immediately available for transmission. If every 5 th packet that A transmits gets lost (but no acks from B ever get lost), then what is the number of packets that A will transmit for sendingthe message to B?a)12b)14c)16d)18Correct answer is option 'C'. Can you explain this answer?.
Solutions for Station A needs to send a message consisting of 9 packets to Station B using a sliding window (window size 3) and go-back near or control strategy. All packets are ready and immediately available for transmission. If every 5 th packet that A transmits gets lost (but no acks from B ever get lost), then what is the number of packets that A will transmit for sendingthe message to B?a)12b)14c)16d)18Correct answer is option 'C'. 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 Station A needs to send a message consisting of 9 packets to Station B using a sliding window (window size 3) and go-back near or control strategy. All packets are ready and immediately available for transmission. If every 5 th packet that A transmits gets lost (but no acks from B ever get lost), then what is the number of packets that A will transmit for sendingthe message to B?a)12b)14c)16d)18Correct answer is option 'C'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Station A needs to send a message consisting of 9 packets to Station B using a sliding window (window size 3) and go-back near or control strategy. All packets are ready and immediately available for transmission. If every 5 th packet that A transmits gets lost (but no acks from B ever get lost), then what is the number of packets that A will transmit for sendingthe message to B?a)12b)14c)16d)18Correct answer is option 'C'. Can you explain this answer?, a detailed solution for Station A needs to send a message consisting of 9 packets to Station B using a sliding window (window size 3) and go-back near or control strategy. All packets are ready and immediately available for transmission. If every 5 th packet that A transmits gets lost (but no acks from B ever get lost), then what is the number of packets that A will transmit for sendingthe message to B?a)12b)14c)16d)18Correct answer is option 'C'. Can you explain this answer? has been provided alongside types of Station A needs to send a message consisting of 9 packets to Station B using a sliding window (window size 3) and go-back near or control strategy. All packets are ready and immediately available for transmission. If every 5 th packet that A transmits gets lost (but no acks from B ever get lost), then what is the number of packets that A will transmit for sendingthe message to B?a)12b)14c)16d)18Correct answer is option 'C'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Station A needs to send a message consisting of 9 packets to Station B using a sliding window (window size 3) and go-back near or control strategy. All packets are ready and immediately available for transmission. If every 5 th packet that A transmits gets lost (but no acks from B ever get lost), then what is the number of packets that A will transmit for sendingthe message to B?a)12b)14c)16d)18Correct answer is option 'C'. 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