0% found this document useful (0 votes)
3 views8 pages

ET23BTEC022 - Lab - CRC

The document outlines a lab assignment for implementing error detection using CRC in Computer Networks. It includes instructions for generating CRC, appending it to a message, and detecting errors in transmission using C/Python code. Additionally, it requires students to show computations, results for different message polynomials, and answer questions related to CRC and its applications.

Uploaded by

aryakavani.ec23
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views8 pages

ET23BTEC022 - Lab - CRC

The document outlines a lab assignment for implementing error detection using CRC in Computer Networks. It includes instructions for generating CRC, appending it to a message, and detecting errors in transmission using C/Python code. Additionally, it requires students to show computations, results for different message polynomials, and answer questions related to CRC and its applications.

Uploaded by

aryakavani.ec23
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Sarvajanik College of Engineering and Technology

Electronics & Communication Engineering


B.E. III Semester VI Computer Networks - 3161007
B.E. II Semester IV Computer Communication and Networking - BTEC13405

ENROLLMENT Number : ET23BTEC022


Name : Arya Kavani
Aim:
Implement error detection mechanism using CRC. Write C / Python code.
Generate CRC for a given message. Append CRC with a message for transmission. Generate
error in transmitted message and identify whether it is detected.

Show your computation for the following. Lab Notebook / Lab file.(Hand written hardcopy)
Calculate CRC, Transmit message T(x). Receive message R(x). R(x) can be as it is transmitted
or may be with error. Show the result with error and without error at the receiver.
(1)​Take a message polynomial and divisor of your choice. - 1 points
(2)​Take message polynomial - m(x) = 101100011101, Divisor g(x) - 10110 - 1 points
(3)​Take a message polynomial of 4 digit - 7yz6 where yz are the last two digits of your
enrolment number. Convert these digits into binary (4bits per digit) and consider that as a
message. Consider divisor - x4+x2+1 - 3 points
If your enrollment number is 40 then m(x) = 0111 0100 0000 0110
Show Code here.(1 points)

clc;
clear all;
close all;

Gx = input('Enter Gx : ');
Mx = input ('Enter Message Mx : ');
n = length(Gx)-1;
zero = zeros(1,n);
appendMx = [Mx zero] ;
[quot,remd] = gfdeconv(fliplr(appendMx),fliplr(Gx))
Tx = [Mx,fliplr(remd)]

% RECIEVER SIDE
rx = input('Enter the receive: ');
[qourx,remrx] = gfdeconv(fliplr(rx),fliplr(Gx))

if remrx == 0
display('no error')
else
display('error')
end
Take a message polynomial and divisor of your choice. - 1 points
( without error )
Take a message polynomial and divisor of your choice. - 1 points
( with error )
Take message polynomial- m(x) = 101100011101, Divisor g(x) - 10110 - 1 points
( Without Error )
Take message polynomial- m(x) = 101100011101, Divisor g(x) - 10110 - 1 points
( with Error )
Take a message polynomial of 4 digit - 7yz6 where yz are the last two digits of
your enrolment number. Convert these digits into binary (4bits per digit) and
consider that as a message. Consider divisor - x4+x2+1 - 3 points
En No : ET23BTEC022
Gx : 10101
Mx : 0111 0010 0010 0110

( WITHOUT ERROR )
( WITH ERROR )

Show results here for two polynomial and divisor pairs (Generated CRC, Received message with
error and corrected message. (6 points)

Questions - 4 points

(1)​What is the use of CRC?


(2)​Identify 2-3 practical usage of CRC.
(3)​Classify error detection and correction codes.
(4)​Discuss any one standard CRC.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy