🎓 BookMCQ
← Back to 12. Media Access Control (MAC)

📝 CSMA Carrier Sense Multiple Access types (22 MCQs)

Listening Before Transmission on a Shared Medium

Carrier Sense Multiple Access is a contention protocol in which a station listens to the shared medium before transmitting. If the channel is busy, it defers; if idle, it may transmit according to a selected persistence rule. Carrier sensing reduces collisions compared with ALOHA, but propagation delay means two distant stations may still find the channel idle simultaneously. The method is especially useful when many devices share one physical channel.

Nonpersistent, 1-Persistent and P-Persistent Rules

In 1-persistent CSMA, a station transmits immediately when the channel becomes idle. Nonpersistent CSMA waits a random interval after sensing a busy channel before sensing again. P-persistent CSMA operates in time slots and transmits with probability p when the channel is idle, deferring with probability 1-p. These policies are called persistence strategies in MAC descriptions.

Channel Sensing, Deferral and Transmission

A station first senses carrier activity. A busy result causes it to defer according to its persistence rule; an idle result allows an immediate or probabilistic attempt. Once transmission begins, another station may have started before the first signal reached it. That propagation interval explains why carrier sensing cannot eliminate every collision.

Comparing Persistence with Two Waiting Stations

Assume two stations are waiting while a channel is busy. With 1-persistent CSMA, both may transmit as soon as it becomes idle, creating a collision. Nonpersistent stations choose separate random waits, while p-persistent stations make probabilistic choices at slot boundaries. These rules trade immediate access against fewer repeated collisions. The exact outcome also depends on signal propagation time.

CSMA as a Foundation for MAC Protocols

CSMA is a medium access method rather than an error-correction or routing protocol. Its variants form the basis of collision-handling techniques: CSMA/CD adds collision detection for shared wired Ethernet, while CSMA/CA uses avoidance and acknowledgements in IEEE 802.11 wireless LANs. Their different physical media determine how collision handling is performed.

Misinterpreting Carrier Sensing and Persistence

'Carrier sensing prevents all collisions' is incorrect because propagation delay allows simultaneous starts. 'Nonpersistent means a station never retries' is incorrect because it waits randomly and senses again. 'P-persistent always transmits with certainty' is incorrect because p is the transmission probability for an eligible idle slot. Persistence therefore affects both delay and collision probability.

Identifying CSMA Variants in Protocol Questions

For each variant, state what happens when the channel is busy and when it becomes idle. Distinguish continuous waiting in 1-persistent, random deferral in nonpersistent, and probabilistic slot decisions in p-persistent CSMA. Explain propagation delay, collision possibility, and the relationship of CSMA to CSMA/CD and CSMA/CA. State the assumptions about slots whenever a problem supplies timing values.

Carrier Sensing and Persistence Terms

  • Carrier sensing - Checks whether the channel is active.
  • Persistence - Rule governing attempts after sensing.
  • 1-persistent - Transmits immediately when channel becomes idle.
  • Nonpersistent - Waits randomly before sensing again.
  • p-persistent - Transmits with probability p per idle slot.
  • Propagation delay - Time for a signal to travel.
7
Easy
9
Medium
6
Hard

📝 All CSMA Carrier Sense Multiple Access types MCQs

Q1. What does PPP stand for in networking?

A.Point-to-Point Protocol ✅
B.Protocol for Private Packages
C.Parallel Processing Procedure
D.Public Packet Passage
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: PPP is an acronym for Point-to-Point Protocol. It defines the framing, link establishment, and optional authentication used on a direct link between two nodes, typically over serial or modem connections. The other options are fabricated terms that do not correspond to the standard networking protocol.

Q2. Which PPP frame type is used to acknowledge receipt of a configuration request?

A.Configure-Request (CR)
B.Configure-Ack (CA) ✅
C.Terminate-Request (TR)
D.Terminate-Ack (TA)
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: The Configure‑Ack (CA) frame is sent by the receiver to confirm that a previously received Configure‑Request has been successfully processed. This acknowledgment is part of PPP’s LCP negotiation phase. The other frame types serve different purposes: CR initiates configuration, TR requests termination, and TA acknowledges termination.

