Question

In: Computer Science

Answer the following multiple-choice questions: A TCP receiver received an expected segment, without error, but yet...

Answer the following multiple-choice questions:

  1. A TCP receiver received an expected segment, without error, but yet has not ACKed the sender. What might be the reason for that?
  1. It is actually a lost segment.
  2. It is actually a duplicate segment.
  3. The use of Stop-and-wait mechanism.
  4. The use of Delayed ACK.
  5. The use of a large window size.
  1. If a TCP receiver received 2 segments with sequence number 34 and 58, the second segment was corrupted and discarded. What action could be taken to fix this? (Recall in TCP, ACK number is the next expected 1st byte number in the next segment & TCP uses cumulative ACK means all segments received with sequence number less than ACK number have been received correctly)
  1. Receiver sends ACK number 34
  2. Receiver sends ACK number 58
  3. Receiver sends ACKs number 34 & 58
  4. Receiver just waits for timeout
  1. Receiver Window value in TCP header is used for ___________
  1. Go-back N window
  2. Flow control
  3. Congestion avoidance
  4. Establish connection
  1. Comparing TCP to UDP: choose ALL CORRECT statements
  1. UDP server can support multiple clients using one socket.
  2. TCP server can support multiple clients using one socket.
  3. TCP server can support multiple clients using multiple sockets.
  4. TCP server cannot allow a client to have more than one connection socket.
  5. TCP server allow a client to have more than one connection socket
  1. What is NOT true about TCP congestion control?
  1. TCP sender’s experience slow rate at the beginning of the connection
  2. After a slow start, TCP sender’s initial rate increases slowly
  3. After a slow start, TCP sender’s initial rate increases exponentially (fast)
  4. when loss occurs, congestion window is cut down to half
  1. A reliable data transfer mechanism in which receiver individually acknowledges all correctly received packets and sender only resends packets for which ACK not received is called:
  1. Go-back-N
  2. Selective repeat
  3. Negative acknowledgement
  4. NAK-free protocol
  1. Consider a TCP connection between Host A and B. Suppose that the TCP segments traveling from Host A to Host B have source port number x and destination port number y. What are the source and destination port numbers for the segments traveling from Host B to Host A?
  1. source port number x and destination port number x
  2. source port number x and destination port number y
  3. source port number y and destination port number x
  4. source port number y and destination port number y
  5. No enough information
  1. Consider an RDT protocol. To find whether a received packet (at the receiver) contains new data or it is a duplicate, we can use ________________.
  1. Sequence numbers
  2. Acknowledgement
  3. Duplicate Acknowledgement
  4. Timers
  5. Pipelining
  6. Checksum

Solutions

Expert Solution

ANSWER for question (1) is option (d)- The use of Delayed ACK.

Reason: TCP delayed acknowledgment is a technique used by some transmission control protocol implementations to improve network performance.

ANSWER for question (2) is option(d)- Receiver just waits for the timeout.

Reason: Segments are discarded due to network congestion. In such cases, retranmission occurs after timeout.

ANSWER for question (3) is option(b)- Flow control protocol.

Reason: TCP uses an end-to-end flow control protocol to avoid the sender sending data too quickly for the TCP receiver to receive and process reliably.

ANSWERS for question(4) are Options (a), (b), (c), (e).

Reason: TCP allows client to have multiple sockets. Hence, option(d) is incorrect.

ANSWER for question(5) is option (c)- After a slow start, TCP sender’s initial rate increases exponentially fast.

Reason: The initial rate is low, the rate of increase is very rapid; for every acknowledged data packet.

ANSWER for question (6) is option (d)- NAK free protocol.

Reason: NAK free protocol comes RECEIVER FEEDBACK technique.

ANSWER for question (7) is option (c)- Source port number y and destination port number x. (Reason is pretty understood.)

ANSWER for question (8) is option (a)- Sequence Numbers.

Reason: This is the duty of receiver to specify sequence Number of confirmed packets.

If you are satisfied by my answer please give a thumbs up. Thank you.


Related Solutions

