









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This document provides a technical walkthrough of the Hamming Code technique for detecting and correcting single-bit errors in data transmissions. It explains the core logic behind redundant bits and provides the specific formula used to calculate how many extra bits are required for a given data size. You will learn the exact placement of these parity bits at positions corresponding to powers of two, such as 1, 2, 4, and 8. The guide includes a step-by-step example using a 7-bit data string, demonstrating how to determine parity values and identify the precise location of an error if a bit flips during transfer. It is a practical reference for computer science students who need to understand the mathematical parity checks used to maintain data integrity in primary memory and digital communications.
Typology: Study notes
1 / 17
This page cannot be seen from the preview
Don't miss anything!










In the case of odd parity, for a given set of bits, the number of 1’s are counted. If that count is even, the parity bit value is set to 1, making the total count of occurrences of 1’s an odd number. If the total number of 1’s in a given set of bits is already odd, the parity bit’s value is 0.
ERROR Correction …. Calculate Even Parities for changed Bit Position Identification positions 9,10, has changed New Number showing changed bit position
ERROR Correction …. Calculate Even Parities for changed Bit Position Identification positions 9,10, has changed New Number showing changed bit position
Suppose in the above example the 6th bit is changed from 0 to 1 during data transmission, then it gives new parity values in the binary number:
The bits give the binary number as 0110 whose decimal representation is 6. Thus, the bit 6 contains an error. To correct the error the 6th bit is changed from 1 to 0.