Computer AwarenessVery hardIBPS SO IT Officer

A Hamming code must correct any single-bit error in a block of 12 data bits. What is the minimum number of check (parity) bits needed?

  1. A. 4
  2. B. 5
  3. C. 6
  4. D. 3

Correct answer: B. 5

Check bits p must satisfy 2ᵖ ≥ m + p + 1. With m = 12, p = 4 gives 16 ≥ 17 (false) and p = 5 gives 32 ≥ 18, so 5 are needed; 4 suffice only up to 11 data bits.

हिंदी में

हैमिंग कोड को 12 डेटा बिट के ब्लॉक में किसी भी एकल-बिट त्रुटि को सुधारना है। न्यूनतम कितने चेक (पैरिटी) बिट चाहिए?

  1. A. 4
  2. B. 5
  3. C. 6
  4. D. 3

उत्तर: B. चेक बिट p को 2ᵖ ≥ m + p + 1 संतुष्ट करना चाहिए। m = 12 के साथ p = 4 पर 16 ≥ 17 (असत्य) है और p = 5 पर 32 ≥ 18, इसलिए 5 चाहिए; 4 केवल 11 डेटा बिट तक पर्याप्त हैं।

More Computer Awareness questions

Exams that ask this topic