Multiple choice

Even parity Hamming code for the 4 bit binary number is 0111 is

  1. 0001111

  2. 0011111

  3. 1111000

  4. 0101011

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

For 4-bit data 0111 with even parity Hamming code, the parity bits are calculated at positions 1, 2, and 4 (powers of 2). P1 covers bits 1,3,5,7; P2 covers bits 2,3,6,7; P3 covers bits 4,5,6,7. With data 0111 at positions 3,5,6,7, the parity bits are P1=0, P2=0, P3=0, giving the final code 0001111.