Data Packets (Cambridge (CIE) O Level Computer Science)

Revision Note

Robert Hampton

Expertise

Computer Science Content Creator

Data Packets

What are packets?

  • Packets are small 'chunks' of data that make up a larger piece of data that has been broken down by the TCP protocol so that is can transmitted over the internet

  • TCP stands for Transmission Control Protocol and is used for organising data transmission over networks

  • Small 'chunks' of data are easier and quicker to route over the internet than big 'chunks' of data

    • Routing involves finding the most optimal path over a network

  • Data can include anything from text, images, audio, video, animations, etc, or any combination of these

What do packets contain?

  • A packet consists of:

Header

Payload

Trailer

Source IP address

Actual data being transported

Additional security information
(less common)

Destination IP address

End of packet notification

Packet number

(1 of 5 etc.)

Error checking (checksums)

  • To transmit the message “This is a message :)”over the internet, TCP might break the message down into 4 packets

Example packet structure
  • Each packet contains a source IP address, destination IP address, payload (the data) and a packet number.

  • Error checking and end of packet notifications have not been included in this example

  • Error checks make sure that when a packet is received there is minimal or no corruption of the data

  • Corruption is where packet data is changed or lost in some way, or data is gained that originally was not in the packet

  • A parity bit checks that no bits have been flipped from 0 to 1 or vice versa

  • A checksum performs a calculation and compares the result to the checksum value

  • If the values are different then the data has been corrupted

You've read 0 of your 0 free revision notes

Get unlimited access

to absolutely everything:

  • Downloadable PDFs
  • Unlimited Revision Notes
  • Topic Questions
  • Past Papers
  • Model Answers
  • Videos (Maths and Science)

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Did this page help you?

Robert Hampton

Author: Robert Hampton

Rob has over 16 years' experience teaching Computer Science and ICT at KS3 & GCSE levels. Rob has demonstrated strong leadership as Head of Department since 2012 and previously supported teacher development as a Specialist Leader of Education, empowering departments to excel in Computer Science. Beyond his tech expertise, Robert embraces the virtual world as an avid gamer, conquering digital battlefields when he's not coding.