hamming codes
This gives a good idea ,,, http://en.wikipedia.org/wiki/Hamming_code
Hey SREEVISHNU
You might get a better response moving this post from the 3d printing discussion to here http://www.element14.com/community/community/code_exchange/content?filterID=contentstatus%5Bpublished%5D%7Elanguage%7Elanguage%5Bcpl%5D.
Nate
I'm not really sure what you are asking. Hamming codes are a form of parity that allows some degree of correction for binary codes.