S4Saustralia
Member
Tell me if I am correct:
Parity bit check is the 8th bit within a byte. All other bytes are represented with an ascii character, but the 8th bit is used to check whether a byte has been successfully received by counting the number of 1's within the byte.
Eg: id the 8th bit knows there should be an odd number of 1's and has the 7 bits as 0101010 it will add another 0 and become 01010100?
However, what I dont understand is wont the 8th bit always add a 0 if correct? Eg: if he knows that there should be an even or odd amount of 1's, he will always add a 0 if he sees the correct amount..
Also, if the 8th bit does get the wrong number of 1's and has to add a 1, wont that corrupt the file by altering the data?
Sorry for all the questions, but my teacher really skimmed through it and the concept is fucking with me.
Thanks
Parity bit check is the 8th bit within a byte. All other bytes are represented with an ascii character, but the 8th bit is used to check whether a byte has been successfully received by counting the number of 1's within the byte.
Eg: id the 8th bit knows there should be an odd number of 1's and has the 7 bits as 0101010 it will add another 0 and become 01010100?
However, what I dont understand is wont the 8th bit always add a 0 if correct? Eg: if he knows that there should be an even or odd amount of 1's, he will always add a 0 if he sees the correct amount..
Also, if the 8th bit does get the wrong number of 1's and has to add a 1, wont that corrupt the file by altering the data?
Sorry for all the questions, but my teacher really skimmed through it and the concept is fucking with me.
Thanks