الانتقال إلى المحتوى

Labs · 9618 A2 14.1–14.2

Packet Switching

Be the routers: send each packet on the cheapest working route, then put the packets back in order and ask again for a lost one. Send data down and up the TCP/IP layers.

6 levelsFree bench

In the exam

9618/31 October/November 2021 · Question 6 · 8 marks

(a) Explain how packet switching is used to transfer messages across the internet. (b) Outline the function of a router in packet switching.

Points that gain marks

  • A large message is divided into smaller packets of the same size.
  • Each packet has a header and a payload; the header holds the source and destination IP addresses and a sequence number.
  • Each packet is sent on its own and may take a different route.
  • Packets may arrive out of order and are reassembled into the message at the destination.
  • If a packet is missing or damaged, a re-transmission request is sent.
  • The router reads the destination IP address in the packet header.
  • It uses its routing table to decide the next hop on the best route, and sends the packet on.

In this lab: Levels 1 and 2 make you the routers; levels 3 and 4 make you the receiver.

9618/32 May/June 2023 · Question 7(b) · 4 marks

Give four differences between circuit switching and packet switching.

Points that gain marks

  • Circuit switching uses a dedicated path set up before data is sent; packet switching needs no dedicated path.
  • In packet switching the data is split into packets; in circuit switching the message stays whole.
  • In circuit switching all data takes the same route; packets can take different routes.
  • In circuit switching data arrives in the order sent; packets can arrive out of order.
  • Circuit switching uses the whole bandwidth of the channel; packet switching shares bandwidth.
  • In packet switching lost packets can be sent again.

In this lab: Level 6 sorts these points.

9618/31 October/November 2022 · Question 2 · 5 marks

Outline the functions of the Transport and Internet layers of the TCP/IP protocol suite.

Points that gain marks

  • Transport: breaks the data into packets and adds a header with sequence numbers.
  • Transport: controls the flow of packets, handles lost or damaged packets and acknowledges receipt.
  • Internet: adds the source and destination IP addresses.
  • Internet: routes each packet on its own through the best route.
  • Internet: passes packets to the Link layer.

In this lab: Level 5 shows what each layer adds on the way down and does on the way up.

More real experiments

تسجيل الدخول أو إنشاء حساب

IGCSE, A-Level & AP