L16. Describe CSMA/CD and how it differs from CSMA/CA. Flashcards

1
Q

What is CSMA/CD?

A

Carrier Sense Multiple Access with Collision Detection is a link layer protocol that controls how data packets are transmitted over a shared medium

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is CSMA/CA?

A

Carrier Sense Multiple Access with Collision Avoidance is a link layer protocol that controls how data packets are transmitted over a shared medium

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are common properties of CSMA/CD and CSMA/CA?

A

They both control how data packets are transmitted over a shared medium in order to minimize collisions and improve network efficiency

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the main difference between CSMA/CD and CSMA/CA?

A

They operate in different network environments

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What type of network is CSMA/CD typically used in?

A

CSMA/CD is primarily used in wired Ethernet networks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Carrier Sensing?

A

A device listens to the network to check if it is currently free (i.e., no other device is transmitting) before transmitting data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Multiple Access?

A

The device beginning transmission if the network is idle or waiting and retrying after a random backoff period if it’s busy.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Collision Detection?

A

The device monitoring the network to detect collisions. A collision occurs when two devices transmit simultaneously, causing the signals to interfere.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How does CSMA/CD handle collisions?

A

Upon detecting a collision, the device immediately stops transmitting and sends a jamming signal to inform all devices of the collision. Both devices involved in the collision then wait for a random backoff time before attempting to retransmit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What type of network is CSMA/CA typically used in?

A

CSMA/CA is used in wireless networks, such as Wi-Fi.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How does CSMA/CA handle collision, in contrast to CSMA/CD?

A

Unlike CSMA/CD, CSMA/CA aims to avoid collisions before they happen

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Why is Collision Avoidance important in wireless networks?

A

Detecting collisions is difficult due to the hidden node problem and signal attenuation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is Collision Avoidance?

A

The device waiting for an additional, randomized period called the Inter-Frame Space (IFS) before transmitting even if the medium is free. This reduces the chance that multiple devices will start transmitting simultaneously.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does CSMA/CA do to further avoid collisions?

A

It uses Request to Send/Clear to Send (RTS/CTS) frames. The device sends an RTS frame to the intended receiver, which responds with a CTS frame if the medium is clear. Other devices that hear these frames defer their transmissions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How does CSMA/CA detect and handle collisions?

A

After successfully receiving data, the receiver sends an acknowledgment (ACK) to the sender. If no ACK is received, the sender assumes a collision occurred and retries transmission.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Name the four main differences between CSMA/CD and CSMA/CA

A
  1. Collision Handling: CSMA/CD detects collisions during transmission and handles them post-facto, while CSMA/CA attempts to avoid collisions before they occur.
  2. Environment: CSMA/CD is used in wired Ethernet networks where collision detection is feasible, while CSMA/CA is used in wireless networks where collision detection is difficult or impractical.
  3. Mechanisms: CSMA/CD relies on collision detection and jamming signals to manage network access, while CSMA/CA uses random backoff intervals and optional RTS/CTS frames to prevent collisions.
  4. Efficiency: CSMA/CD becomes less efficient as network load increases, while CSMA/CA is better suited for environments with higher potential for collisions due to multiple access points and mobile devices.