Data Packets (Cambridge (CIE) IGCSE Computer Science)

Revision Note

Robert Hampton

Written by: Robert Hampton

Reviewed by: James Woodhouse

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 it can be 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

Last updated:

You've read 0 of your 10 free revision notes

Unlock more, it's free!

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

Expertise: Computer Science Content Creator

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.

James Woodhouse

Author: James Woodhouse

Expertise: Computer Science

James graduated from the University of Sunderland with a degree in ICT and Computing education. He has over 14 years of experience both teaching and leading in Computer Science, specialising in teaching GCSE and A-level. James has held various leadership roles, including Head of Computer Science and coordinator positions for Key Stage 3 and Key Stage 4. James has a keen interest in networking security and technologies aimed at preventing security breaches.