Data transmission Flashcards
Why is data broken down into packets:
Small chunks of data are easier and quicker to route over the internet than big chunks of data
What is TCP?
Transmission Control Protocol, used for organising data transmission over networks
Structure of packet
Header
Payload
Trailer
Packet header structure:
Originating IP address
Destination IP address
Packet number
What does trailer contain:
Checksums
Packet switching summarised:
- Data is broken down into packets each 64KiB in size
- Each packet could take a different route
- A router controls the route a packet takes by taking the most available path
- Packets may arrive out of order
- Once the last packet has arrived, packets are reordered by receiving computer using packet number in header
- If packet is missing or corrupted, it is requested again
Advantages of serial transmission over parallel:
- more effecient over longer distances
- Less prone to errors of electrical interference where skewing and cross talk can occur
- Data will arrive in order
- Cheaper to purchase
Disadvantages of serial transmission
- Slower than parallel
- only small quantities of data can be transmitted at a time
- as distance of wire increases, cost increases
advantages of parallel transmission
- fast
- large quantities of data can be transmitted at one time
disadavantages of parallel transmission:
- expensive to purchase
- not suitable over long distances since its more prone to errors of electrical interference like:
- skewing
- cross talk
advantages of simplex
- cheap as only one wire used
disadvantages of simplex
- slow (one bit at a time)
- might require two sets of wires for bidirectional transmission; expensive
advanatges of half-duplex
- cheaper than simplex for bidirectional transmission (only one wire required)
disadvantaegs of half-duplex
- slower than full duplex as data travels in only one direction at a time
advantages of full-duplex
- faster as data can travel in both directions simultaneously
- receiver does not have to wait for the sender to stop before they can start transmitting their data
disadvantages of full-duplex
- Full-duplex is expensive
serial use:
good for long distances
e.g
transmitting data over a telephone line
parallel use
good for short distances
e.g
- computer to printer
- cpu to ram
- or when long distance not needed
Simplex uses
Transmitting data from a computer to a printer.
The printer doesn’t need to send data back to the computer