Deadline: Thursday, June 5, 2024: CS-4015 - Computer Networks Assignment 3 - Spring 2024
Deadline: Thursday, June 5, 2024: CS-4015 - Computer Networks Assignment 3 - Spring 2024
Deadline: Thursday, June 5, 2024: CS-4015 - Computer Networks Assignment 3 - Spring 2024
Attempt each question. Marks are specified with each question. (CLO-2, PLO-2)
20 – Marks
Question 1: Error Detection using CRC
Given a data stream of 1101011011 and a divisor polynomial 1011, perform the following tasks:
a) Append the necessary zeros to the data stream.
b) Calculate the CRC code using the divisor polynomial.
CS-4015 – Computer Networks
c) Verify the CRC code by demonstrating the division process at the receiver end.
CS-4015 – Computer Networks
Given frames:
5HELLO
7WORLD12
8NETWORKS
Frame-by-Frame Analysis;
Frame 1:
CS-4015 – Computer Networks
Throughput Calculation:
Efficiency is assessed by comparing the time spent on actual data transmission to the total time.
This includes waiting for acknowledgement.
Frame transmission time.
Efficiency equals RTTFrame transmission time=2 ms; 1 ms=0.5 or 50%.
Given:
Window size: 4
Total frames: 10
Lost frames: 3 and 6
Process Overview
Initial Transmission:
Sender sends frames 0, 1, 2, 3.
Frame 3 is lost.
Receiver receives frames 0, 1, 2.
Acknowledgments:
Receiver acknowledges frames 0, 1, 2.
Sender receives ACKs for 0, 1, 2 and slides window to send frames 4 and 5.
Sender notices no ACK for frame 3.
Retransmission of Lost Frame 3:
The sender re-transmits frame 3.
The receiver receives and recognizes frame 3.