1.

What is the total block length ‘n’ of a Hamming code?(a) 2^r(b) 2^r-1(c) 2^r-1-1(d) 2^r+1The question was asked in unit test.I want to ask this question from Checksum, Complexity Classes & NP Complete Problems topic in chapter Checksum, Complexity Classes & NP Complete Problems of Data Structures & Algorithms II

Answer»

Correct option is (B) 2^R-1

The best I can explain: Hamming codes are a class of binary linear codes, hence r>=2. For a hamming(7, 4) CODE, the BLOCK length ‘n’ is 2^r-1 where r is the parity bit. Here, r=3.



Discussion

No Comment Found

Related InterviewSolutions