CN Assignment A3
CN Assignment A3
CN Assignment A3
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.
c) Verify the CRC code by demonstrating the division process at the receiver end.
Question 2: Framing Techniques
Consider a network where frames are transmitted between two computers using the character
count framing method. If the following data frames are transmitted: 5HELLO, 7WORLD12, and
8NETWORKS, decode the received frames and identify any errors if present. Assume that each
frame's length count is transmitted accurately.
Question 3: Flow Control with Stop-and-Wait ARQ
A sender transmits a series of frames to a receiver using the Stop-and-Wait ARQ protocol. If the
sender sends frames at a rate of 1000 frames per second, and each acknowledgment takes 1
millisecond to reach the sender, calculate the maximum throughput of the system. Explain the
impact of acknowledgment delay on the overall efficiency of the transmission.
Question 4: Sliding Window Protocol
Consider a sliding window protocol with a window size of 4. The sender has to send a sequence
of 10 frames to the receiver. If frames 3 and 6 are lost during transmission, explain how the
sliding window protocol handles retransmission and acknowledgment. Illustrate the process with
a diagram showing the sender and receiver windows at different stages.
CS-4015 – Computer Networks