CS601 Data Communication
Assignment 1 Fall 2024
STUDENT ID : BC230408896
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.
ANSWER:
The Shannon-Hartley theorem formula:
C = Blog2 (1+ SNR)
Given values:
Bandwidth B = 6 kHz
= 6 X 1000 Hz = 6000Hz
Signal-to-noise ratio SNR = 30 dB
= 10(30/10)= 1000
Substitute values into the formula:
C = 6000 log 2 (1+1000)
C = 6000 log 2 (1001)
C≈6000x9.96578
=59795.68 bps ≈ 59.8 kbps data rate ≈59.8 kbps
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.
ANSWER:
Use the formula for a mesh topology:
n(n−1)
L=
2
Number of gateways n = 6
Substitute n into the formula:
6(6−1)
L=
2
6(5) 30
L= 2
¿
2 =15
Number of links in mesh topology: 15 links