error checking Flashcards

1
Q

What are the ways errors occur during data transmission?

A

interference, problems during packet switching, skewing of data

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

What are the error checking methods?

A

parity checking, automatic repeat request (ARQ), checksum, echo checking, check digits

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

Facts about parity checking?

A

a byte of data is allocated a PARITY BIT before transmission takes place

systems that use even parity have an even of of 1-bits and systems that use odd parity have a odd number of 1-bits

before data is transferred an agreement is made between sender and receiver on which type of parity to use. it is a example of protocol.

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

how does parity checking work?

A

if a byte was transmitted from A to B and even parity was used a error would be flagged if a byte now had a odd number of 1-bits

the error is detected by the computer recalculating the parity of the byte sent

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

what is the problem with parity checking?

A

if there are two errors and they cancel each other out so they’d go unnoticed (ex. 2 bits may have an error or have swapped places)

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

parity blocks and parity byte?

A

Parity blocks: a block of data is sent and the number of 1-bits are totaled horizontally and vertically. the method identifies where the error is.

Parity byte: it is consists entirely of the parity bits produced by the vertical parity check and indicates the end of the block of data

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

parity example:

A

if 9 bytes were sent using even parity but byte 8 (row 8) had three 1-bits and bit 5 (column 5) had five 1-bits than the bit with an error can be found at the intersection.

bytes are rows and bits are columns

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

facts about automatic repeat request (ARQ)?

A

it uses an ACKKNOWLEDGEMNT and TIMEOUT. if the acknowledgment isn’t sent back to the sender before timeout than the message is automatically reset

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

What is acknowledgment and timeout in ARQ?

A

ACKKNOWLEDGEMNT is a message sent by the receiver indicating that the data has been received correctly

TIMEOUT is the time allowed before an acknowledgment must be received

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

how does ARQ work?

A

ARQ uses positive and negative acknowledgments and the reviewing device relieves a error decision code as part of the data transmission. (usually a cyclic redundancy check) to detect whether the data contains any errors.

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

what happens when an error is detected in ARQ?

A

a time out is used by the sending device and if no acknowledgment is received during the time out and it automatically resends the data until a positive acknowledgment is received.

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

Where is ARQ often used?

A

it is often used by mobile phone networks to guarantee data integrity

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

What is checksum and how does it work?

A

When a block of data is about to be transmitted the checksum for the bytes is calculated and then transmitted with the block of data. Then the checksum is recalculated and compared to the original. If they are the same there was no error and if they aren’t a request is sent for the data to be retransmitted.

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

How to calculate the checksum?

A

Look at the ppt :)

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

What is echo check and how does it work?

A

when data is sent to another device the data is sent back to the sender. the sender will compare the two sets of data to check for errors.

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

why is echo check a problem?

A

because if the two sets of data are different it isn’t known if the error occurred while sending the data in the first place or when sending the data back! ‘it’s stupid”

17
Q

what are check digits?

A

a check digit is the final digit included in a code that is calculated from all the other digits in the code. they are used to identify errors in data entry caused by mistyping or my mis-scanning a barcode

18
Q

what can check digits do?

A

they can detect the following types of error:

an incorrect digit entered
transposition errors where two numbers have changed order

omitted or extra digits

phonetic errors

19
Q

what are the two methods to generate a check digit?

A

ISBN 13 and Modulo-11