Data transimmsion Flashcards
data packet
header (IP address of sender and receiver&size of packet)
payload (the actual data)
trailer (error checking)
benefits of data packets
no need to tie up a single communication line
high data transmission rate
overcome busy line by rerouting
drawbacks of data packets
packets could be lost and need to be resent
there is usually a delay at the destination causing the packets to have to re order themselves.
doesn’t work well with real time streaming
simplx data tranmission
one direction only
half duplex data transmission
both directions but not at the same time (walkie talkie)
full duplex data transmission
both directions at the same time (internet)
serial data transmission
sends 1 bit at a time through 1 channel only
better for long distance transfer
data arrives in order
less expensive
parallel data transmission
sends multiple bits at a time through multiple channels
better for short distance
will arrive out of order
more expensive
benefits encryption
helps hide data from hackers
original data is known as plain text
after encryption it is called cypher text
symmetric encryption
uses encryption key to encrypt and decrypt
not the most secure
asymmetric encryption
2 keys (public and private)
public key is used to encrypt messages meaning anyone can do it
private key is used to decrypt messages and only maker of key has private key
why do we error check
interference
problems durning packet switching
corrupting data
parity check
even parity check means that there are an even number of 1 bits
odd parity check means that there are an odd number of 1bits
check-sum
check sum is calculated when data is being sent using an agreed algorithm
then data is sent along with the checksum
receiver recalculates the checksum using the algorithm
if checksums match then the data has not been tampered with
echo-check
data is sent from sender to receiver
data is resent back to sender
sender compares the 2 datas
if difference is found then sender resents data as error has occurred