∑GateAndNet
Practice MCQs
UGC NET CS / Unit 9: Data Communication & Computer Networks
Edit
INTERMEDIATE🔥 High-Yield Exam Topic 4 min read 4 views

Nyquist vs Shannon Capacity & RSA Public-Key Cryptography Numericals

Noiseless vs noisy AWGN bit-rate limits, dB-to-linear SNR conversion, and Euler totient modular exponentiation in RSA.

Worked RSA Numerical (Classic UGC NET & GATE Pattern)

Let p=3,  q=11p = 3, \; q = 11, public exponent e=7e = 7, and message M=5M = 5:

  1. n=3×11=33n = 3 \times 11 = 33
  2. ϕ(n)=(3−1)(11−1)=20\phi(n) = (3 - 1)(11 - 1) = 20
  3. Private key dd: 7⋅d≡1(mod20)  ⟹  7×3=21≡1(mod20)  ⟹  d=37 \cdot d \equiv 1 \pmod{20} \implies 7 \times 3 = 21 \equiv 1 \pmod{20} \implies \mathbf{d = 3}!
  4. Encrypt M=5M = 5: C=57 mod 33=(53)2⋅5 mod 33=(125 mod 33)2⋅5 mod 33=(−7)2⋅5 mod 33=49⋅5 mod 33=16⋅5 mod 33=80 mod 33=14C = 5^7 \bmod 33 = (5^3)^2 \cdot 5 \bmod 33 = (125 \bmod 33)^2 \cdot 5 \bmod 33 = (-7)^2 \cdot 5 \bmod 33 = 49 \cdot 5 \bmod 33 = 16 \cdot 5 \bmod 33 = 80 \bmod 33 = \mathbf{14}.
📐 Quick Revision Formula Sheet
Nyquist (Noiseless) & Shannon (Noisy AWGN) Limits
CNyquist=2Blog⁡2L bps,CShannon=Blog⁡2(1+SNR) bpsC_{\text{Nyquist}} = 2B \log_2 L \text{ bps}, \qquad C_{\text{Shannon}} = B \log_2(1 + \text{SNR}) \text{ bps}
💡 Note: SNR_dB = 10 log_10(SNR_linear) => SNR_linear = 10^(SNR_dB / 10)
RSA Key Generation & Encryption
n=p⋅q,ϕ(n)=(p−1)(q−1),e⋅d≡1(modϕ(n))n = p \cdot q,\quad \phi(n) = (p-1)(q-1),\quad e \cdot d \equiv 1 \pmod{\phi(n)}
💡 Ciphertext C = M^e mod n; Plaintext M = C^d mod n
#UGC NET CS#GATE CS#Cryptography#RSA#Networks

🎯 Practice PYQs on This Topic (1)

Q1.UGC NET CS June 2024MCQMEDIUM
+2 Marks • No Negative

A noisy communication channel has bandwidth B=3 kHzB = 3\text{ kHz} and Signal-to-Noise Ratio of 30 dB30\text{ dB} (approximating 1+1000≈1024=2101 + 1000 \approx 1024 = 2^{10}). According to Shannon’s Theorem, what is the maximum channel capacity?

Previous TopicSDLC Agile/Spiral Models, Function Point Analysis (FPA) & Black/White-Box TestingNext Topic AI Search: A* Admissibility, Heuristics & Alpha-Beta Minimax Pruning