Error Checking and Correction Flashcards

1
Q

Define parity bit:

A

A method of checking for errors in the code based on counting the digits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Define even parity:

A

Checking for errors by counting the digits - the parity bit makes sure the number is even, and if it comes in odd, you’ll know there’s been an error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define majority voting:

A

When each digit is sent multiple times and the most common digit received is assumed to be the correct one

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Define check digit:

A

A digit added to the end of the number that is used for checking

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How is a check digit created:

A

By taking the digits of the number and manipulating them in some way to make 1 digit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What’s a common way of calculating a check digit:

A

Modulo-11

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How is modulo-11 calculated:

A

Give all the numbers a weighting from 2 up starting from the last digit, multiply the digit by the weighting, add all those together, divide by 11, take the remainder away from 11, and that’s the check digit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does even parity work:

A

Sender calculates the sum of the digits - if it’s even, the parity bit is a 0, if it’s odd, it’s a 1 to make sure the total sum including the parity bit is even. The receiver checks the sum of the digits for the received value. If it’s odd, it knows an error has occurred and requests that the data is resent. If it’s even, it knows the data is likely to be correct and accepts it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly