🎓 BookMCQ
← Back to 10. Error Detection and Correction

📝 Concept of Checksum Error Detecting Technique (20 MCQs)

The Sender and Receiver Roles in Checksum Checking

A checksum is a derived value that summarizes a message for accidental-error detection. It is computed from message contents rather than selected independently. The sender includes the value with the transmitted data, allowing the receiver to repeat the calculation and test whether the received message is consistent with the original checksum rule. This distinction helps the receiver choose an appropriate integrity check for each frame.

Message Partitioning and Complement Operations

The message is separated into m-bit units so arithmetic remains within a defined width. In one's-complement addition, overflow from the most significant end is added back to the least significant end. The final sum is complemented, producing the check field carried with the message. Both endpoints must use matching parameters for the check to be interpreted correctly.

Why the Receiver Recalculates the Check Value

The sender calculates the checksum before transmission and inserts it into the protocol field. At reception, the checker includes the received checksum in the same addition. If the final complemented result is zero, the data passes the test; otherwise, the receiver detects an inconsistency and discards or reports the message. This check takes place before the receiver accepts the protected information.

A Small Numerical Checksum Walkthrough

Suppose four-bit message words are 0011, 0101, and 0110. Their sum is 1110, so the one's-complement checksum is 0001. Adding all three words and 0001 at the receiver yields 1111; complementing gives 0000, the expected verification result. This confirms the checksum calculation. The example makes the coding rule visible through a reproducible bit sequence.

Checksum as an End-to-End Integrity Field

Checksums are inexpensive because addition and complement operations are available in ordinary processors. They are useful in protocols that need a lightweight integrity test across a packet or segment. Their position in a protocol header does not change the fact that the algorithm operates on defined message fields. Its suitability depends on traffic type, delay limits, and acceptable redundancy overhead.

Understanding What a Checksum Cannot Prove

'The checksum is a copy of the data' is false; it is a calculated check value. 'Zero after verification means an empty message' is false; it is the expected complemented result. 'A checksum can identify the exact flipped bit' is false; it usually indicates inconsistency without locating the error. These distinctions prevent confusion between detection, recovery, and general data integrity.

Explaining Checksum Generation and Acceptance

Be prepared to show the sender's sum, carry wrap, complement, and the receiver's verification. Keep word width constant, include the checksum in the receiver calculation, and report whether the final result satisfies the specified all-zero or all-one convention. Keep calculations transparent. Show intermediate steps and state assumptions behind any calculated result.

Checksum Operation Vocabulary

  • Message word - Fixed-size message portion.
  • Checksum field - Carries the calculated value.
  • Complement - Inverts all binary bits.
  • Carry wrap - Adds overflow back into sum.
  • Checker - Validates received checksum value.
  • Integrity check - Tests accidental data changes.
6
Easy
9
Medium
5
Hard

📝 All Concept of Checksum Error Detecting Technique MCQs

Q1. If a generator polynomial includes the factor x+1x+1, which type of errors is guaranteed to be detected?

A.All odd-numbered errors ✅
B.All even-numbered errors
C.All burst errors length ≤r\le r
D.All errors
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: The factor x+1x+1 forces the generator to have a root at x=1x=1, which means any error polynomial with an odd number of 1‑bits will produce a non‑zero remainder, guaranteeing detection of all odd‑numbered errors while other error types are not assured.

Q2. Suppose two isolated errors are exactly four bits apart. Which statement about detection by the generator g(x)=x14+x3+1g(x)=x^{14}+x^{3}+1 is true?

A.Always detected
B.Detected only if distance < r
C.Detected only if distance > r
D.Undetected if distance exactly 4 ✅
💡 Difficulty: medium | ✅ Correct: D

📖 Explanation: The given generator cannot detect two errors whose separation equals four positions; the error polynomial becomes a multiple of the generator, leaving a zero syndrome, so such a pattern remains invisible to the detector.

Q3. For r=14r=14, what is the probability that a burst error of length L=r+1L=r+1 goes undetected?

