Difficulty: Easy
Correct Answer: Checksum
Explanation:
Introduction:
Error detection ensures that corrupted data is identified so that it can be retransmitted or discarded. One of the simplest integrity checks computes a summarized value over a block of bits and sends it with the data. The receiver recomputes the same value and compares the results to detect errors. This question asks for the name of that summation-based mechanism.
Given Data / Assumptions:
Concept / Approach:
A checksum is produced by summing (often using 1's complement arithmetic or modular sums) all words in a block and then sending the complement or the final sum as the checksum field. The receiver performs the same summation; a mismatch indicates that one or more bits were altered in transit. While more robust methods like CRCs are widely used at the data link layer, checksums remain common at the transport layer (e.g., UDP/TCP) and in file formats due to their simplicity and speed.
Step-by-Step Solution:
Verification / Alternative check:
In practice, IP, TCP, and UDP include 16-bit checksums. Many firmware images and archive formats also use checksums for basic integrity assurance, confirming the term and its application.
Why Other Options Are Wrong:
Common Pitfalls:
Assuming all error detection uses CRCs; forgetting that checksums are still prevalent at higher layers due to speed and ease of implementation.
Final Answer:
Checksum.
Discussion & Comments