Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
22 views4 pages

Cs601 Assignment Solution

assignment solution of cs601

Uploaded by

duakanwal4162
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views4 pages

Cs601 Assignment Solution

assignment solution of cs601

Uploaded by

duakanwal4162
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Cs601

Data Communication
BC 230409942
Kanwal Shehzadi

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)
C is the maximum achievable data in bits per second.
B is the bandwidth of the channel in hertz (Hz)
SNR is the signal to noise ratio, which is a unitless ration.

Given Data:
Bandwidth B = 6Hz = 6000Hz
Signal to noise ration SNR = 30 db

Step 1:
Convert the SNR from db to unitless ration
SNR = 10 (SNR/10)
SNR = 10 (30/10) = 103 = 1000

Step 2:
Apply the Shannon-Hartley Theorem
C= 6000.log2 (1+1000)
Step 3:
Calculate log2 (1+1000)
Log2 (x) = log10 (x) / log10 (2)

Log2 (1001) = log10 (10001) / log10 (2)


Log10 (1001) ≈ 3.0004 and log10 (2) ≈ 0.3010
Log10 (1001) ≈3.0004/0.2010 = 9.966
Step 4:
Calculate C
C=6000*9.966 ≈59796 bps
The maximum achievable data 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:
To calculate the total number of links required to connect n nodes in a
full mesh topology, we can use the formula:
Number of links = n(n-1)/2
Where:
L is the number of links
N is the total number of nodes (gateways) to be connected.

Given Data:
Total number of gateways n = 6
Apply the formula
L = 6(6-1)/2
L = 6*5/2
L = 30/2
L = 15
The number of links required to connect 6 gateways in a mesh topology
is:
L = 15

You might also like