A.(1/2)14(1/2)^{14}
B.(1/2)13(1/2)^{13} ✅
C.(1/2)15(1/2)^{15}
D.(1/2)12(1/2)^{12}
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: When L=r+1L=r+1, the undetected‑burst probability is (1/2)r−1(1/2)^{r-1}. Substituting r=14r=14 gives (1/2)13(1/2)^{13}, meaning roughly one chance in eight thousand thousand for such an error to escape detection.

Q4. Which statement correctly compares a generator that contains the factor x+1x+1 with one that does not?

A.A generator without the factor cannot detect odd errors
B.A generator with the factor detects even errors
C.A generator with the factor x+1x+1 detects all odd-numbered errors ✅
D.A generator with the factor detects all burst errors
💡 Difficulty: easy | ✅ Correct: C

📖 Explanation: Including x+1x+1 ensures that any error polynomial with an odd number of 1‑bits yields a non‑zero remainder, so the CRC will always flag odd‑count errors, a property the generator lacking this factor does not possess.

Q5. A generator that cannot divide xt+1x^{t}+1 for any t<32768t<32768 can detect all double isolated errors up to 32768 bits apart. Is this statement true?

A.true ✅
B.false
C.Partially true
D.Not enough information
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: If the generator never divides xt+1x^{t}+1 for tt below 32768, then the error polynomial formed by two isolated bits separated by any distance under that limit cannot be a multiple of the generator, guaranteeing detection of such double errors.

Q6. Given G1=x14+x3+1G_{1}=x^{14}+x^{3}+1 and G2=x4+x2+x+1G_{2}=x^{4}+x^{2}+x+1, which can guarantee detection of burst errors of length up to 14 bits?

A.G1G_{1}
B.G2G_{2} ✅
C.Both
D.None
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: The guarantee depends on the degree rr of the generator. G1G_{1} has degree 14, so any burst of length ≤14\le14 is certainly detected, whereas G2G_{2} has degree 4 and cannot provide that guarantee.

Q7. How many check bits rr are needed to guarantee detection of any burst error whose length L≤rL\le r?

A.r+1r+1
B.rr ✅
C.2r2r
D.r−1r-1
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: The CRC theorem states that a generator of degree rr will always detect burst errors whose length does not exceed rr; thus exactly rr check bits are sufficient for that guarantee.

Q8. For a generator of degree rr, what is the probability that a burst error of length L=r+1L=r+1 goes undetected?

A.(1/2)r−1(1/2)^{r-1} ✅
B.(1/2)r(1/2)^{r}
C.(1/2)r+1(1/2)^{r+1}
D.0
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: When the burst length is one greater than the degree, the syndrome may be zero with probability (1/2)r−1(1/2)^{r-1}; this follows from the uniform distribution of remainders for random error patterns.

Q9. To catch all odd‑numbered errors and any double isolated errors up to 5000 bits apart, which factor must be in the generator and what minimum degree rr is required?

A.Include x+1x+1; r≥10r\ge10
B.Include x+1x+1; r≥12r\ge12
C.Include x+1x+1; r≥13r\ge13 ✅
D.Include x+1x+1; r≥14r\ge14
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: The factor x+1x+1 handles odd‑count errors. To separate two isolated errors up to 5000 bits, the generator’s degree must satisfy 2r>50002^{r}>5000; the smallest integer meeting this is r=13r=13 because 213=81922^{13}=8192.

Q10. If j−i=rj-i=r (so L=r+1L=r+1), a burst error may be undetected with probability (1/2)r−1(1/2)^{r-1}. Does this probability depend on the specific generator polynomial?

A.Yes, depends on polynomial
B.No, independent
C.Depends only on rr ✅
D.Not enough information
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: The derivation of the undetected‑burst probability uses only the degree rr of the generator; the exact coefficients do not affect the statistical chance, so the result hinges solely on rr.

Q11. The remainder of (xj−i+...+1)/(g(x))(x^{j-i}+...+1)/(g(x)) being zero indicates what about error detection?

A.Error detected
B.Error undetected ✅
C.Error corrected
D.None of the above
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: A zero remainder (syndrome) means the error polynomial is divisible by the generator, so the CRC fails to flag the error; thus the error remains undetected.

