EEasy IGCSELabTracker

On a phone the notes, quizzes and tracker work fine. The 3D models and the practice lab are made for a laptop.

Specification points 2.1.1–2.1.3 ·

packets and packet switching; serial, parallel, simplex, half-duplex and full-duplex transmission and their suitability; the USB interface.

1Packets (2.1.1)

Definition

Packet — a small unit of data. Before transmission, data (a file or message) is broken down into packets, which are sent separately and put back together at the destination.

Small packets can each be sent by whichever route is free, and if one is lost or corrupted only that packet has to be sent again, not the whole file.

ONE PACKET Packet header Payload Trailer destination address packet number originator’s address where it is going its place in the order who sent it the actual data being sent: one piece of the file marks the end of the packet; error-check data
Figure 1. The structure of a packet.

2Packet switching (2.1.1)

Definition

Packet switching — a method of transmission in which data is broken down into packets that are sent independently, possibly by different routes, and reordered at the destination.

RR RRR RR 1 2 3 Sender Receiver 1 2 3 arrive: 3, 1, 2 reordered: 1, 2, 3 1 2 3 4 1 Data is broken down into packets; each has a packet number. 2 Each packet is sent independently and could take a different route. 3 At each router, the router reads the destination address and chooses the next step of the route. 4 Packets may arrive out of order. Once the last arrives, they are reordered using the packet numbers.
Figure 2. Packet switching. Because each packet is routed separately, routers can send packets around a busy or broken route.

Send the packets

Loading the interactive…

3Methods of data transmission (2.1.2)

Every connection is described in two ways: how many bits are sent at once (serial or parallel) and which direction data flows (simplex, half-duplex or full-duplex). So a link can be, for example, serial full-duplex.

Definition

Serial — data is sent one bit at a time, one after another, down a single wire or channel.

Parallel — several bits (usually a byte) are sent at the same time, down several wires or channels, one bit per wire.

SERIAL one wire · one bit at a time, one after another Sender Receiver 1 0 0 1 1 0 1 1 PARALLEL several wires · one bit per wire, all at the same time Sender Receiver 1 0 0 1 1 0 1 1
Figure 3. Serial and parallel transmission of the byte 10011011.

Serial or parallel?

Loading the interactive…

Definition

Simplex — data is sent in one direction only.

Half-duplex — data can be sent in both directions, but only one direction at a time.

Full-duplex — data can be sent in both directions at the same time.

SIMPLEX A B one direction only HALF-DUPLEX A B both directions, but not at the same time FULL-DUPLEX A B both directions at the same time
Figure 4. Direction of transmission.

4Choosing a method for a scenario (2.1.2)

Method Advantages Disadvantages Suitable when…
Serial Bits cannot become skewed (they arrive in order on one wire), so it is reliable over long distances; fewer wires, so cheaper; less interference between wires Slower: only one bit is sent at a time Distance is more than a few metres, or cost matters, e.g. USB to a printer, network cables
Parallel Faster: several bits are sent at once Over longer distances the bits on different wires can arrive at slightly different times (skew), corrupting the data; more wires, so more expensive; wires close together can interfere with each other Distance is very short and speed matters, e.g. inside a computer between components
Simplex Simple and cheap: all the bandwidth is used in one direction The receiver cannot send anything back (no replies or error reports) Data only ever flows one way, e.g. a sensor sending readings to a computer
Half‑duplex Two‑way communication over one channel, so cheaper than full‑duplex Slower: devices must take turns and wait for the channel to be free Both need to send, but not at once, e.g. a walkie‑talkie
Full‑duplex Fastest two‑way: no waiting, both send and receive at once More complex and expensive hardware (needs a channel for each direction) Both must send at the same time, e.g. a phone or video call, a broadband internet connection
Exam language

Explain the suitability for a scenario: name the method, then give a reason tied to the scenario — the distance, the need for speed, and whether the receiver must reply, and when. For example: "Serial, because the cable is 3 m long and parallel bits could become skewed."

5Universal serial bus (USB) (2.1.3)

Definition

USB (universal serial bus) — an industry-standard interface (port, cable and protocol) for connecting devices to a computer. It uses serial transmission.

Device plugged into a USB port cable also supplies power to the device Computer automatically detects the device Device identified; its device driver is loaded (downloaded if missing) Data is transmitted serially half- or full-duplex, with error checking
Figure 5. How a USB device connects and transmits data.
Benefits
  • Devices are detected automatically and the correct driver is loaded (no set-up by the user).
  • The connector only fits one way (USB-C fits either way), so it cannot be connected wrongly.
  • Industry standard, so almost all devices and computers support it.
  • Supplies power, so small devices can be powered or charged from the computer.
  • Backward compatible: newer ports still work with older USB devices.
Drawbacks
  • Maximum cable length is about 5 m; a longer link needs a USB hub or another connection type.
  • Slower than some other connections, e.g. Ethernet.
  • Very old USB devices may not be supported by the newest computers.
Traps
  • Parallel is only faster over short distances; over long distances skew makes it unreliable.
  • Serial/parallel and simplex/half-/full-duplex are separate choices — do not describe half-duplex as "half the bits".

Quick check

11 multiple-choice questions. Pick an answer to see whether it is right and why.

  1. Which of these is stored in the header of a packet?

  2. What does the trailer of a packet do?

  3. Why is it an advantage to break a file into packets before sending it?

  4. In packet switching, packets 1, 2 and 3 arrive in the order 3, 1, 2. What happens at the destination?

  5. Why can packet switching still deliver data when one route is broken?

  6. A sensor sends readings to a computer and never receives anything back. Which method of transmission is this?

  7. Why is parallel transmission unsuitable over a long distance?

  8. What is a disadvantage of half-duplex compared with full-duplex?

  9. Which type of data transmission does USB use?

  10. What happens automatically when a USB device is plugged into a computer?

  11. Which is a drawback of USB?

Exam-style questions

Write your answer, then show the answer and compare. Nothing here is marked for you: you decide how close you were. What you write is saved in this browser.

Questions

1

Data is broken down into packets before it is transmitted. State the three parts of a packet.

3 marks
2

State three items of data stored in a packet header.

3 marks
3

Describe the process of packet switching.

5 marks
4

Identify the method of data transmission described:
(a) 8 bits are sent at the same time, in one direction only;
(b) one bit is sent at a time, in both directions at the same time.

4 marks
5

A company connects a printer to a computer with a 4 m cable. Explain why serial transmission is more suitable than parallel.

2 marks
6

Explain why parallel transmission is used for data travelling between components inside a computer.

2 marks
7

Two friends talk using a video-calling app. Identify the most suitable direction of transmission and justify your choice.

2 marks
8

Give one advantage and one disadvantage of half-duplex compared with full-duplex.

2 marks
9

A digital camera is connected to a computer with a USB cable. Explain how USB is used to transmit the photos to the computer.

3 marks
10

Give two benefits and two drawbacks of the USB interface.

4 marks

How well do you know this?

Rate each specification point. It is saved to your tracker as a new revision round.

All points:
  • 2.1.1
    • Understand that data is broken down into packets to be transmitted
    • Describe the structure of a packet
    • Describe the process of packet switching
  • 2.1.2
    • Describe how data is transmitted from one device to another using different methods of data transmission
    • Explain the suitability of each method of data transmission, for a given scenario
  • 2.1.3Understand the universal serial bus (USB) interface and explain how it is used to transmit data

Settings

Your subjects

Untick the subjects you don't take. They leave the menu, the home page and the tracker. Your ratings are kept, so you can bring a subject back at any time.

Page style

Colours