🎓 BookMCQ
← Back to 10. Error Detection and Correction

📝 Different Approaches to the Checksum Error Detecting Technique (15 MCQs)

Traditional, Fletcher and Adler Checksum Families

Checksum algorithms use different ways to summarize message contents. A traditional one's-complement checksum adds fixed-width words, while Fletcher and Adler approaches use multiple accumulators so data position influences the result. These variations aim to detect more changes without the polynomial division used by cyclic redundancy checks in practice. This distinction helps the receiver choose an appropriate integrity check for each frame.

Weighted Sums Improve on Simple Word Addition

A traditional checksum treats each word equally, so reordering words may not change the sum. Fletcher maintains running sums that give later data items different accumulated influence. Adler uses a related pair of accumulators and a prime modulus, providing a compact weighted check for byte-oriented input. Both endpoints must use matching parameters for the check to be interpreted correctly.

Accumulator Updates in Enhanced Checksums

In a basic Fletcher calculation, one accumulator adds each data item modulo a fixed base, while a second accumulator accumulates the first sum. The final checksum combines both values. Adler follows a related procedure, using a different initialization and modulus; sender and receiver must implement identical rules. This check takes place before the receiver accepts the protected information.

How Reordering Can Defeat an Unweighted Sum

Consider two 16-bit words A and B. A simple additive checksum may produce the same total for the sequence A, B and the reordered sequence B, A. A weighted scheme changes accumulated values according to position, so a transposition is more likely to produce a different checksum. The example makes the coding rule visible through a reproducible bit sequence.

Selecting a Checksum for Data Integrity

The traditional Internet checksum is simple and widely understood; Fletcher and Adler offer alternative lightweight checks with stronger sensitivity to some ordering changes. CRCs generally provide stronger detection of burst errors. Choice depends on protocol specification, implementation cost, protected length, and required detection strength. Its suitability depends on traffic type, delay limits, and acceptable redundancy overhead.

Recognizing the Limits of Each Checksum Family

'Fletcher is a CRC' is false; it uses accumulators, not polynomial division. 'Adler and Fletcher have identical parameters' is false; their initialization and modulus differ. 'A weighted checksum guarantees detection of every change' is false; all finite checksums can have collisions. These distinctions prevent confusion between detection, recovery, and general data integrity.

Comparing Checksum Algorithms and Their Parameters

Compare each approach by input unit, arithmetic, accumulator count, output width, and known weakness. Explain why weighting helps detect transpositions, distinguish checksum algorithms from CRCs, and calculate only the variant whose exact update rules are supplied or specified in the question. Show intermediate steps and state assumptions behind any calculated result.

Checksum Algorithm Terms

  • Traditional checksum - Adds fixed-width message words.
  • Fletcher checksum - Uses two weighted accumulators.
  • Adler checksum - Uses modular byte sums.
  • Accumulator - Stores a running total.
  • Modulus - Sets arithmetic wrap limit.
  • Transposition - Swaps data word positions.
5
Easy
7
Medium
3
Hard

📝 All Different Approaches to the Checksum Error Detecting Technique MCQs

Q1. Given generator polynomial g(x)=x6+1g(x)=x^{6}+1, can it detect a burst error of length 7?

A.Yes, it always detects bursts up to its degree
B.No, bursts longer than the degree may go undetected ✅
C.Only if the error starts with a 1
D.Only if the error ends with a 0
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: The degree of g(x)g(x) is 6, so the CRC guarantees detection of any burst error whose length does not exceed 6 bits. A burst of length 7 exceeds this bound, and the remainder after division can be zero, allowing the error to pass undetected. Hence detection is not guaranteed.

Q2. If a CRC using generator g(x)=x5+x2+1g(x)=x^{5}+x^{2}+1 fails to detect a 6‑bit burst error, what can be inferred about the relationship between the burst length and the degree of g(x)g(x)?

A.The burst length exceeds the degree of the generator ✅
B.The burst length is less than the degree
C.The burst length equals the degree
D.The burst length is unrelated to the degree
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: Since the generator has degree 5, it can reliably detect all bursts up to 5 bits. Failure to detect a 6‑bit burst indicates that the error length surpasses the polynomial’s degree, showing that bursts longer than the degree are not guaranteed to be caught.

Q3. Compare the detection capability of generators g1(x)=x6+1g_{1}(x)=x^{6}+1 and g2(x)=x5+x2+1g_{2}(x)=x^{5}+x^{2}+1 for a burst error of length 4. Which statement is true?

A.g1g_{1} detects more bursts
B.g2g_{2} detects more bursts
C.Both detect all such bursts ✅
D.Neither can detect a 4‑bit burst
💡 Difficulty: easy | ✅ Correct: C

📖 Explanation: Both generators have degrees greater than 4 (6 and 5 respectively). A CRC guarantees detection of any burst error whose length does not exceed its degree, so each will detect every 4‑bit burst. Consequently, their detection capabilities are equivalent for this burst length.

Q4. Which statement is true about generator g(x)=x7+x+1g(x)=x^{7}+x+1 regarding detection of any burst error up to length 7?

A.It always detects such bursts
B.It never detects such bursts
C.It detects only even‑length bursts
D.Detection is not guaranteed for all length‑7 bursts ✅
💡 Difficulty: hard | ✅ Correct: D

📖 Explanation: While the polynomial degree is 7, the CRC guarantee applies only to bursts whose length is **≤** the degree. However, certain length‑7 bursts can be exact multiples of the generator, yielding a zero remainder and escaping detection. Therefore, detection is not universally guaranteed.

Q5. In a dataset of 16,000 cases, if 2 % of cases involve burst errors longer than the degree of generator x6+1x^{6}+1, approximately how many errors are expected to be undetected?

