Which of the following is error detection code used in digital logic?

Options

  • A. Hamming code
  • B. Cyclic redundancy check (CRC)
  • C. Checksum
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

D. More than one of the above

Detailed Explanation

Explanation:

Error detection codes are techniques used in digital communication and digital logic systems to check whether data has been corrupted during transmission or storage.

Let’s look at each option:

1. Hamming Code

  • Used for error detection and error correction.

  • It can detect up to two-bit errors and correct one-bit error.

  • Commonly used in computer memory systems (ECC RAM).

2. Cyclic Redundancy Check (CRC)

  • A very powerful error detection technique.

  • Data is treated as a binary number and divided by a generator polynomial.

  • The remainder is appended to the data before transmission.

  • Widely used in networks, Ethernet, and storage devices.

3. Checksum

  • A simple error detection method.

  • Sender calculates a sum of the data and sends it with the message.

  • Receiver recalculates the sum to verify data integrity.

  • Used in TCP/IP, UDP, and file transfers

OOps! You are currently offline.