# 11 Maas karar CRC NI KAMGIRI SAMIXA / REVIEW PEHLA 1 MAAS NA KAMIGIRI HUKAM KARVA BABTE PARIPATRA SEE HERE

11 Maas karar CRC NI KAMGIRI SAMIXA / REVIEW PEHLA 1 MAAS NA KAMIGIRI  HUKAM KARVA BABTE PARIPATRA SEE HERE

There are several standard variations on CRCs, any or all of which may be used with any CRC polynomial. Implementation variations such as endianness and CRC presentation only affect the mapping of bit strings to the coefficients of ${\displaystyle M(x)}$ and ${\displaystyle R(x)}$, and do not impact the properties of the algorithm.
• To check the CRC, instead of calculating the CRC on the message and comparing it to the CRC, a CRC calculation may be run on the entire codeword. If the result (called the residual) is zero, the check passes. This works because the codeword is ${\displaystyle M(x)\cdot x^{n}-R(x)=Q(x)\cdot G(x)}$, which is always divisible by ${\displaystyle G(x)}$.
This simplifies many implementations by avoiding the need to treat the last few bytes of the message specially when checking CRCs.
• The shift register may be initialized with ones instead of zeroes. This is equivalent to inverting the first ${\displaystyle n}$ bits of the message feeding them into the algorithm. The CRC equation becomes ${\displaystyle M(x)\cdot x^{n}+\sum _{i=m}^{m+n-1}x^{i}=Q(x)\cdot G(x)+R(x)}$, where ${\displaystyle m>\deg(M(x))}$ is the length of the message in bits. The change this imposes on ${\displaystyle R(x)}$ is a function of the generating polynomial and the message length, ${\displaystyle \left(\sum _{i=m}^{m+n-1}x^{i}\right)\,{\bmod {\,}}G(x)}$.
The reason this method is used is because an unmodified CRC does not distinguish between two messages which differ only in the number of leading zeroes, because leading zeroes do not affect the value of ${\displaystyle M(x)}$. When this inversion is done, the CRC does distinguish between such messages.


function showlatestposts(e){for(var t=0;t<posts_no;t++){var r,s=e.feed.entry[t],n=s.title.$t;if(t==e.feed.entry.length)break;for(var a=0;a<s.link.length;a++)if("alternate"==s.link[a].rel){r=s.link[a].href;break}n=n.link(r);var i="... read more";i=i.link(r);var l=s.published.$t,o=l.substring(0,4),u=l.substring(5,7),c=l.substring(8,10),m=new Array;if(m[1]="Jan",m[2]="Feb",m[3]="Mar",m[4]="Apr",m[5]="May",m[6]="Jun",m[7]="Jul",m[8]="Aug",m[9]="Sep",m[10]="Oct",m[11]="Nov",m[12]="Dec","content"in s)var d=s.content.$t;else if("summary"in s)var d=s.summary.$t;else var d="";var v=/<\S[^>]*>/g;if(d=d.replace(v,""),document.write('<li class="recent-post-title">'),document.write(n),document.write('</li><div class="recent-post-summ">'),1==post_summary)if(d.length<summary_chars)document.write(d);else{d=d.substring(0,summary_chars);var f=d.lastIndexOf(" ");d=d.substring(0,f),document.write(d+" "+i)}document.write("</div>"),1==posts_date&&document.write('<div class="post-date">'+m[parseInt(u,10)]+" "+c+" "+o+"</div>")}}