Pular para o conteúdo

Labs · 9618 AS 2.1

CSMA/CD: Sharing a Cable

Be a station on a shared bus: listen before you send, deal with a collision, and roll the random waits until every frame gets through.

4 levelsFree bench

In the exam

Exam questions on what this lab teaches, with the points that gain marks.

9618/12 May/June 2022 · Question 9(c)4 marks

Ethernet uses Carrier Sense Multiple Access/Collision Detection (CSMA/CD). Describe CSMA/CD.

Points that gain marks

  1. A workstation that wants to send listens to the communication channel.
  2. Data is sent only when the channel is free.
  3. Because more than one computer is connected to the same medium, two can start to send at the same time, causing a collision.
  4. After a collision the workstations send a jamming signal / stop sending, and each waits a random time before trying again.

In this lab: Levels 'Listen first' and 'After a collision'.

9618/11 October/November 2022 · Question 84 marks

A Local Area Network (LAN) uses a bus topology. Describe how CSMA/CD is used in a bus network.

Points that gain marks

  1. CSMA/CD is a protocol to detect and deal with collisions in a bus topology.
  2. Before sending, a device checks whether the channel is busy; if it is busy the device waits, if it is free the data is sent.
  3. Two devices can start at the same time, causing a collision.
  4. If a collision is detected, sending stops / a jamming signal is sent, and both devices wait a different random time and try again.

In this lab: Levels 'Listen first', 'After a collision' and 'Random waits'.

9618/12 October/November 2023 · Question 7(c)3 marks

State three tasks performed by devices to deal with collisions when using the CSMA/CD protocol in a network.

Points that gain marks

  1. Monitor the communication channel; send only when it is idle.
  2. Detect a collision, stop sending / send a jamming signal.
  3. Calculate a random wait (back-off) time, then send again after it; increase the random time after more collisions.

In this lab: Level 'After a collision'.

9618/13 May/June 2024 · Question 5(c)4 marks

(i) A collision is detected. Describe how the collision is managed using CSMA/CD. (ii) Identify two drawbacks of using CSMA/CD.

Points that gain marks

  1. (i) A jamming signal is sent; sending stops; the device waits a random time before trying again; if collisions happen again, the wait time is increased.
  2. (ii) Waits can grow without limit; a constant jamming signal can stop everyone sending; nodes cannot be given priority; only suitable for short distances; does not scale: more nodes means much longer waits.

In this lab: Levels 'Random waits' and 'CS, MA and CD', and the free bench with 8 stations.

The question as printed in the exam paper

More real experiments

All labs →

Entrar ou criar conta

IGCSE, A-Level & AP