Hamming Codes

There are two tasks in this experiment.

Procedure for Encoding:

  1. The objective of this task is to learn about the encoding of a (7, 4) Hamming code.
  2. Enter all the three parity bits in the fields provided and click on Submit.
  3. The correctness of the answer is displayed in Observations.
  4. Reset - Clears all the entered parity bits.
  5. Next - Displays the next example. Solve sufficient number of examples.

Procedure for Error-Correction:

  1. The objective of this task is to correct a single error in a (7, 4) Hamming code.
  2. Clicking on a bit toggles the value in it.
  3. The figure shows a vector obtained by flipping any single bit of a codeword.
  4. Identify the error location by following the procedure given in theory. Then, flip the bit corresponding to the error location and click on Submit.
  5. Observations displays whether you have corrected the error or not.
  6. Reset - Resets back all the bits to the original codeword.
  7. Next - Displays the next example. Solve sufficient number of examples.