Crono, you remind me of the sort of IRC newbie that bashes microsoft all day, and bulls**ts about stuff they dont know about, yet you have windows and office installed.
They are suffixes, not prefixes, in a sense. Partity is a form of validation. Those that want to know how it works, pull up a stool, I think this is going to be a long assed explination.
Computers store data using a thing called binary. They have been doing this even before orph was born. :smile: If you want to know how binary actually works, go find google. But just accept that computers use binary instead of the alphabet to store data.
This is the letter A, as a
binary digit : 01000001
This is the letter B, as a
binary digit : 01000010
This is the letter C, as a
binary digit : 01000011
You get the idea. When you look at a binary digit, you can see that it is comprised of 8 numbers. Now, in the good old days, computers used things like card, and oil, stuff like that to remember data. Data bits were either set to 1, or 0. If the computer was using card, it would see if there was a punch in the card, if there was, that bit was 1, if not, 0.
Now, the whole confusion over parity.
You have a binary word; snarkpit. Translated, this is;
0101001101001110010000010101001001001011010100000100100101010100
I used a binary translator. :smile:
http://nickciske.com/tools/binary.php
So, the word snarkpit is being read from a card, oil, valves, hard drive, whatever you're generation. On you're hard drive, what happens if there is a eeny weeny something crawling across you're hard drive, or your hard drive gets dirty, etc, etc. The idea is, the read may read a 1, instead of a 0. This f**ks things up.
Look at the first number from the binary translation of snarkpit. It is a 0. Imagine if it was a 1;
1101001101001110010000010101001001001011010100000100100101010100
This now translates to ?NARKPIT. Wild eh ?
Parity, is designed to prevent this error. back to the letter A; 01000001.
Count the number 1's in the binary digit. There are two 1's. Wonderous stuff. Because it has two, the binary digit of A, is said to have 'even parity'.
The letter C, has odd parity, because the letter c; 01000011, has an odd number of 1's.
When I said that binary digits are made from 8 numbers, I lied. The data is stored in these 8 numbers, but binary now-a-days, is made from 9 digits. The 8 digits that contain the data, and a thing called a parity bit on the end.
'A', has even parity; 01000001
1
The extra bit on the end, means that when all the 1's are counted, it should be even. If odd parity is expected, like in the letter C, a 0 would be put on the end.
Here is our ammended table...
This is the letter A, as a
binary digit : 01000001
1
This is the letter B, as a
binary digit : 01000010
1
This is the letter C, as a
binary digit : 01000011
0
When the reader on a hard drive, goes to read the 9 numbers in a binary digit, it will check the parity bit, to see if the last 8 numbers, the data, was correct.
What happens if the parity bit is incorect ? well, shame. The chance of a parity bit being wrong, is 1/9. which is actualy quite unlikly. sometimes, things like hard drives and modems are able to correct binary digits from parity, but I am not sure how this works.
Now i've piffled on about parity quite a bit, so I may aswell piffle some more. When you get a lot of binary digits, they need to be grouped, its just a way to orginise things. This is a big long list of the 'groups', which you have almost definatly seen before in file sizes.
binary / byte
bits ( 8 bytes )
kilobyte ( 10 to the power of 1 )
megabyte ( 10 to the power of 3 )
gigabyte ( 10 to the power of 6 )
terabyte ( 10 to the power of 9 )
petabyte ( 10 to the power of 12 )
exabyte ( 10 to the power of 15 )
zettabyte ( 10 to the power of 18 )
yottabye ( 10 to the power of 21 )
nonabyte ( 10 to the power of 24 )
doggabyte ( 10 to the power of 27 )
And its as
simple as the parity going up this scale. :mrgreen: