CS601: Data Communication
Assignment No. 01
Name =Abdul Hanan
ID =BC220423128
Question No. 1
Suppose we want to send a binary signal through a 6 KHz channel having signal-to-noise ratio is 30 dB.
What will be the maximum achievable data rate? Provide your answer with complete calculations and
proper unit.
Solution:
C=B-log2(1+SNR)
Given Data:
Bandwidth B = 6kHz=6000Hz
Sinal to nose ratio SNR =30dB
Step #1: Convert the SNR from dB
SNR= 10(SNR/10)
SNR=10(SNR/10) =103=1000
Step # 2: Apply the Shannon-Hartley Theorem
C=6000 . log 2 (1+1000)
Step # 3: Calculate log 2 (1+1000)
log 2 (x)=log 10 (x)/ log 10 (2)
log 2 (1001)=log 10 (1001)/ log 10 (2)
log 2 (1001)=3.004 and log 10 (2)=0.3010
log 2 (1001)=3.004/0.3010=9.966
Step #4: Calculate C
C =6000 x 9.966= 59796 bps
The maximum data rate is approximately C=59.8kbps
Question No. 2
In a university campus, total 6 gateways of several computer LABs are connected with each other using
mesh topology. In each LAB, star topology is used to connect different devices with a central switch.
How many links have been used to connect these gateways with each other? Provide your answer by
mentioning the formula and all necessary calculation steps.
Solution:
Formula L=n(n-1)/2
Given Data:
Number of gateway is n=6
Apply the formula:
L-6(6-1)/2
L=6 x 5/2
L=30/2
L=15
The number of link required to connect the 6 gateway in mesh technology is :L=15