Error Detection and Correction Flashcards

1
Q

types of errors

A

single bit errors
burst errors
multiple bit errors

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

what is a single bit error

A

when one bit has been changde

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

what is a burst error

A

two or more bits had been corrupted/changed in a row

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

what is a multiple bit error

A

more than one bit has been changed
no necessarily in a row

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

3 ways to detect errors

A

parity check
cyclic redundancy
checsum

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

what is the concept of even parity

A

add an additional bit at the end of the data unit to make sure the total number of ones is even

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

what is the concept of odd parity

A

add an additional bit at the end of the data unit to make sure the total number of ones is odd

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

how does two dimensional parity check work

A

parity bit for every row and every column

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

why is 2d parity better than 1d parity

A

can deal with burst errors

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

to pass check, result of CRC must be

A

0

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

what is the concept of hamming code

A

parity bits for everything to the power of 2

can detect the position of the error

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

when might simple parity check not work

A

when more than one bit is flipped in transit

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

how does checksum work

A

data divided into k sections
added using 1s complement
checksum sent along with data

receiver also calculates checksum
complements its result with the checksum received
result should be 1

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

if the result of the checksum is not 0 what happens to the data

A

it is discarded

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

how does CRC work

A

a sequence of redundant bits are appended onto the end of a data unit so that the resulting data unit becomes exactly divisible by a predetermined binary number

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

what does it mean if there is a remainder in CRC division on receiver side

A

the data has been damaged in transit and will not be recived

17
Q

in what case is CRC usefyl

A

when you’re not sure how many bits you are going to received as CRC is calculated as it reads bits in

18
Q

what is backward error correction

A

requests sender to retransmit data unit

19
Q

when is backward error correction useful

A

when transmission is inexpensive

20
Q

what is forward error correction

A

error correcting code which helps auto recover some kinds of errors