Q12. Why must a generator that can detect a single error not divide the term xix^{i} in a burst error?

A.Because dividing xix^{i} would imply detection of a single‑bit error at position ii, contradicting the minimum condition. ✅
B.Because xix^{i} is not part of the error polynomial.
C.Because the generator must be primitive.
D.Because burst errors are always longer than single errors.
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: If the generator divided xix^{i}, the CRC would report a zero syndrome for a single‑bit error, violating the fundamental requirement that any single error be detectable; therefore the generator cannot contain xix^{i} as a factor.

Q13. Given Ga=x14+x3+1G_{a}=x^{14}+x^{3}+1 and Gb=x14+x2+1G_{b}=x^{14}+x^{2}+1, which provides a lower probability of undetected burst errors of length 15?

A.GaG_{a}
B.GbG_{b}
C.Both equal ✅
D.Cannot determine
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: Both generators have the same degree r=14r=14; the undetected‑burst probability for length r+1r+1 depends only on rr, yielding (1/2)13(1/2)^{13} for each, so their performance is identical.

Q14. If a generator can detect all isolated double errors, which condition must hold for any t<32768t<32768?

A.It must not divide xt+1x^{t}+1 ✅
B.It must divide xt+1x^{t}+1
C.It must have factor x+1x+1
D.It must be primitive
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: To guarantee detection of any two isolated errors separated by up to 32768 bits, the generator must never be a divisor of xt+1x^{t}+1 for those values of tt; otherwise the error polynomial could be a multiple of the generator and go unnoticed.

Q15. What is the primary purpose of including the factor x+1x+1 in a CRC generator polynomial?

A.Detect all odd‑numbered errors ✅
B.Detect all even‑numbered errors
C.Detect burst errors length ≤r\le r
D.Correct single‑bit errors
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: The factor x+1x+1 forces the generator to have a root at x=1x=1, which ensures that any error pattern containing an odd number of 1‑bits yields a non‑zero remainder, thus guaranteeing detection of all odd‑count errors.

Q16. In CRC terminology, what does the degree rr of the generator polynomial represent?

A.Number of data bits
B.Number of check bits ✅
C.Length of burst error detectable
D.Number of parity bits
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: The degree rr equals the number of parity (check) bits appended to the message; these bits form the CRC and determine the error‑detecting capability of the code.

Q17. If the length LL of a burst error satisfies L≤rL\le r, what is the detection outcome?

A.Always detected ✅
B.Possibly undetected
C.Always undetected
D.Detection depends on data
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: A fundamental property of CRCs states that any burst error whose length does not exceed the degree of the generator polynomial is guaranteed to produce a non‑zero syndrome, so it is always detected.

Q18. Given a generator polynomial of degree r=10r=10, what is the probability that a burst error of length 11 goes undetected?

A.(1/2)9(1/2)^{9} ✅
B.(1/2)10(1/2)^{10}
C.(1/2)11(1/2)^{11}
D.0
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: For a burst of length r+1r+1, the undetected‑burst probability is (1/2)r−1(1/2)^{r-1}; substituting r=10r=10 yields (1/2)9(1/2)^{9}.

Q19. For a generator polynomial that includes the factor x1+1x^{1}+1, what can be inferred about detection of a single‑bit error?

A.It will always be detected ✅
B.It may be undetected
C.Detection depends on position
D.Cannot be determined
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: Because the generator cannot divide a pure xix^{i} term, any single‑bit error (represented by xix^{i}) produces a non‑zero remainder, ensuring the error is always detected.

Q20. How does increasing the degree rr of the generator polynomial affect the probability of undetected burst errors longer than r+1r+1?

A.Probability decreases exponentially with rr ✅
B.Probability increases linearly
C.Probability remains constant
D.Probability becomes zero
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: The undetected‑burst probability for lengths greater than r+1r+1 is (1/2)r(1/2)^{r}; as rr grows, this value shrinks exponentially, dramatically reducing the chance of an undetected long burst.

🔗 Related Topics (MCQs)