📝 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.
📝 All Pure ALOHA and Slotted ALOHA efficiency MCQs
Q1. What does the acronym SABM stand for in the ALOHA protocol?
📖 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?
📖 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?
📖 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?
📖 Explanation: The SABM initiates a balanced‑mode link with the send sequence number cleared to zero. This signals the start of a new logical connection. The receive sequence number is not used in unnumbered frames, so only 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?
📖 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?
📖 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?
📖 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 . What is the probability that both SABM and UA are successfully received on the first attempt?
📖 Explanation: The success of each frame is . Since the two frames are independent, the joint probability is . 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?
📖 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 . 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?
📖 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?
📖 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?
📖 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?
📖 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?
📖 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?
📖 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?
📖 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?
📖 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?
📖 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?
📖 Explanation: Both SABM and UA must arrive correctly. The success probability per attempt is . The expected number of attempts is . 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?
📖 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?
📖 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?
📖 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?
📖 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?
📖 Explanation: Each logical link requires its own sequence numbering context. By assigning different initial send sequence numbers () 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 to on the probability of unnecessary retransmissions when the round‑trip time is uniformly distributed between and . Which statement is correct?
📖 Explanation: If the round‑trip time never exceeds , extending the timeout to 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?
📖 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?
📖 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?
📖 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?
📖 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?
📖 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?
📖 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?
📖 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.