πŸŽ“ BookMCQ
← Back to 12. Media Access Control (MAC)

πŸ“ Random Access Protocols overview (13 MCQs)

Shared-Channel Competition in Random Access Networks

Random access protocols coordinate transmission when multiple stations share one communication channel and no station has a permanently assigned turn. A station decides when to send, so simultaneous attempts may collide and require retransmission. These distributed rules are commonly used in local and wireless networks, where stations must share channel capacity without a central controller allocating every individual transmission opportunity.

Contention Rules, Collisions and Retransmission

A station normally senses or estimates channel availability, follows the access rule, and transmits a frame. If two stations transmit during overlapping intervals, their signals may interfere and frames can be damaged. Protocols differ in whether they sense the medium first, detect collisions while sending, or wait a random backoff interval before retrying.

From Channel Access Attempt to Successful Delivery

After a station has data, it applies the protocol's access rule and begins sending when permitted. The receiver checks the incoming frame and may return an acknowledgement. If acknowledgement is absent or a collision is detected, the sender waits according to the protocol and tries again. Randomized delays reduce the chance that stations collide repeatedly.

Two Stations Competing for One Ethernet-Like Channel

Suppose stations A and B both have frames ready while a shared channel is idle. If both begin at nearly the same instant, their transmissions overlap and neither frame may be decoded. Each station waits for a different random interval before retrying, reducing repeated overlap and allowing one frame to reach the receiver.

Where Contention-Based Access Fits in MAC

Random access is a medium access control approach beneath network-layer addressing and routing. It determines when a link-layer frame may use a shared medium, not which IP route a packet follows. Ethernet historically used CSMA/CD on shared half-duplex segments, while wireless LANs commonly use CSMA/CA because collision detection during radio transmission is impractical.

Misunderstandings About Shared-Medium Access

'Random access means stations transmit without rules' is incorrect because each protocol defines sensing, timing, and retry behavior. 'A collision always destroys every frame on the network' is incorrect because its effect is local to the shared collision domain. 'Random access guarantees equal throughput' is incorrect because load, timing, and repeated collisions affect each station differently.

Comparing Access Rules in MAC Examination Questions

Be able to classify a protocol as random access, controlled access, or channelization. Trace when a station senses, transmits, detects or infers failure, and retries. Compare collision handling in ALOHA, CSMA, CSMA/CD, and CSMA/CA, and distinguish channel contention from routing, flow control, and error detection. Also distinguish the access decision from actual frame delivery and acknowledgement processing.

Random Access and Contention Terminology

  • Random access - Stations contend for shared channel use.
  • Contention - Multiple stations compete to transmit.
  • Collision - Overlapping transmissions corrupt frames.
  • Backoff - A delay before another attempt.
  • MAC - Controls access to a shared link-layer medium.
  • Acknowledgement - Confirms successful frame reception.
4
Easy
6
Medium
3
Hard

πŸ“ All Random Access Protocols overview MCQs

Q1. In pure ALOHA, what is the duration of the vulnerable period during which a second transmission would cause a collision with a frame that started at time t?

A.One frame time
B.Two frame times βœ…
C.Half a frame time
D.Three frame times
πŸ’‘ Difficulty: easy | βœ… Correct: B

πŸ“– Explanation: The vulnerable period in pure ALOHA spans the entire transmission time of the original frame plus an equal interval before and after it, totaling two frame times. Any other station that begins transmission within this 2‑frame‑time window will cause a collision, making option B correct.

Q2. Compare the maximum theoretical throughput of pure ALOHA with that of slotted ALOHA. Which statement is correct?

A.Both have the same maximum throughput of 18%
B.Pure ALOHA has higher maximum throughput than slotted ALOHA
C.Slotted ALOHA achieves about 36% while pure ALOHA about 18%
D.Slotted ALOHA achieves about 36% and pure ALOHA about 18% βœ…
πŸ’‘ Difficulty: easy | βœ… Correct: D

πŸ“– Explanation: Slotted ALOHA improves efficiency by forcing transmissions to start only at slot boundaries, halving the vulnerable period. Consequently its peak throughput is roughly Smax⁑=1/eβ‰ˆ0.368S_{\max}=1/e\approx0.368 (36.8%), whereas pure ALOHA peaks at Smax⁑=0.5eβˆ’1β‰ˆ0.184S_{\max}=0.5e^{-1}\approx0.184 (18.4%). Option D states these values correctly.

Q3. According to CSMA/CD, after a station senses the medium idle and begins transmitting, what should it do if it detects a collision?

A.Continue transmitting the corrupted frame
B.Immediately cease transmission and send a jam signal βœ…
C.Wait until the end of the frame and retransmit
D.Increase transmission power
πŸ’‘ Difficulty: easy | βœ… Correct: B

πŸ“– Explanation: When a collision is detected, CSMA/CD requires the transmitting station to stop sending the current frame, broadcast a jam signal to ensure all stations recognize the collision, and then defer retransmission using a backoff algorithm. This rapid response minimizes wasted channel time, making option B correct.

Q4. What does the acronym ALOHA stand for in the context of networking?

A.Advanced Low‑overhead Access
B.Aloha Limited Overhead Hybrid Algorithm
C.Aloha (no acronym; original name of the protocol) βœ…
D.Automatic Link Optimization for High Availability
πŸ’‘ Difficulty: easy | βœ… Correct: C

πŸ“– Explanation: The original protocol was simply named ALOHA after the Hawaiian island where it was developed; it does not represent an acronym. Therefore the correct choice is the one indicating that ALOHA has no expanded form.

Q5. If the offered load G=0.4G = 0.4 in pure ALOHA, what is the expected throughput SS using the formula S=Geβˆ’2GS = G e^{-2G}?

A.0.22
B.0.18 βœ…
C.0.28
D.0.34
πŸ’‘ Difficulty: medium | βœ… Correct: B

πŸ“– Explanation: Plugging G=0.4G=0.4 into the expression gives S=0.4Γ—eβˆ’0.8S = 0.4 \times e^{-0.8}. The exponential term eβˆ’0.8e^{-0.8} is approximately 0.449, and multiplying yields Sβ‰ˆ0.1796S \approx 0.1796, which rounds to 0.18. Hence the correct answer is option B.

Q6. How does increasing the propagation delay Ο„\tau relative to the frame transmission time TT affect the efficiency of CSMA/CD?

A.Efficiency improves because stations have more time to detect collisions
B.Efficiency degrades because the vulnerable period 2Ο„2\tau becomes larger βœ…
C.No effect; CSMA/CD efficiency depends only on traffic load
D.Efficiency becomes independent of frame size
πŸ’‘ Difficulty: medium | βœ… Correct: B

πŸ“– Explanation: In CSMA/CD the time a station must listen for a possible collision is twice the propagation delay (2Ο„2\tau). As Ο„\tau grows relative to the transmission time, this vulnerable period consumes a larger fraction of the channel, reducing the proportion of successful transmissions and thus lowering efficiency.

Q7. Why is CSMA/CA preferred over CSMA/CD in wireless LANs?

A.Wireless signals cannot be detected while transmitting, making collision detection impractical βœ…
B.CSMA/CA uses less power than CSMA/CD
C.CSMA/CA guarantees zero collisions, unlike CSMA/CD
D.CSMA/CD requires special hardware not available in wireless devices
πŸ’‘ Difficulty: medium | βœ… Correct: A

πŸ“– Explanation: In wireless media, a node cannot listen to the channel while it is transmitting, so it cannot reliably detect collisions. CSMA/CA therefore avoids collisions by using techniques such as RTS/CTS handshaking and random backoff, making it the appropriate choice for Wi‑Fi environments.

Q8. In slotted ALOHA with NN active stations, each transmitting with probability pp per slot, what is the probability that a given slot contains a successful transmission?

A.p(1βˆ’p)Nβˆ’1p (1-p)^{N-1}
B.Np(1βˆ’p)NN p (1-p)^{N}
C.Np(1βˆ’p)Nβˆ’1N p (1-p)^{N-1} βœ…
D.Np2(1βˆ’p)Nβˆ’2N p^{2} (1-p)^{N-2}
πŸ’‘ Difficulty: medium | βœ… Correct: C

πŸ“– Explanation: A successful slot occurs when exactly one station transmits while the others remain silent. The probability that a particular station transmits is pp, and the probability that each of the remaining Nβˆ’1N-1 stations does not transmit is (1βˆ’p)(1-p). Multiplying by the NN possible choices yields Np(1βˆ’p)Nβˆ’1N p (1-p)^{N-1}, which is option C.

Q9. Which of the following best describes the impact of using binary exponential backoff versus linear backoff on collision resolution in Ethernet?