Q3. If a data frame is lost during piggybacking, what immediate effect does this have on the acknowledgment of the next frame?

A.The next frame's ACK is delayed until timeout ✅
B.The next frame is considered acknowledged
C.No effect
D.Both sender and receiver reset the link
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: When a piggybacked ACK is lost, the receiver does not receive confirmation that the previous data was acknowledged. Consequently, the sender must wait for its retransmission timer to expire before resending the unacknowledged frame, effectively delaying the acknowledgment for the next frame until the timeout occurs.

Q4. When an error is detected in a received frame, PPP discards the frame. How does this impact the sequence numbers of subsequent frames?

A.Sequence numbers continue uninterrupted
B.They are reset to zero
C.A gap appears until the sender retransmits ✅
D.All subsequent frames are also discarded
💡 Difficulty: easy | ✅ Correct: C

📖 Explanation: PPP uses per‑frame sequence numbers (or protocol‑specific identifiers). If a frame is discarded due to error, the sequence numbers of later frames are not altered; instead, the receiver notes the missing number and signals the sender to retransmit, creating a temporary gap in the sequence until recovery.

Q5. Suppose a PPP link uses piggybacking and the receiver fails to send an acknowledgment due to a collision. What is the most likely consequence for the sender's transmission schedule?

A.Sender will immediately retransmit
B.Sender will wait for its timeout before retransmitting ✅
C.Sender will continue sending new frames
D.Sender will terminate the link
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Because the ACK was not received, the sender assumes the data may be unacknowledged and starts its retransmission timer. Only after this timer expires will the sender retransmit the affected frame, preserving the ordered transmission schedule while avoiding unnecessary immediate retransmissions.

Q6. In a scenario where multiple frames are piggybacked and a single frame is corrupted, how does PPP ensure that only the corrupted frame is retransmitted without affecting the integrity of the other frames?

A.By using per‑frame checksums and selective repeat ✅
B.By discarding all frames in the batch
C.By resetting the link
D.By ignoring the error
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: Each PPP frame carries its own checksum (FCS). When a receiver detects a checksum mismatch, it requests retransmission of just that frame via a NACK or by not acknowledging it. The sender then selectively repeats only the corrupted frame, leaving correctly received frames untouched, which preserves overall efficiency.

Q7. If a PPP link experiences a burst error that corrupts three consecutive frames, what mechanism does PPP employ to recover, and how does it affect link throughput?

A.It uses go‑back‑N causing retransmission of all three frames, reducing throughput
B.It uses selective repeat to retransmit only corrupted frames, preserving throughput ✅
C.It terminates the link
D.It continues without correction, causing data loss
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: PPP can operate with selective‑repeat ARQ, which allows the receiver to acknowledge each good frame and request retransmission only for those that failed the FCS check. By limiting retransmissions to the three corrupted frames, the protocol avoids unnecessary resending of already correct data, thereby maintaining higher throughput.

Q8. When piggybacking is used, what condition must be satisfied before a data frame can carry an acknowledgment?

A.The receiver must have data to send ✅
B.The sender must request permission
C.The link must be idle
D.No condition; ACK can always be piggybacked
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: Piggybacking works by attaching an acknowledgment to an outbound data frame. Therefore, the receiver must have its own data ready to transmit; otherwise, it cannot embed the ACK and must send a separate pure‑ACK frame. This requirement ensures efficient use of the channel while still providing reliable acknowledgment.

Q9. Compare the collision handling in CSMA/CD with the error recovery in PPP piggybacking. Which statement best describes a key difference?

A.CSMA/CD resolves collisions by retransmission after a random backoff, while PPP piggybacking relies on acknowledgments embedded in data frames ✅
B.Both use exponential backoff
C.PPP discards frames without acknowledgment
D.CSMA/CD uses acknowledgments in every frame
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: CSMA/CD detects a collision on a shared medium and forces the colliding stations to wait a random interval before retrying. PPP piggybacking, by contrast, does not involve collisions; instead, it embeds acknowledgments within regular data frames, so error recovery depends on receipt of those ACKs rather than on a backoff algorithm.

