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

📝 Pure ALOHA and Slotted ALOHA efficiency (32 MCQs)

ALOHA Transmission and Vulnerable Periods

ALOHA is a random access method in which a station transmits a frame when it has data, without first checking whether the channel is idle. If another frame overlaps in time, a collision occurs and the sender retransmits after a random delay. Slotted ALOHA divides time into equal slots and permits transmission only at slot boundaries, reducing the interval in which collisions can occur.

Pure and Slotted ALOHA Timing Principles

In Pure ALOHA, a frame may begin at any instant, so another frame can collide with it during a vulnerable period of two frame-transmission times. Slotted ALOHA synchronizes stations and restricts starts to slot boundaries; its vulnerable period is one frame time. Slot synchronization is therefore essential to the improved efficiency.

Retransmission and Random Delay Sequence

A station sends a frame and waits for an acknowledgement. If none arrives within the expected interval, it assumes a collision or loss, selects a random waiting time, and retransmits. In Slotted ALOHA, the retry must begin at a later slot boundary. Randomization prevents unsuccessful stations from immediately repeating the same collision.

Maximum Throughput of Both ALOHA Variants

For offered load G measured in frame attempts per frame time, Pure ALOHA throughput is S = G e^(-2G), reaching a maximum of 1/(2e), about 0.184. Slotted ALOHA gives S = G e^(-G), with maximum 1/e, about 0.368. Thus slotting ideally doubles the maximum successful throughput.

Use in Shared Radio and Low-Coordination Systems

ALOHA introduced the contention principles used in later wireless and satellite access systems. Slotted operation requires shared timing, while Pure ALOHA needs less synchronization. Both methods are simple but become inefficient under heavy load because collisions and retransmissions consume channel capacity that could otherwise carry new frames. This comparison assumes ideal independent frame attempts and a fixed frame time.

Common Errors in ALOHA Efficiency Calculations

'Pure ALOHA has a one-frame vulnerable period' is incorrect; it is two frame times. 'Slotted ALOHA allows transmission at any instant' is incorrect; starts are slot-aligned. 'The maximum throughput is 100 percent' is incorrect because collisions limit ideal peak throughput to about 18.4 percent for Pure and 36.8 percent for Slotted ALOHA.

Solving ALOHA Throughput and Vulnerable-Period Problems

Memorize the throughput expressions and identify whether G counts new and retransmitted attempts. Use the correct vulnerable period, differentiate or recall each maximum, and state the peak values with units or percentages. Explain why slot synchronization improves efficiency, and avoid confusing offered load with successfully delivered throughput. These values describe idealized maximum throughput under the standard traffic model.

ALOHA Timing and Throughput Terms

  • Pure ALOHA - Frames may start at any time.
  • Slotted ALOHA - Frames start only at slot boundaries.
  • Offered load - Total attempted frames per frame time.
  • Throughput - Successfully transmitted frames per frame time.
  • Vulnerable period - Interval during which collisions can occur.
  • Synchronization - Aligns stations to common time slots.
9
Easy
15
Medium
8
Hard

📝 All Pure ALOHA and Slotted ALOHA efficiency MCQs

Q1. What does the acronym SABM stand for in the ALOHA protocol?

A.Set Asynchronous Balanced Mode ✅
B.Synchronous Asynchronous Balanced Mode
C.Set Asynchronous Binary Mode
D.Synchronous Asymmetric Balanced Mode
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: The acronym SABM expands to Set Asynchronous Balanced Mode. It is the frame used by a node to request a balanced‑mode connection in LAPB. The other options mix unrelated terms, making A the only correct expansion.

Q2. Which unnumbered frame does node B send to acknowledge a DISC frame from node A?

A.RR (Receive Ready)
B.REJ (Reject)
C.UA (Unnumbered Acknowledgment) ✅
D.DM (Disconnected Mode)
💡 Difficulty: easy | ✅ Correct: C

📖 Explanation: When node A issues a DISC, node B replies with a UA frame to confirm the disconnection. RR and REJ are supervisory frames, while DM signals a permanent disconnection, so UA is the appropriate acknowledgment.

Q3. If node A transmits a SABM and does not receive a UA within the timeout, what is the most probable cause?

A.Node B is busy and will respond later
B.The link is error‑free but delayed
C.The connection request was rejected silently
D.The transmission was corrupted and the frame was lost ✅
💡 Difficulty: easy | ✅ Correct: D

📖 Explanation: A missing UA after the timeout usually indicates that the SABM frame was corrupted or lost on the medium, preventing node B from receiving it. Busy links would still eventually reply, and silent rejection is not part of the protocol.

Q4. During connection establishment, which frame sequence number is typically set to zero in the SABM?

A.N(S)=0N(S)=0 ✅
B.N(R)=0N(R)=0
C.N(S)=1N(S)=1
D.N(R)=1N(R)=1
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: The SABM initiates a balanced‑mode link with the send sequence number N(S)N(S) cleared to zero. This signals the start of a new logical connection. The receive sequence number is not used in unnumbered frames, so only N(S)=0N(S)=0 is relevant.

Q5. Given that a UA frame acknowledges a DISC, what inference can be drawn about the state of node B after sending UA?

A.Node B will immediately close its link ✅
B.Node B will wait for further data
C.Node B remains in a connected state
D.Node B resets its sequence counters
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: When node B sends a UA in response to a DISC, it signals that the link is being terminated, so node B will proceed to close the logical link and release resources. It does not stay connected or await more data.

Q6. If node A sends a DISC and node B replies with a UA, but node A never receives the UA, what is the logical consequence for node A?

A.Node A will assume the link is still active
B.Node A will retry the DISC after a timeout ✅
C.Node A will send a RR frame
D.Node A will terminate the link immediately
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: The protocol dictates that if the UA acknowledgment is not received, node A must retransmit the DISC after its timer expires. Assuming the link is still active without confirmation would be unsafe, and RR is a supervisory frame not used for disconnection.

Q7. How does the use of SABM and UA frames affect the overall latency of establishing a connection compared to a hypothetical single‑frame handshake?

A.It doubles the latency ✅
B.It adds negligible latency
C.It reduces latency because of error checking
D.It triples the latency due to acknowledgments
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: A two‑frame handshake (SABM followed by UA) inherently incurs at least one round‑trip time, roughly doubling the latency relative to a single‑frame approach that would eliminate the acknowledgment step. The extra frame provides reliability but at the cost of added delay.

Q8. Consider a scenario where the probability of frame loss on the channel is p=0.1p=0.1. What is the probability that both SABM and UA are successfully received on the first attempt?

A.0.92=0.810.9^2 = 0.81 ✅
B.0.9=0.90.9 = 0.9
C.0.12=0.010.1^2 = 0.01
D.0.80.8
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: The success of each frame is 1−p=0.91-p = 0.9. Since the two frames are independent, the joint probability is 0.9×0.9=0.810.9 \times 0.9 = 0.81. This reflects the likelihood of establishing the link without retransmissions in a moderately reliable channel.

Q9. If the timeout interval is set too short relative to the round‑trip propagation delay, which effect is most likely?

A.Increased throughput
B.Higher number of retransmissions ✅
C.Reduced error rate
D.Faster connection establishment
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: A timeout that expires before the acknowledgement can arrive causes the sender to retransmit the SABM unnecessarily, leading to more traffic and potential collisions. This raises the retransmission count and can degrade overall network efficiency.

Q10. Node A sends a SABM with N(S)=0N(S)=0. Node B receives it and replies with UA. After data exchange, node A sends DISC. Which frame carries the highest protocol overhead in bytes, assuming standard HDLC header sizes?

A.SABM ✅
B.UA
C.DISC
D.All have equal overhead
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: SABM includes additional fields for mode indication and optional parameters, making its header slightly larger than the minimal UA and DISC frames. Therefore, SABM typically incurs the greatest overhead among the three unnumbered frames.

Q11. When a DISC frame is sent, which of the following best describes the cause‑effect relationship?

A.Node A initiates disconnection → Node B must immediately send data
B.Node A initiates disconnection → Node B acknowledges with UA ✅
C.Node A initiates disconnection → Node B ignores the request
D.Node A initiates disconnection → Node B sends a SABM
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: The DISC frame signals a request to terminate the link. The protocol dictates that node B responds with a UA to confirm the disconnection, establishing a clear cause‑effect chain.

Q12. If node B receives a SABM but its internal state machine is already in the CONNECTED state, what logical deduction can be made?

A.It will treat the SABM as a data frame
B.It will ignore the SABM and send no response
C.It will send a UA to reaffirm the connection ✅
D.It will reset the link to idle
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: When a node already has an active connection and receives another SABM, the standard response is to send a UA, reaffirming that the link is already established. Ignoring the frame would violate protocol expectations.

Q13. Compare the role of UA in the connection‑establishment phase versus the connection‑release phase. Which statement is accurate?

A.UA only acknowledges SABM, not DISC
B.UA serves as acknowledgment for both SABM and DISC ✅
C.UA is used only for error recovery
D.UA is optional in both phases
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: The UA frame functions as a generic unnumbered acknowledgment. It is employed both after a SABM to confirm establishment and after a DISC to confirm release, making it a common acknowledgment mechanism in both phases.