A.0
B.3.2 ✅
C.32
D.160
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Two percent of 16,000 equals 320 cases with bursts longer than six bits. The CRC cannot guarantee detection for those bursts, so on average about 320 × 1 = 320 errors could be missed. Expressed in decimal form, this is 3.2 × 10², i.e., roughly 3.2 × 10² ≈ 3.2 × 10² ≈ 3.2 × 10², which the answer rounds to 3.2.

Q6. Which characteristic correctly describes a primitive polynomial used in CRC design?

A.Higher detection of all error patterns
B.No effect on detection capability
C.Increases computational load without benefit
D.Ensures maximal length of error sequences before repetition ✅
💡 Difficulty: easy | ✅ Correct: D

📖 Explanation: A primitive polynomial generates the longest possible non‑repeating sequence for a given field size, which means that the CRC will cycle through all possible non‑zero remainders before repeating. This property maximizes the distance between detectable error patterns, providing the strongest possible error‑spreading capability.

Q7. Replacing generator g1(x)=x6+1g_{1}(x)=x^{6}+1 with g2(x)=x8+x4+x3+1g_{2}(x)=x^{8}+x^{4}+x^{3}+1 changes the checksum length by how many bits?

A.Increases by 2 bits ✅
B.Decreases by 2 bits
C.Remains unchanged
D.Becomes variable depending on data
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: The degree of a generator determines the number of CRC bits appended to the message. g1g_{1} has degree 6, giving a 6‑bit checksum; g2g_{2} has degree 8, yielding an 8‑bit checksum. The difference is 8 − 6 = 2 bits, so the checksum length grows by two bits.

Q8. For random errors, how does the probability of an undetected error using generator x5+x2+1x^{5}+x^{2}+1 compare to that of an 8‑bit simple additive checksum?

A.CRC has lower probability
B.CRC has higher probability ✅
C.Both have the same probability
D.It depends on the length of the data block
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: A simple additive checksum treats all bit patterns uniformly, giving a detection failure probability of 1/281/2^{8}. The CRC polynomial of degree 5 provides only 1/251/2^{5} possible remainders, which is a larger fraction, so the chance of an undetected random error is higher for the CRC in this specific comparison.

Q9. Why does a burst error that is a multiple of the generator polynomial go undetected by the CRC?

A.Because the remainder becomes zero
B.Because XOR cancels the error
C.Because the division yields a zero remainder ✅
D.Because the error length exceeds detection capability
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: When the error polynomial is exactly divisible by the generator, the polynomial division performed by the CRC yields a remainder of zero. The receiver checks the remainder; a zero remainder indicates no error, so a multiple of the generator passes the check unnoticed.

Q10. How does increasing the degree of the generator polynomial affect error detection capability and computational overhead?

A.Improves detection and increases overhead
B.Improves detection while reducing overhead
C.Reduces detection but increases overhead
D.No impact on detection but increases overhead ✅
💡 Difficulty: medium | ✅ Correct: D

📖 Explanation: A higher‑degree polynomial adds more CRC bits, which generally enhances the ability to detect longer burst errors. However, the detection guarantee for bursts ≤ degree remains the same, so the fundamental detection capability does not change for those bursts. The extra bits do increase the amount of computation required for division.

Q11. A generator of degree 4 cannot guarantee detection of burst errors longer than how many bits?

A.4 bits
B.5 bits ✅
C.3 bits
D.2 bits
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: The CRC guarantee holds for bursts whose length is **≤** the generator’s degree. Consequently, any burst longer than 4 bits—starting at length 5—may not be reliably detected. Therefore, the smallest length that is not guaranteed to be caught is 5 bits.

Q12. Why does inclusion of factor x+1x+1 in the generator guarantee detection of all odd‑numbered bit errors?

A.It causes the remainder to be 1 for odd errors
B.It adds an extra parity bit
C.It ensures the remainder is non‑zero for odd errors ✅
D.It has no effect on odd‑error detection
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: If the generator contains the factor x+1x+1, any error polynomial with an odd number of non‑zero coefficients (odd weight) will be divisible by x+1x+1 only if the remainder is zero, which cannot happen. Hence the CRC will always produce a non‑zero remainder for odd‑weight errors, ensuring they are detected.

Q13. Given generator g(x)=x7+x3+1g(x)=x^{7}+x^{3}+1, what is the minimum burst length that could escape detection?

A.6 bits
B.7 bits
C.9 bits
D.8 bits ✅
💡 Difficulty: hard | ✅ Correct: D

📖 Explanation: The degree of the polynomial is 7, so it guarantees detection of all bursts up to 7 bits. Any burst longer than the degree may escape detection, and the smallest such length is 8 bits. Therefore, an 8‑bit burst is the minimum length that could go undetected.

Q14. What is the probability that a random 4‑bit error pattern goes undetected by a CRC with generator degree 4?

A.0
B.1/2^{4} ✅
C.1/2^{3}
D.1/2^{5}
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: A CRC of degree 4 produces 242^{4} possible remainders. Assuming error patterns are uniformly random, the chance that a particular error yields the zero remainder (and thus remains undetected) is 1/241/2^{4}. Hence the undetected error probability is 1/161/16.

Q15. What is the effect on overall burst error detection when two CRC generators x3+1x^{3}+1 and x5+x2+1x^{5}+x^{2}+1 are concatenated?

A.Detection up to the larger degree only
B.Detection up to the sum of the degrees
C.Detection capability remains unchanged ✅
D.The effect is unpredictable
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: When two CRC checks are applied sequentially, each independently verifies its own set of error patterns. The

🔗 Related Topics (MCQs)