Computer Science 2210 ยท Chapter 2 of 12
Data Transmission
4 revision notes on Data Transmission for Cambridge O Level Computer Science (2210). 77 past-paper questions on this chapter to practise.
About this chapter
- Syllabus
- 2
- Section
- Paper 1 ยท Computer systems
- On Paper 1
- In almost every paper: often one long question of 7 to 20 marks
- Packets
- Structure of a packet, packet switching and the router
- Methods
- Serial / parallel with simplex, half-duplex and full-duplex; USB
- Errors and security
- Parity, checksum, echo check, check digit, ARQ; symmetric and asymmetric encryption
- Reading time
- 4 notes ยท about 52 min
- Past-paper questions
- 77 to practise
Study these notes in order
4 notes cover this chapter. Work through them 1 โ 4: each one ends with a quiz, so you know you're ready for the next.
Start here ยท Note 1 of 4 ยท 12 min read
Data packets and packet switching
- Types and Methods of Data Transmission
- Types and Methods of Data Transmission
- Methods of Error Detection
- Encryption
Download and print
A4 PDFs of the 4 notes above, ready to print or use offline.
Summary notes
The key points of every note, for a last read before a test.
Data packets and packet switching
- Data is broken down into packets; each packet is sent independently.
- Header: destination address, originator's address, packet number. Payload: the data. Trailer: end of packet + error checking.
- Packet switching: each packet may take a different route; routers read the destination address and send it on by the best route.
- Packets can arrive out of order; they are reordered (packet numbers) once the last one arrives; missing ones are requested again.
Serial, parallel, duplex and USB
- Serial: one bit at a time, one wire; in order, less interference, long distances, slower.
- Parallel: several bits at the same time, several wires; faster, but skewing and crosstalk, short distances only.
- Simplex: one direction. Half-duplex: both directions, one at a time. Full-duplex: both directions at the same time.
- Choose by distance, speed needed and direction; justify each choice with a reason.
- USB = universal serial bus: serial, universal, auto-detected, powers the device, one-way plug; short cable.
Error detection: parity, checksum, echo check, ARQ, check digit
- Errors: data lost, gained or changed, by interference, crosstalk, skewing, collisions.
- Parity: parity bit makes the number of 1s odd / even; receiver recounts. Misses even numbers of flips and transpositions.
- Parity block: parity bit per byte + parity byte per column; the bad row and column locate (and correct) the bit.
- Checksum: value calculated by an algorithm, sent with the data, recalculated and compared.
- Echo check: receiver sends a copy back; sender compares.
- ARQ: acknowledgement + timer; no acknowledgement โ timeout โ resend.
- Check digit: data ENTRY; calculated from the digits, recalculated on entry, compared.
Encryption: symmetric and asymmetric
- Purpose: if data is intercepted, it is meaningless / cannot be understood. Encryption does not stop interception.
- Encryption: algorithm + key turn plain text into cipher text; decryption turns it back.
- Symmetric: one shared key encrypts and decrypts; the key must be sent, so it could be intercepted.
- Asymmetric: public key encrypts, private key decrypts; the private key is never sent, so it is more secure.
What the syllabus says you need to know
- Understand that data is broken down into packets to be transmitted
- Describe the structure of a packet: header, payload and trailer
- Describe the process of packet switching, including the role of the router
- Describe how data is transmitted using serial and parallel transmission
- Describe simplex, half-duplex and full-duplex transmission
- Explain the suitability of each method of transmission for a given situation, with advantages and disadvantages
- Understand the universal serial bus (USB) interface and explain how it is used to transmit data
- Understand the need to check for errors after data transmission and how these errors can occur
- Describe the processes involved in each error detection method: parity check, checksum, echo check
- Describe how a check digit is used to detect errors in data entry
- Describe how an automatic repeat query (ARQ) can be used to establish that data is received without error
- Understand the need for and purpose of encryption when transmitting data
- Understand how data is encrypted using symmetric and asymmetric encryption
Can I do this? Chapter checklist
Data packets and packet switching
Serial, parallel, duplex and USB
Error detection: parity, checksum, echo check, ARQ, check digit
Encryption: symmetric and asymmetric
Ticks are saved on this device and match the checklist at the end of each note. Anything unticked: open it and revise that section.