Computer Networks Lecture 8: Reliable Data Transfer

InstructiveNewton avatar
InstructiveNewton
·
·
Download

Start Quiz

Study Flashcards

36 Questions

What is the main goal of reliability in data transfer?

Ensuring no data loss or bit errors

What is the function called for ensuring reliable data transfer?

Reliable Data Transfer (rdt)

How are sender and receiver sides of reliable data transfer protocol developed?

Using Finite State Machines (FSMs)

What is the role of finite state machines (FSM) in reliable data transfer?

To specify sender and receiver states

In reliable data transfer, what determines the next state of the sender and receiver?

Next event or action taken on state transition

What does reliable data transfer aim to achieve with regards to data loss and bit errors?

Minimizing both data loss and bit errors

What does rdt2.0 use to detect bit errors in the channel?

Checksum

What does the receiver explicitly tell the sender if the packet is received OK?

ACK

What does the receiver explicitly tell the sender if the packet had errors?

NAK

What does the sender do on receipt of a NAK?

Retransmits the packet

What feedback messages are used in rdt2.0 for error detection?

ACK and NAK

What happens if ACK/NAK is not received in rdt2.0?

Possible duplicate handling

What mechanism does rdt2.0 use to handle duplicates?

Sender adds sequence number

What does the receiver do if a duplicate packet is received in rdt2.0?

(Doesn't deliver up) Discards the duplicate packet

What does the sender do after sending one packet in rdt2.0?

(Doesn't deliver up) Waits for retransmission

What is used by rdt2.0 to detect if a packet was received without errors?

Checksum.

If ACK/NAK is not received at sender end in rdt2.0, what will happen?

Automatic retransmission.

How does rdt2.0 handle a scenario where ACK/NAK is not received at sender's end?

Retransmits current pkt.

What is the main objective of reliable data transfer?

Avoiding data loss and bit errors

In reliable data transfer, what determines the next state of the sender and receiver?

Finite state machines (FSM)

What is the function called for ensuring reliable data transfer?

Reliable data transfer (rdt)

What does the receiver explicitly tell the sender if the packet is received without errors?

ACK

What feedback messages are used in reliable data transfer for error detection?

ACK/NAK

What does rdt2.0 use to detect bit errors in the channel?

Checksums

What does rdt2.0 use to recover from errors in the channel?

Both ACKs and NAKs

What is the fatal flaw in rdt2.0 if ACK/NAK is not received?

The sender retransmits current packet

What is used in rdt2.0 to detect bit errors in the channel?

Checksum

What is the role of acknowledgements (ACKs) in rdt2.0?

To explicitly tell the sender that the packet was received OK

What feedback messages are used in rdt2.0 for error detection?

Control messages (ACK,NAK)

What additional mechanism does rdt2.0 have beyond rdt1.0 for error detection during conversation?

Error detection feedback

What does the receiver do if a duplicate packet is received in rdt2.0?

Discard and not deliver up the duplicate packet

What happens if the ACK/NAK is not received at the sender's end in rdt2.0?

The sender retransmits current packet

What is the function called for ensuring reliable data transfer?

rdt_send(data)

What is the main goal of reliability in data transfer?

To ensure no bit errors or loss of packets in the channel

What determines the next state of the sender and receiver in reliable data transfer?

Control messages (ACK,NAK)

What does the sender do after sending one packet in rdt2.0?

Waits indefinitely for a response from the receiver

This quiz covers the principles of reliable data transfer in computer networks, addressing concepts such as flow control, congestion control, and the prevention of data loss and bit errors. It also discusses the function of 'Reliable data transfer (rdt).'

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free
Use Quizgecko on...
Browser
Browser