Professional Documents
Culture Documents
CN Asssign 3
CN Asssign 3
Batch: 2021
Program: CS
Attempt each question. Marks are specified with each question. (CLO-2, PLO-2)
To perform error detection using CRC (Cyclic Redundancy Check), the following steps are taken:
Step 1:
Append Necessary Zeros to the Data Stream
Given data stream:
1101011011
1101011011
Divisor polynomial:
1011
1011
Append Zeros
To perform CRC, append the number of zeros equal to the degree of the divisor polynomial to the end of the data
stream.
c) Verify the CRC code by demonstrating the division process at the receiver end.
CS-4015 – Computer Networks
In the character count framing method, the first character of each frame indicates the number of characters
(including the count character itself) in that frame. Let’s decode the received frames and check for any errors.
Given frames:
5HELLO
7WORLD12
8NETWORKS
Frame-by-Frame Analysis;
Frame 1: 5HELLO
Count character: 5
Total characters expected: 5
Actual frame: "5HELLO"
Length: 5 characters
Decoded Frame 1: "HELLO"
Decoded Frame 2: There is an error because the length is not matching the specified count. The correct
frame should be "7WORLD1" if only 7 characters are to be considered.
CS-4015 – Computer Networks
Frame 3: 8NETWORKS:
Count character: 8
Total characters expected: 8
Actual frame: "8NETWORKS"
Length: 8 characters
Decoded Frame 3: "NETWORKS"
Conclusion
Throughput Calculation:
Throughput is the number of frames successfully transmitted per unit time.
Since one frame can be sent every 2 milliseconds (including the wait for acknowledgment), the
maximum number of frames that can be sent per second is:
Throughput=2 ms1 frame×1000 ms/s=500 frames/second
Summary: