BIT254 · 2082 · 10 marks
What are the services provided by Data Link Layer?A channel has a bandwidth of 5 MHz and a signal-to-noise ratio of 1000. Calculate the Shannon Capacity.[6+4]
What are the services provided by Data Link Layer?A channel has a bandwidth of 5 MHz and a signal-to-noise ratio of 1000. Calculate the Shannon Capacity.[6+4]
Data Link Layer Services & Shannon Capacity
Part A: Services Provided by Data Link Layer [6 Marks]
The Data Link Layer (Layer 2 of the OSI model) provides reliable transit of data across a physical link. Its main services are:
1. Framing
The bit stream received from the Network Layer is divided into manageable units called frames. A header and trailer are added to mark the start and end of each frame.
2. Physical (MAC) Addressing
A header containing the MAC addresses of the sender and receiver is added, enabling frame delivery between devices on the same network.
3. Flow Control
When the sender transmits faster than the receiver can absorb, the layer applies a flow-control mechanism to prevent receiver buffer overflow.
4. Error Control
Mechanisms to detect and retransmit damaged or lost frames are provided, along with prevention of duplicate frames. Techniques include CRC, parity, and checksums.
5. Access Control
On a shared medium, protocols decide which device controls the link at a given moment, avoiding collisions (e.g., CSMA/CD, Token passing).
6. Reliable (Node-to-Node) Delivery
Uses acknowledgements (ACK) and retransmission schemes such as ARQ to ensure error-free node-to-node delivery.
Part B: Shannon Capacity Calculation [4 Marks]
Given data
| Parameter | Value |
|---|---|
| Bandwidth $B$ | $5\ \text{MHz} = 5 \times 10^6\ \text{Hz}$ |
| Signal-to-Noise Ratio (SNR) | $1000$ |
Formula
$$C = B \times \log_2(1 + \text{SNR})$$
Step 1: Substitute
$$C = 5 \times 10^6 \times \log_2(1 + 1000) = 5 \times 10^6 \times \log_2(1001)$$
Step 2: Evaluate the logarithm
$$\log_2(1001) = \frac{\log_{10}(1001)}{\log_{10}(2)} = \frac{3.00043}{0.30103} \approx 9.9672$$
Step 3: Compute capacity
$$C = 5 \times 10^6 \times 9.9672 \approx 49.836 \times 10^6\ \text{bps}$$
$$\boxed{C \approx 49.84\ \text{Mbps} \approx 50\ \text{Mbps}}$$
Interpretation
This is the theoretical maximum data rate of the channel. No transmission scheme, regardless of the number of signal levels, can exceed this limit.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.