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?
- A. 4
- B. 5
- C. 6
- 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 डेटा बिट के ब्लॉक में किसी भी एकल-बिट त्रुटि को सुधारना है। न्यूनतम कितने चेक (पैरिटी) बिट चाहिए?
- A. 4
- B. 5
- C. 6
- 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
- A sender appends an even-parity bit to every 7-bit character. Which received 8-bit word shows that an error has occurred?
- In ASCII the capital letter 'G' has the code 71 (decimal). What is the code of the small letter 'g', written in hexadecimal?
- In ASCII, 'M' is 77 and 'm' is 109, so changing one into the other flips exactly one bit. What is the place value of that bit?
- A text file is saved in UTF-8. How many bytes does the English letter 'A' take, and how many does a Devanagari letter such as 'क' take?
- In which number base is the statement 3 × 4 = 13 true?
- Three of these numbers are equal. Which one has a different value?