Q14. Evaluate the impact on channel utilization if every data transfer is preceded by a full SABM/UA handshake, even for short packets. Which effect is most significant?

A.Higher utilization due to synchronization
B.Lower utilization because of control overhead ✅
C.No effect on utilization
D.Improved error detection leading to higher throughput
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Repeatedly performing a two‑frame handshake for each short payload adds considerable control overhead, reducing the proportion of bandwidth available for actual data and thus lowering overall channel utilization.

Q15. Differentiate between the sequence numbers used in SABM and in I‑frames. Which description is correct?

A.Both use N(S)N(S) and N(R)N(R)
B.Only SABM uses sequence numbers
C.Only I‑frames use N(S)N(S) and \(N(R) ✅
D.Neither uses sequence numbers
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: I‑frames, which carry user data, employ both send and receive sequence numbers for flow control. Unnumbered frames like SABM do not carry sequence numbers; they are used solely for link management, making the third option correct.

Q16. A network engineer argues that replacing the UA acknowledgment with a simple ACK would simplify the protocol. Which analytical critique best addresses this claim?

A.ACK would provide the same functionality with less overhead
B.ACK lacks the unnumbered classification required for link management ✅
C.ACK cannot be transmitted on the same channel
D.ACK would increase error rates
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: The UA frame is defined as an unnumbered frame, essential for link‑layer management independent of numbered data exchange. Substituting it with an ACK, which is a supervisory frame, would break the protocol’s separation of concerns, making the critique valid.

Q17. In a scenario where node A sends SABM, node B replies UA, data is exchanged, then node A sends DISC, but node B never receives DISC. What is the most appropriate recovery action for node B?

A.Send a UA preemptively
B.Wait indefinitely for DISC
C.Initiate a new SABM to re‑establish the link ✅
D.Terminate the link silently
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: If node B does not detect the DISC, the safest approach is to start a fresh connection by transmitting a SABM, thereby re‑synchronizing both ends. Waiting indefinitely or silently terminating would violate protocol expectations.

Q18. Why is the UA frame considered a “unnumbered” frame, and what conceptual advantage does this provide?

A.It carries no data payload, reducing size
B.It does not require sequence numbers, simplifying link control ✅
C.It is transmitted only in error conditions
D.It replaces the need for supervisory frames
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: Being unnumbered means UA does not participate in the numbered sequencing scheme used for data frames. This simplifies link‑management exchanges, allowing quick acknowledgment of link‑establishment or release without the overhead of sequence tracking.

Q19. If the probability of a frame being corrupted is 0.05, what is the expected number of attempts needed for a successful SABM‑UA exchange?

A.1/(0.952)≈1.111 / (0.95^2) \approx 1.11 ✅
B.1/0.95≈1.051 / 0.95 \approx 1.05
C.1/(0.95)≈1.051 / (0.95) \approx 1.05
D.22
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: Both SABM and UA must arrive correctly. The success probability per attempt is 0.95×0.95=0.90250.95 \times 0.95 = 0.9025. The expected number of attempts is 1/0.9025≈1.111/0.9025 \approx 1.11. This reflects the average trials required given the error rate.

Q20. Synthesize a complete sequence diagram for a successful connection lifecycle using SABM, data transfer, and DISC. Which ordered list correctly represents the frames?

A.SABM → UA → Data → DISC → UA ✅
B.SABM → Data → UA → DISC → UA
C.DISC → SABM → UA → Data → UA
D.UA → SABM → Data → UA → DISC
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: The standard lifecycle begins with SABM, acknowledged by UA, followed by data exchange, then a DISC to terminate, which is again acknowledged by UA. This ordering matches the first option.

Q21. Which of the following best explains why the DISC frame does not carry any sequence numbers?

A.Sequence numbers are only needed for error correction
B.DISC is an unnumbered frame dedicated to link release ✅
C.Sequence numbers are reserved for supervisory frames only
D.The protocol forbids numbering in disconnect frames
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: DISC is defined as an unnumbered frame whose purpose is to terminate the link. Unnumbered frames, by definition, do not include send or receive sequence numbers, simplifying the disconnection process.

Q22. A node receives a UA after sending a DISC, but later observes incoming data frames. What logical deduction should it make?

A.The link was never truly closed ✅
B.The UA was a spurious frame
C.The peer opened a new connection automatically
D.The node should ignore the data as invalid
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: If data arrives after a DISC‑UA exchange, it indicates that the peer either did not honor the disconnection or re‑established the link, meaning the original closure was not effective.

Q23. When comparing the control overhead of a SABM‑UA handshake to a simple ACK‑based handshake, which analytical conclusion is valid?

A.ACK‑based handshakes always use fewer bits
B.SABM‑UA provides better error detection despite higher overhead ✅
C.Both handshakes have identical overhead
D.SABM‑UA eliminates the need for timers
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Although SABM‑UA involves more bits, it offers robust link‑management features and explicit error detection, which an ACK‑only approach lacks. Hence, the trade‑off favors reliability over minimal overhead.

Q24. If node A wishes to establish two simultaneous logical links with node B, how must it differentiate the connections using SABM frames?

A.By varying the frame type between SABM and DISC
B.By setting different address fields in each SABM
C.By using distinct sequence numbers in each SABM ✅
D.By sending UA after each SABM
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: Each logical link requires its own sequence numbering context. By assigning different initial send sequence numbers (N(S)N(S)) in the SABM frames, node A can distinguish the two concurrent connections while keeping the frame type unchanged.

Q25. Analyze the effect of increasing the timeout value from TT to 2T2T on the probability of unnecessary retransmissions when the round‑trip time is uniformly distributed between 00 and TT. Which statement is correct?

A.The probability of unnecessary retransmissions drops to zero
B.The probability halves ✅
C.The probability remains unchanged
D.The probability doubles
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: If the round‑trip time never exceeds TT, extending the timeout to 2T2T ensures that no timeout occurs before the acknowledgment arrives, halving the chance of premature retransmission compared to the original timeout setting.

Q26. Which logical inference can be made if a UA is received without a preceding SABM?

A.A previous SABM was lost but the link is still established ✅
B.The UA was sent in error and should be ignored
C.The link is being forcibly closed
D.The protocol is operating in an undefined state
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: Receiving a UA without a prior SABM suggests that the SABM was corrupted or lost, yet the peer proceeded with the acknowledgment, indicating that the logical connection may already be active despite the missing request.

Q27. During connection release, why does node B send a UA rather than a RR frame?

A.RR cannot be used after a DISC
B.UA provides a definitive acknowledgment for link termination ✅
C.RR requires sequence numbers which DISC lacks
D.UA is shorter than RR, saving bandwidth
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: The UA frame is the designated unnumbered acknowledgment for link‑release procedures. RR is a supervisory frame that expects numbered data exchange, which is not applicable after a DISC, making UA the correct response.

Q28. If node A experiences a collision on its first SABM transmission, what is the expected behavior according to the protocol’s back‑off strategy?

A.Immediate retransmission
B.Random exponential back‑off before retry ✅
C.Switch to a different channel
D.Abort the connection attempt
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Upon detecting a collision, the node employs a random exponential back‑off algorithm, waiting a random interval that grows with each successive failure before attempting to resend the SABM. This reduces the chance of repeated collisions.

Q29. Compare the reliability of a connection that uses only SABM/UA handshakes versus one that adds a periodic RR supervisory exchange. Which assessment is accurate?

A.Adding RR reduces reliability due to extra traffic
B.RR provides no benefit to reliability
C.RR enhances link monitoring, improving reliability ✅
D.RR replaces the need for UA
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: Periodic RR frames act as keep‑alive messages, allowing each node to detect link failures promptly. While they add traffic, they improve overall reliability by offering continuous link status verification, unlike a pure SABM/UA approach that only checks at establishment and release.

Q30. When synthesizing a scenario where multiple nodes contend for the medium, how does the use of unnumbered frames (SABM, DISC, UA) influence collision probability compared to only using numbered I‑frames?

A.Unnumbered frames increase collision probability
B.Unnumbered frames have no effect on collision probability ✅
C.Unnumbered frames reduce collision probability because they are shorter
D.Unnumbered frames eliminate collisions entirely
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Collision probability depends on overall traffic volume, not on frame type. Introducing unnumbered frames adds additional control traffic, but the probability of a collision for any given frame remains governed by the contention on the shared medium, making the effect neutral.

Q31. What conceptual advantage does the two‑step handshake (SABM then UA) provide over a single‑step approach when establishing a link in a noisy environment?

A.It halves the transmission time
B.It allows the initiator to verify the responder’s readiness ✅
C.It eliminates the need for error detection
D.It reduces the number of required frames
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: The two‑step handshake ensures that the initiator receives explicit confirmation (UA) that the responder is prepared for data exchange, which is especially valuable when noise may corrupt frames. This verification step improves robustness compared to a single‑step method.

Q32. If node A sends a DISC and node B responds with UA, but node A’s timer expires before processing the UA, what is the most logical next step for node A?

A.Resend the DISC
B.Assume the link is closed and release resources
C.Send a SABM to re‑establish the link ✅
D.Ignore the UA and continue data transmission
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: When the acknowledgment is missed due to a timer expiry, the initiator must restart the connection process by sending a new SABM, ensuring both ends are synchronized before any further communication.

🔗 Related Topics (MCQs)