Q10. Evaluate the impact of using piggybacking on bandwidth utilization compared to a pure acknowledgment scheme in PPP. Which outcome is most accurate?

A.Piggybacking reduces overhead and improves bandwidth ✅
B.Piggybacking increases overhead
C.Both have identical bandwidth usage
D.Pure ACK scheme always yields higher throughput
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: By combining data and acknowledgment in a single transmission, piggybacking eliminates the need for separate ACK frames, thereby reducing header overhead and freeing bandwidth for payload data. This efficiency gain is especially noticeable when traffic is bidirectional, whereas a pure ACK scheme incurs additional frames that consume channel capacity.

Q11. How does the use of Multilink PPP affect the reliability of piggybacked acknowledgments across multiple physical links?

A.It distributes acknowledgments across links, increasing reliability ✅
B.It consolidates acknowledgments into a single link
C.It disables piggybacking
D.It has no effect on acknowledgment reliability
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: Multilink PPP aggregates several physical circuits into one logical link. Acknowledgments can be sent on any of the constituent links, so if one link experiences a transient error, the other links can still carry the ACK, improving overall reliability compared with a single‑link scenario where a failure would block all acknowledgments.

Q12. Given two PPP connections, one using standard PPP and one using Multilink PPP with three aggregated links, how does the probability of a single frame loss due to a physical error compare between the two?

A.The aggregated link has a lower probability because loss must occur on all three links simultaneously ✅
B.The probability is the same
C.The aggregated link has higher probability because more links increase chance of error
D.Probability cannot be determined without more data
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: In Multilink PPP, a frame is considered lost only if it fails on every constituent link. Assuming independent link errors, the joint probability of loss is the product of the individual link loss probabilities, which is smaller than the single‑link loss probability, thus reducing the chance of a single frame being lost.

Q13. Differentiate between the role of the SABM (Set Asynchronous Balanced Mode) frame in PPP and the RTS (Request to Send) frame in CSMA/CA. Which statement correctly captures their purposes?

A.Both initiate communication, but SABM establishes link parameters while RTS reserves the medium ✅
B.SABM terminates links, RTS initiates
C.Both are used for error detection
D.SABM and RTS are identical in function
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: SABM is a control frame that starts a PPP link, negotiating parameters such as LCP options. RTS, used in CSMA/CA, is a MAC‑layer request that asks the wireless medium for permission to transmit. While both are initiation mechanisms, they operate at different layers and serve distinct functions: link setup versus medium reservation.

Q14. If a PPP link employing piggybacked ACKs experiences a high error rate causing frequent frame discards, what modification to the protocol would most effectively mitigate throughput degradation?

A.Introduce separate ACK frames to reduce dependency on piggybacking ✅
B.Increase the size of piggybacked frames
C.Disable error detection
D.Switch to a half‑duplex mode
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: When errors are common, relying on piggybacked acknowledgments can cause long delays because data frames may be unavailable to carry ACKs. Adding pure ACK frames provides a fallback path, ensuring timely acknowledgment even when data traffic is sparse, thereby preserving throughput despite the higher error environment.

Q15. Assess why PPP includes optional authentication while CSMA/CD does not provide any authentication mechanism. Which explanation best justifies this design choice?

A.PPP operates over point‑to‑point links where identity verification is critical, whereas CSMA/CD works on shared media where authentication is unnecessary ✅
B.CSMA/CD cannot support authentication due to hardware limits
C.PPP authentication is only for legacy reasons
D.Both protocols actually include authentication
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: PPP is often used to connect a customer’s equipment to a service provider, a context where verifying the peer’s identity is important for security and billing. CSMA/CD, by contrast, is a LAN‑layer protocol for shared Ethernet media; it assumes a trusted local environment and therefore does not include authentication features.

Q16. Apply the principle of piggybacking to a scenario where a device has no data to send. How should it still acknowledge received frames?

