Saideepmukhopadhyay 11200222017 It
Saideepmukhopadhyay 11200222017 It
Computer Networks
Submitted by
Name: Saideep Mukhopadhyay
Department: IT
Semester: 6th
Roll no:11200222017
TECHNOLOGY
Write an explanation report for the following questions:- CA2
Which one of the following choices gives the correct values of x and y ?
Answer:
To determine the values of x and y in the given 12-bit Hamming codeword, we need to check the
parity bit calculations. The Hamming code follows an error-detection and correction scheme
where check bits are placed at positions that are powers of 2 (i.e., c1, c2, c4, c8).
Given Data:
Data Bits: d8=1, d7=1, d6=0, d5=x, d4=0, d3=1, d2=0, d1=1
Check Bits: c8=y, c4=0, c2=1, c1=0
Hamming Code positions:
Therefore, q=1.
Final Answer
The correct values are:
p=3
q=1
Thus, the correct option is:
a) p=3 and q=1
Explanation of the Answer
The minimum Hamming distance (p) is 3, as the smallest
distance between any two codewords is 3.
The maximum number of erroneous bits (q) that can be
3−1
corrected is 1, as q=⌊ ⌋=1
2