Network and Data Communications · Unit 2
Data Transmission and Encoding
Exam-focused notes for Data Transmission and Encoding (Network and Data Communications, BIT254): what the TU syllabus asks and how it has actually been tested, with 11 solved past questions from this unit.
Data Transmission and Encoding in short
Data must be converted into signals before it travels over a link. This chapter covers line coding, modulation, the things that damage signals, and the formulas for data rate and capacity.
What this unit covers
- Digital signal encoding NRZ-L
- Digital signal encoding NRZ-I
- Manchester encoding
- Differential Manchester encoding
- Binary Amplitude Shift Keying
- Binary Phase Shift Keying
- Attenuation distortion and noise
- Shannon capacity calculation
- Bandwidth and bit rate
Shannon capacity calculation
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]
Show solved answerHide answer
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.
2080.2 · 5 marks
Write short notes on a.) Shannon Capacity Write short notes on b.) Connectionless service [2.5+2.5]
Digital signal encoding NRZ-L
2082 · 5 marks
Encode the bit stream 111001011 with: (i) Manchester (ii) NRZ-I and (iii) NRZ-L scheme. [5]
2081 · 5 marks
Represent bit sequence 1100100111 by the following waveform: (a) NRZ-L (b) NRZ-I (c) Differential Manchester. [5]
2080 · 5 marks
Represent bit sequence 100111001 by the following wave forms: NRZ-L, NRZ-I [5]
Attenuation distortion and noise
2082 · 5 marks
What are the major differences between noise, distortion and attenuation? [5]
Show solved answerHide answer
Differences Between Noise, Distortion, and Attenuation
Definitions and Key Differences
| Feature | Noise | Distortion | Attenuation |
|---|---|---|---|
| Definition | Unwanted random signals added to the original signal during transmission | Change in the shape/form of the signal due to different propagation speeds of signal components | Gradual loss of signal strength/energy as it travels through a medium |
| Cause | External interference (thermal, electromagnetic, crosstalk) | Different frequency components arriving at different times | Resistance of the transmission medium |
| Effect on Signal | Adds foreign/random components to the signal | Alters the waveform shape | Reduces the amplitude/power of the signal |
| Nature | Additive and random | Deterministic (related to medium properties) | Predictable and progressive |
| Reversibility | Difficult to reverse | Partially correctable with equalizers | Can be corrected using amplifiers or repeaters |
| Example | Static/hiss on a telephone line | Signal spreading in a coaxial cable | Signal weakening over long fiber optic cable |
Brief Explanations
1. Noise
- Noise is any unwanted energy that gets mixed with the transmitted signal.
- It is random and unpredictable.
- Types include: thermal noise, impulse noise, crosstalk, and intermodulation noise.
- It degrades the signal-to-noise ratio (SNR).
2. Distortion
- Distortion occurs when the shape of the signal changes during transmission.
- It is common in composite signals where each frequency component travels at a different speed.
- The signal arrives with components out of phase, altering the original waveform.
- It is a deterministic problem related to medium characteristics.
3. Attenuation
- Attenuation is the loss of signal energy as the signal propagates through a medium.
- It increases with distance and frequency.
- Measured in decibels (dB).
- It can be compensated by using amplifiers (analog) or repeaters (digital).
Summary
Noise adds unwanted signals, distortion changes the signal shape, and attenuation reduces the signal strength. All three are major impairments in data communication but differ in their cause, nature, and remedy.
2080 · 10 marks
Differentiate between noise and attenuation. A pure ALOHA network transmits 200 bit frames using a shared channel with a 50 kbps bandwidth. What is the requirement to make this frame collision free?[10]
2079 · 5 marks
What are the major differences between noise, distortion and attenuation? [5]
Show solved answerHide answer
Differences Between Noise, Distortion, and Attenuation
Definitions and Key Differences
| Feature | Noise | Distortion | Attenuation |
|---|---|---|---|
| Definition | Unwanted random signals added to the original signal during transmission | Alteration in the shape/form of the signal due to different propagation speeds of signal components | Reduction in the strength (amplitude/power) of the signal as it travels through a medium |
| Cause | External interference (thermal, electromagnetic, crosstalk, impulse sources) | Different frequency components of a signal traveling at different speeds through the medium | Energy loss due to resistance, absorption, or scattering in the transmission medium |
| Effect on Signal | Adds unwanted random components to the signal | Changes the shape/waveform of the signal | Weakens the signal without necessarily changing its shape |
| Nature | Additive -- foreign energy is added to the signal | Morphological -- the signal form is deformed | Multiplicative/Loss -- signal energy is reduced |
| Frequency Dependency | Generally affects all frequencies (especially impulse noise) | Strongly frequency-dependent (different frequencies affected differently) | Increases with distance and frequency |
| Solution/Remedy | Shielding, filtering, error correction codes | Equalization techniques, careful medium selection | Amplifiers, repeaters, signal boosters |
| Example | Static/hiss heard on a telephone line | Echo or blurring of a digital pulse over long cables | Faint signal received far from a transmitter |
Brief Explanations
1. Attenuation
- Attenuation means the loss of signal energy as the signal propagates through the medium.
- The signal becomes weaker with increasing distance.
- It is measured in decibels (dB).
- Example: A signal sent over a long copper wire arrives with much lower amplitude.
2. Distortion
- Distortion means the signal changes its shape.
- In a composite signal, each frequency component travels at a slightly different speed, causing them to arrive at different times, thus distorting the overall waveform.
- It is common in wired media carrying composite signals.
3. Noise
- Noise is any unwanted signal that mixes with the original signal.
- Types include: thermal noise, induced noise, crosstalk, and impulse noise.
- It is the most unpredictable of the three impairments.
- Measured using the Signal-to-Noise Ratio (SNR).
Summary
All three -- attenuation, distortion, and noise -- are types of transmission impairments that degrade signal quality, but they differ in cause, nature, and effect: attenuation reduces signal strength, distortion alters signal shape, and noise adds unwanted random signals.
Binary Amplitude Shift Keying
2079 · 10 marks
Explain the concept of Binary Amplitude Shift Keying. Represent bit sequence 11001010 by the following waveform a.) Manchester b.) Differential Manchester[10]
Binary Phase Shift Keying
2080.2 · 10 marks
Explain the concept of Binary Phase Shift Keying. Represent bit sequence 111000110 by the following waveform a.) NRZ-I, b) Differential Manchester[10]
Make Unit 2 stick
Practice BIT254 with flashcards & quizzes