Network and Data Communications · Unit 4
Medium Access Control and ALOHA
Exam-focused notes for Medium Access Control and ALOHA (Network and Data Communications, BIT254): what the TU syllabus asks and how it has actually been tested, with 5 solved past questions from this unit.
Medium Access Control and ALOHA in short
When many stations share one channel, collisions happen. Medium Access Control (MAC) methods decide who may send and when. This chapter studies the ALOHA family and the idea of collision-free access.
What this unit covers
- Pure ALOHA protocol procedure
- Pure ALOHA vulnerable time
- Slotted ALOHA protocol
- Pure ALOHA vs slotted ALOHA
- ALOHA throughput calculation
- Collision-free frame transmission
Pure ALOHA protocol procedure
2082 · 5 marks
Briefly explain ALOHA and Slotted ALOHA protocol with suitable diagram. [5]
2080.2 · 5 marks
A pure ALOHA network transmits 200-bit frames using a shared channel of bandwidth. Find throughput if system produces frames per second. Vulnerable time of pure ALOHA? [5]
Show solved answerHide answer
Pure ALOHA Throughput and Vulnerable Time
Given
- Frame size = 200 bits
- Channel bandwidth = not numerically given (question says "shared channel of bandwidth" with the number missing)
- Frame production rate = not numerically given (question says "produces frames per second" with the number missing)
Missing data note: The problem statement is incomplete. Two numeric values that are essential for a concrete throughput answer are absent:
- The channel bandwidth (e.g., "200 kbps").
- The frame generation rate (e.g., "1000 frames per second").
Without these, a specific numeric throughput cannot be computed. I will therefore:
- Answer the fully solvable part (vulnerable time) generally, and
- Present the throughput method, showing what would be computed once the missing numbers are supplied.
No values such as "200 bps" or "1000 frames/s" are assumed here, since the question does not supply them.
Solution
Frame Transmission Time
$$T_t = \frac{\text{Frame size}}{\text{Bandwidth}} = \frac{200 \text{ bits}}{B \text{ bps}}$$
This cannot be evaluated because $B$ is not given.
Vulnerable Time of Pure ALOHA (solvable in general)
In pure ALOHA a frame collides if another transmission starts within one frame time before or after the start of the frame. Hence:
$$\boxed{T_{vulnerable} = 2 \times T_t}$$
If, for example, $B = 200$ bps then $T_t = 1$ s and $T_{vulnerable} = 2$ s. This depends entirely on the (missing) bandwidth.
Throughput (method only, cannot evaluate numerically)
For pure ALOHA:
$$S = G , e^{-2G}$$
where the offered load is
$$G = (\text{frame rate}) \times T_t = \lambda \times \frac{200}{B}$$
Once $\lambda$ (frames/second) and $B$ (bps) are provided:
- Compute $T_t = 200/B$.
- Compute $G = \lambda \cdot T_t$.
- Compute $S = G e^{-2G}$.
Standard reference result: The maximum possible throughput of pure ALOHA occurs at $G = 0.5$:
$$S_{max} = 0.5 , e^{-1} = 0.5 \times 0.368 = 0.184 = 18.4%$$
This maximum is a property of the protocol and does not require the missing data.
Summary
| Quantity | Result |
|---|---|
| Frame transmission time $T_t$ | $200/B$ (needs bandwidth) |
| Vulnerable time | $2T_t$ |
| Throughput $S$ | $G e^{-2G}$ (needs $\lambda$ and $B$) |
| Maximum throughput | $18.4%$ (at $G=0.5$) |
Note on the missing data: The bandwidth and frame rate are needed before a single numeric throughput can be given. If the intended values were $B = 200$ bps and $\lambda = 1000$ frames/s, then $T_t = 1$ s, $G = 1000$, and $S = 1000 , e^{-2000} \approx 0$ (essentially zero, since the channel is enormously overloaded). Mixing $G=1000$ with the separate $G=0.5$ maximum would be internally inconsistent.
0 · 10 marks
Explain the procedure for pure ALOHA. Highlight the vulnerable time of pure ALOHA. A pure ALOHA network transmits 200-bit frames on a shared channel of 200 kbps. What is the requirement to make this frame collision-free?[10]
Pure ALOHA vs slotted ALOHA
2081 · 10 marks
Differentiate between pure ALOHA and slotted ALOHA.Explain any three network layer protocols.[4+6]
ALOHA throughput calculation
2079 · 5 marks
A ALOHA network transmits 200-h bit frames using a shared channel with 200-kbps bandwidth. Find the throughput if the system considering all stations together produces 250 frames per second. What do you mean by vulnerable time of slotted ALOHA? [5]
Make Unit 4 stick
Practice BIT254 with flashcards & quizzes