A.Binary exponential backoff reduces average delay under heavy load compared to linear backoff βœ…
B.Linear backoff provides faster recovery after a collision than binary exponential backoff
C.Both have identical performance regardless of network load
D.Binary exponential backoff increases the probability of repeated collisions
πŸ’‘ Difficulty: medium | βœ… Correct: A

πŸ“– Explanation: Binary exponential backoff doubles the contention window after each collision, quickly spreading retransmission attempts over a larger time span. This adaptive behavior reduces the chance of repeated collisions under high traffic, lowering average delay compared with a fixed‑size linear backoff, making option A correct.

Q10. Explain the hidden node problem in wireless CSMA/CA and identify a mechanism that mitigates it.

A.Hidden nodes cause increased collisions; RTS/CTS handshake mitigates it βœ…
B.Hidden nodes improve throughput; ACK frames mitigate it
C.Hidden nodes have no effect; CSMA/CA inherently solves it
D.Hidden nodes cause signal attenuation; power control mitigates it
πŸ’‘ Difficulty: medium | βœ… Correct: A

πŸ“– Explanation: A hidden node cannot hear another transmitter but can interfere at a common receiver, leading to undetected collisions. The RTS/CTS exchange reserves the channel by having both sender and receiver announce their intent, allowing nearby hidden nodes to defer transmission, thereby reducing collisions. Option A captures this solution.

Q11. Derive the value of offered load GG that maximizes the throughput S=Geβˆ’GS = G e^{-G} of slotted ALOHA. Which of the following is the correct optimal GG?

A.0.5
B.1 βœ…
C.2
D.eβˆ’1e^{-1}
πŸ’‘ Difficulty: hard | βœ… Correct: B

πŸ“– Explanation: To find the maximum, differentiate SS with respect to GG: dS/dG=eβˆ’Gβˆ’Geβˆ’GdS/dG = e^{-G} - G e^{-G}. Setting the derivative to zero gives 1βˆ’G=01 - G = 0, so G=1G = 1. Substituting back confirms this yields the peak throughput of 1/e1/e. Hence the optimal offered load is 1, option B.

Q12. Given a CSMA/CD network where the propagation delay is Ο„=25\tau = 25β€―Β΅s, the frame transmission time is T=1250T = 1250β€―Β΅s, and the offered load is G=0.2G = 0.2, determine whether the network is stable (throughput S<1S < 1). Use the approximation S=G1+2aGS = \frac{G}{1 + 2aG} where a=Ο„/Ta = \tau/T.

A.Stable, because Sβ‰ˆ0.19S \approx 0.19 βœ…
B.Unstable, because Sβ‰ˆ0.45S \approx 0.45
C.Stable, because Sβ‰ˆ0.67S \approx 0.67
D.Unstable, because Sβ‰ˆ0.92S \approx 0.92
πŸ’‘ Difficulty: hard | βœ… Correct: A

πŸ“– Explanation: First compute a=Ο„/T=25/1250=0.02a = \tau/T = 25/1250 = 0.02. Then S=0.2/(1+2Γ—0.02Γ—0.2)=0.2/(1+0.008)β‰ˆ0.2/1.008β‰ˆ0.198S = 0.2 / (1 + 2 \times 0.02 \times 0.2) = 0.2 / (1 + 0.008) \approx 0.2 / 1.008 \approx 0.198. Since SS is well below 1, the system remains stable, matching option A.

Q13. Design a hybrid protocol that uses CSMA/CD on wired segments and CSMA/CA on wireless segments within the same LAN. Which statement best captures its operation?

A.Stations first perform carrier sensing; if the medium is wired, collisions are detected; if wireless, a RTS/CTS exchange is used before data transmission βœ…
B.All stations always use CSMA/CA regardless of medium type
C.The protocol alternates between CSMA/CD and CSMA/CA each slot without regard to medium
D.Stations ignore carrier sensing and transmit at fixed intervals
πŸ’‘ Difficulty: hard | βœ… Correct: A

πŸ“– Explanation: A hybrid approach lets each node sense the channel first. On a wired link, the node proceeds with CSMA/CD, detecting collisions via the physical layer. On a wireless link, after carrier sensing the node initiates an RTS/CTS handshake to avoid hidden‑node collisions before sending data. This combined logic is described by option A.

πŸ”— Related Topics (MCQs)