GATE Computer ScienceVery hardGATE CS (PYQ pattern)
A binary (n, k) code correcting t errors is perfect if the radius-t spheres around its 2^k codewords exactly fill all 2^n words. Which of the following codes exist AND are perfect? I. a (7, 4) code with t = 1 II. a (23, 12) code with t = 3 III. a (15, 7) code with t = 2 IV. a (31, 26) code with t = 1 V. a (90, 78) code with t = 2
- A. I, II and IV only
- B. I, II, IV and V only
- C. I and IV only
- D. I, II, III and IV only
Correct answer: A. I, II and IV only
Sphere volumes: 1 + 7 = 2³ (Hamming), 1 + 23 + 253 + 1771 = 2048 = 2¹¹ (binary Golay code), 1 + 31 = 2⁵ (Hamming): perfect. For (15, 7, t = 2), 1 + 15 + 105 = 121 ≠ 2⁸. (90, 78, t = 2) satisfies the count 1 + 90 + 4005 = 4096 = 2¹², but it is known (Golay; Tietäväinen–van Lint) that no such code exists: the only nontrivial perfect binary codes are Hamming and Golay codes.
More Digital Logic questions
- A CRC uses the generator x³ + x + 1 (1011). The 9 data bits 110101101 are sent followed by their 3-bit CRC. Four corrupted 12-bit frames…
- A CRC uses the generator x⁴ + x + 1 (10011). Which of these error patterns (as bit strings added by XOR to the codeword) go undetected? I…
- Radix-2 Booth recoding turns an 8-bit two's complement multiplier q7..q0 (with q−1 = 0) into digits q(i−1) − q(i) ∈ {−1, 0, +1}; each…
- A radix-4 (modified Booth) multiplier recodes a 16-bit multiplier 0000111100001111 into 8 digits from {−2, −1, 0, +1, +2}. How many of the…
- Every unsigned 33-digit decimal number (0 to 10³³ − 1) must be stored. What is the minimum number of bits with (i) BCD, (ii) densely…
- The 8-bit pattern 10000000 is read as (i) sign-magnitude, (ii) one's complement, (iii) two's complement and (iv) excess-128 (biased)…