A.Send a pure ACK frame ✅
B.Wait until it has data
C.Retransmit the last data frame
D.Terminate the link
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: If a device has nothing to transmit, it cannot embed an acknowledgment in a data frame. The protocol therefore requires the device to generate a dedicated ACK frame containing only the acknowledgment information. This pure‑ACK ensures the sender knows the received data was successfully processed despite the lack of accompanying payload.

Q17. Synthesize a strategy for handling a lost acknowledgment in PPP when using piggybacking. Which approach aligns with protocol standards?

A.The sender times out and retransmits the original data frame ✅
B.The receiver resends the acknowledgment immediately
C.Both ends ignore the loss
D.The link is reset
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: PPP relies on timers to detect missing acknowledgments. If an ACK embedded in a piggybacked frame is lost, the sender’s timeout expires, prompting it to retransmit the original data frame. The receiver, upon receiving the duplicate, can then send a fresh acknowledgment, restoring reliable delivery without resetting the link.

Q18. Explain how the use of a U‑frame (Unnumbered) such as DISC (Disconnect) interacts with ongoing piggybacked data transmissions.

A.DISC terminates the link after pending piggybacked frames are acknowledged ✅
B.DISC is ignored if piggybacked data is present
C.DISC immediately aborts all transmissions
D.DISC converts piggybacked frames into control frames
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: A DISC U‑frame signals the intent to end the PPP session. However, the protocol ensures graceful termination by allowing any in‑flight piggybacked frames to be acknowledged before the link is fully released. This orderly shutdown prevents loss of data that might otherwise be pending when the disconnect request is processed.

Q19. In a PPP link, how would you modify the frame format to support larger payloads while preserving piggybacked acknowledgment functionality?

A.Extend the length field and keep the ACK flag ✅
B.Remove the ACK flag
C.Reduce the payload size
D.Change to a different protocol
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: Increasing the maximum payload requires enlarging the length field (e.g., from 16‑bit to 24‑bit) so the frame can describe a bigger data segment. The ACK flag, which indicates that the frame carries an acknowledgment, remains unchanged, allowing piggybacked ACKs to continue functioning alongside the larger payload.

Q20. When integrating PPP over a wireless CSMA/CA medium, what considerations must be made to maintain reliable piggybacked acknowledgments?

A.Account for variable latency and possible hidden node problems ✅
B.Use fixed timing
C.Disable piggybacking
D.Increase transmission power
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: Wireless CSMA/CA introduces non‑deterministic delays and hidden‑node collisions, which can cause ACK frames to be delayed or lost. To keep piggybacked acknowledgments reliable, the implementation must incorporate adaptive timers, possibly send separate ACKs when data traffic is sparse, and employ mechanisms like RTS/CTS to mitigate hidden‑node effects.

Q21. Design a hybrid protocol that combines CSMA/CD collision detection with PPP piggybacked acknowledgments for a wired LAN. Which element is essential to ensure compatibility?

A.A unified frame structure that includes both collision flags and ACK fields ✅
B.Separate channels for control and data
C.Elimination of CSMA/CD
D.Mandatory use of half‑duplex
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: For a hybrid solution, the frame must carry both the Ethernet collision detection bits (e.g., jam signal indicators) and the PPP acknowledgment flag. This unified structure lets the MAC layer handle collisions while the data‑link layer processes piggybacked ACKs, preserving the behaviors of both protocols without requiring separate physical or logical channels.

Q22. Critically evaluate the trade‑off between latency and bandwidth efficiency when choosing between pure ACK frames and piggybacked ACKs in a high‑speed PPP link. Which statement best reflects the optimal choice?

A.Piggybacked ACKs improve bandwidth efficiency while potentially increasing latency if data is sparse
B.Pure ACK frames increase latency but reduce bandwidth waste
C.Piggybacked ACKs minimize latency at the cost of bandwidth ✅
D.There is no trade‑off; both perform identically
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: When data traffic is continuous, piggybacked ACKs hide acknowledgment overhead, boosting bandwidth efficiency. However, if the sender has little or no data to send, waiting for a piggybacked ACK can introduce extra delay, making pure ACK frames preferable for low‑traffic periods. Thus the optimal choice balances the two depending on traffic patterns.

🔗 Related Topics (MCQs)