NivaarExam PrepOfficial exam papers ↗

25-Comp-B5 Computer Communications · May 2015

Question 2 of 7: Channel Capacity — Nyquist and Shannon

Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)

Notes on this paper

98-Comp-B5, Computer Communications — National Exams, May 2015. Closed-book, 3 hours; seven questions of equal value (20% each); ANY FIVE constitute a complete exam (all seven answered below as a complete study resource).

Reference texts: Stallings, Data and Computer Communications, 10th ed. — sampling and aliasing (Ch.5, Q1), channel capacity/Shannon-Hartley (Ch.3, Q2), PCM and uniform quantization (Ch.5, Q3), Manchester/Differential Manchester line coding (Ch.5, Q4), LAN/network topologies (Ch.16, Q5), spread spectrum (Ch.9, Q6), and physical/link/network-layer terminology (Ch.3, 6, 9, 16, 17, Q7); Kurose & Ross, Computer Networking: A Top-Down Approach, 8th ed. — application-layer protocols and transport-layer terminology (Ch.1–3, Q7).

Question 2: Channel Capacity — Nyquist and Shannon (20 marks)

Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.

Given.

QuantityValue
Bandwidth $B$5.6 kHz
SignallingBinary (2 levels)
Signal-to-noise ratio30 dB

Find. (1) The noise-free maximum data rate; (2) the maximum data rate with the stated SNR.

Approach. Use the Nyquist noise-free capacity formula for a binary (2-level) signal, then the Shannon–Hartley theorem for the noisy channel.

  1. Noise-free capacity (Nyquist). For $M=2$ signal levels (binary), $C = 2B\log_2 M$: $$C_{\text{Nyquist}} = 2(5600)\log_2(2) = \boxed{11{,}200\text{ bps} = 11.2\text{ kbps}}$$
  2. Convert the SNR from dB to a ratio. $$\text{SNR (dB)} = 10\log_{10}(\text{SNR}) \;\Rightarrow\; \text{SNR} = 10^{30/10} = 10^{3} = 1000$$
  3. Noisy capacity (Shannon–Hartley). $$C_{\text{Shannon}} = B\log_2(1+\text{SNR}) = 5600 \times \log_2(1001) = 5600 \times 9.9672$$ $$C_{\text{Shannon}} = \boxed{55{,}816\text{ bps} \approx 55.82\text{ kbps}}$$ Since $C_{\text{Shannon}} < 2C_{\text{Nyquist}}$ here would require $M=\lceil 2^{C/2B}\rceil$ signal levels far beyond binary, this Shannon limit represents the theoretical ceiling reachable only with sufficiently many signal levels/advanced coding, not the binary-signalling result of Step 1.
CaseMaximum data rate
(1) Noise-free, binary11,200 bps (11.2 kbps)
(2) With SNR = 30 dB≈ 55,816 bps (55.82 kbps)