Error Detection Flashcards
even parity
checks to see that the total of 1s is even
odd parity
checks to see that the total of 1s is odd
limitation of parity check
cant tell exactly which bit was corruptd
checksum
method in which data is sent in chunks with a calculated value (if there is a mismatch, receiving will ask sending to resend data)
how to calculate checksum
1: if number of the bytes is less or equal to 255, this value is the checksum
2: if greater than 255:
- divide sum of bytes by 256 to get quotient
- convert quotient to integer (round down)
- multiply the integer by 256 to get the product
- subtract product from sum
echocheck
method where receiving device. sends back an exact copy of data to th sending, which compares the data with the originally sent. if there is an error, data is resent and process repeats
disadvantage of echo check
difficult to know if data was corrupted when first sent or on the way back
check digit
extra digit added to a number that is calculated from the existing digits int he number
examples of check digit
ISBN, VIN
automatic repeat request (ARQ)
set of rules established between sending and receiving devices to control errors. if error is detected, it can request the sending to resend the packet
what happens when data is received in ARQ
the computer sends a message known as acknowledgement (ACK)
acknowledgement
indicates whether thee transmission was successful or not (positive and negative). whole process repeats until confirmation or timeout (time allowed to elapse)
encryption
way to conceal information by altering it soo it appears to be random to someone that is not supposed to read it
how does encryption happen
using hypertext transfer protocol secure (HTTPS)
what does https use
secure socket layer (ssl) and transport layer security (tls)