Multiple choice questions: Circle the correct answer 9) Suppose Host A sends four TCP segments back...
Multiple choice questions: Circle the correct answer 9) Suppose Host A sends four TCP segments back to back to Host B over a TCP connection. The sequence numbers in the four segments are 70, 90, 110, and 130, respectively. Suppose that the second segment is lost but all the other segments arrive at B. In the acknowledgement that Host B sends to Host A after the fourth segment arrives at B, the acknowledgement number is (a) 70; (b) 90; (c)...
PPlease answer each of the following multiple choice questions and support each answer with a paragraph...
PPlease answer each of the following multiple choice questions and support each answer with a paragraph explaining why your answer is correct.  1. Guests of innkeeper Dave would be surprised to learn that inside the headboards of the beds are embedded recording devices. Dave, who has owned the inn for ten years, enjoys sitting at a console in the front office, tuning in to the private conversations of guests in the rooms. Once his devices picked up the words of...
1.2 Answer the following multiple choice questions, by selecting the appropriate answer from the possibilities given....
1.2 Answer the following multiple choice questions, by selecting the appropriate answer from the possibilities given. (For example, 1.2.1 - d) 1.2.1 As specialization becomes the order of the day, vertically integrated companies may be supplanted by networked constellations of business partners. Which of the following activities would resort under this new partnership? (1) a) Outsourcing everything b) Talking inventories c) An industrial army of robots d) All of the above 1.2.2 Which of the following is a major challenge...
Select the correct answer to the following multiple-choice questions. Briefly explain your choice. 10. In heat...
Select the correct answer to the following multiple-choice questions. Briefly explain your choice. 10. In heat conduction analysis, the error of the heat flux is estimated using a formula in which an unknown constant, a measure of the element shape, and the element size appear. This formula tells us     A) where the locations with the largest error are,     B) how to control the error,     C) both of the above,     D) none of the above.
Select the correct answer to the following multiple-choice questions. Briefly explain your choice. 16. The von...
Select the correct answer to the following multiple-choice questions. Briefly explain your choice. 16. The von Mises stress when displayed in a different coordinate system     A) will not change,     B) will change according to the new coordinate system,     C) will change with the coordinate system, but that change will be in general relatively small. 17. In plane-stress analysis when the stress components are displayed the choice of the coordinate system in which to represent the components will...
Variable and Absorption Costing Use the following information to answer the following 2 multiple choice questions:...
Variable and Absorption Costing Use the following information to answer the following 2 multiple choice questions: Information taken from the accounting records of Holly Manufacturing for 2018: Direct materials used $340,000 Direct labour $70,000 Variable manufacturing overhead $60,000 Fixed manufacturing overhead $130,000 Variable selling and administrative costs $40,000 Fixed selling and administrative costs $20,000 Units produced during the year 40,000 Units in inventory at the end of the year 6,000 There was no opening inventory. Please do not give the...
In the following multiple choice questions choose the most appropriate answer: An instrument with words “I...
In the following multiple choice questions choose the most appropriate answer: An instrument with words “I promise to pay you Rs. 10,000 or give my sofa set” is- a cheque a promissory note a bill of exchange none of the above A contract can be discharged by Performance Frustration Novation Any of the above. 3. Consideration is Is a type of a bailment Need not be adequate An unpaid seller’s right All of the above. 4. Price List in a...
Answer the following multiple choice questions. The headlights are shining on a truck travelling at 90km/h....
Answer the following multiple choice questions. The headlights are shining on a truck travelling at 90km/h. The speed of the light from the headlights relative to the road will be: a) c b) c + 90km/h c) c - 90km/h d) depends on the temperature, but faster than the speed if the truck was not moving e) faster than if the truck was not moving, but impossible to calculate with the given information Events may seem to take longer to...
Stuck on the following questions. Multiple choice. One answer for each. 1. The primary goal of...
Stuck on the following questions. Multiple choice. One answer for each. 1. The primary goal of a publicly-owned firm interested in serving its stockholders should be to: -Minimize the chances of losses -Maximize share price -Minimize expected EPS -Minimize shareholder wealth -Maximize expected total corporate profit 2. Which one of the following is an agency cost? -Cost of dividend payments to stockholders -Cost of interest payments to bondholders -Cost of an internal audit required by bondholders -Cost of wages for...
QUESTION 1 (10 marks) (12 minutes) Answer the following multiple-choice questions. Indicate your choice by selecting...
QUESTION 1 (12 minutes) Answer the following multiple-choice questions. Indicate your choice by selecting only one option from the four options given for each question answered. (a) Which one of the following is not considered to be an enhancing qualitative characteristic to ensure the usefulness of information that is already relevant and faithfully represented in terms of The Conceptual Framework for Financial Reporting 2018? 1) Completeness; 2) Comparability; 3) Timeliness; 4) Understandability. (b) Which one of the following is not...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT