Error Detection in Data Link Layer (ET: 2.5 hours)
Topic Wise Question Bank
Error Detection
Hamming Code Error Detection and Correction
1. Finding the Number of Redundant Bits (r)

Given Data (m): 1011 → Length of data, $m = 4$

Formula: 2r ≥ m + r + 1

For r = 1: 21 ≥ 4 + 1 + 1 ⇒ 2 ≥ 6 (False)
For r = 2: 22 ≥ 4 + 2 + 1 ⇒ 4 ≥ 7 (False)
For r = 3: 23 ≥ 4 + 3 + 1 ⇒ 8 ≥ 8 (True)

Selected r = 3. Total bits = $m + r = 4 + 3 = 7$ bits.

2. Bit Positions and Parity Bit Calculation (Even Parity)

Place parity bits at positions that are powers of 2 (1, 2, 4):

7654321
101R31R2R1

Binary Position Table

PositionR3 (4)R2 (2)R1 (1)
0000
1 (R1)001
2 (R2)010
3011
4 (R3)100
5101
6110
7111

Parity Bit Values

Bit Coverages:

  • R1 covers positions (1, 3, 5, 7)
  • R2 covers positions (2, 3, 6, 7)
  • R3 covers positions (4, 5, 6, 7)

Even Parity Calculation:

R1 → (R1, Bit3, Bit5, Bit7) → (R1, 1, 1, 1) ⇒ R1 = 1 (to make count of 1s even)

R2 → (R2, Bit3, Bit6, Bit7) → (R2, 1, 0, 1) ⇒ R2 = 0 (already even)

R3 → (R3, Bit5, Bit6, Bit7) → (R3, 1, 0, 1) ⇒ R3 = 0 (already even)

Final Transmitted Hamming Code:

7654321
1010101

Transmitted Data: 1010101

3. Error Detection on Received Data

Received Data: 1110101

7654321
1110101

Even Parity Check:

P1 (Positions 1, 3, 5, 7) → bits (1, 1, 1, 1) → Total 1s = 4 (Even) ⇒ 0

P2 (Positions 2, 3, 6, 7) → bits (0, 1, 1, 1) → Total 1s = 3 (Odd) ⇒ 1

P3 (Positions 4, 5, 6, 7) → bits (0, 1, 1, 1) → Total 1s = 3 (Odd) ⇒ 1

Error Location Calculation:

Syndrome Bits: (P3, P2, P1) = (1, 1, 0)2

Binary (110)2 = 1 × 22 + 1 × 21 + 0 × 20 = 4 + 2 + 0 = 6

Conclusion: Yes, there is an error! The error is located at Bit Position 6.

Correcting bit position 6 from 1 to 0 restores the original data: 1010101.

Topic Wise Question Bank
All Topics
  • Briefly explain Error Detection Technique in Data Link Layer . (Key Point)
  • Find the CRC for 1110010101 with the divisor x3+x2+1?
  • Suppose we want to transmit the message 11001001 and protect it from errors using the CRC polynomial x3+1. Use polynomial long division to determine the message that should be transmitted. Corrupt the left-most third bit of the transmitted message and show that the error is detected by the receiver using CRC technique.
  • Suppose the sender wants to transmit 4 frames of 8 bits each: 11001100, 10101010, 11110000, and 11000011. Find the Checksum,

    and also Verify if Receiver1 Received Data as :1100110010101010111100001100001111010011

    Is received data is error free or not? Explain your Answer.

PRACTICE MODE
Error Control
0 of 48 answered
Error Control 48 questions
Q1
Error Control

Which layer of the OSI model is mainly responsible for error control at the frame level?

Q2
Error Control

Which of the following is a type of transmission error?

Q3
Error Control

Which error occurs when only one bit of a data unit is changed?

Q4
Error Control

What is a burst error?

Q5
Error Control

If the first corrupted bit is at position 3 and the last corrupted bit is at position 10, what is the burst length?

Q6
Error Control

What is the main purpose of error detection?

Q7
Error Control

What are the extra bits added to data for error detection called?

Q8
Error Control

Which of the following is NOT an error-detection technique?

Q9
Error Control

What does VRC stand for?

Q10
Error Control

VRC is commonly known as what?

Q11
Error Control

What does a parity bit do?

Q12
Error Control

In even parity, the total number of 1s including the parity bit should be:

Q13
Error Control

In odd parity, the total number of 1s including the parity bit should be:

Q14
Error Control

Data = 10101. Using even parity, what is the parity bit?

Q15
Error Control

Data = 10101. Using odd parity, what is the parity bit?

Q16
Error Control

If even parity is used and the received code contains an odd number of 1s, what does the receiver conclude?

Q17
Error Control

Parity checking can reliably detect:

Q18
Error Control

Simple parity checking cannot detect:

Q19
Error Control

Can a simple parity bit identify the exact position of an error?

Q20
Error Control

Can a simple parity bit correct an error?

Q21
Error Control

What does LRC stand for?

Q22
Error Control

LRC organizes data mainly into:

Q23
Error Control

What is the main idea behind a checksum?

Q24
Error Control

In the checksum method, data is divided into:

Q25
Error Control

Which operation is commonly used to generate the checksum from the final sum?

Q26
Error Control

What is an end-around carry in checksum calculation?

Q27
Error Control

During receiver verification of a checksum, what result indicates error-free data?

Q28
Error Control

If the checksum verification result is not all 1s, the receiver should conclude that:

Q29
Error Control

Which error-detection technique uses binary polynomial division?

Q30
Error Control

What does CRC stand for?

Q31
Error Control

In CRC, what is the binary divisor called?

Q32
Error Control

If the generator has n bits, how many zeros are appended to the original data before CRC division?

Q33
Error Control

What operation is primarily used in CRC binary division?

Q34
Error Control

What is the remainder obtained from CRC division called?

Q35
Error Control

After calculating the CRC remainder, what is appended to the original data?

Q36
Error Control

At the receiver, the received codeword is divided by:

Q37
Error Control

In CRC, a remainder of zero at the receiver generally means:

Q38
Error Control

In CRC, a non-zero remainder at the receiver means:

Q39
Error Control

Find the CRC for data 100100 using divisor 1101. How many zeros should be appended before division?

Q40
Error Control

For data 100100 and divisor 1101, the data before CRC division becomes:

Q41
Error Control

Data 11100 is to be transmitted using CRC with divisor 1001. How many zeros are appended?

Q42
Error Control

For data 11100 and divisor 1001, the dividend used for CRC division is:

Q43
Error Control

For data 11100 with divisor 1001, if the CRC remainder is 111, what is the transmitted codeword?

Q44
Error Control

Which error-detection technique is particularly effective for detecting burst errors?

Q45
Error Control

What is the main difference between error detection and error correction?

Q46
Error Control

Which of the following is a method of error correction through retransmission?

Q47
Error Control

Which statement about redundancy is correct?

Q48
Error Control

Which sequence correctly represents the basic error-detection process?

Leave a Comment

WhatsApp Telegram Messenger