Docsity

Homework 2 Solutions - Data Communications | CS 274, Assignments of Data Communication Systems and Computer Networks

Toggle sidebar
bg1
CS 274 Homework 2 Solutions
2.2. A noiseless channel can carry an arbitrarily large amount of information, no matter how often
it is sampled. Just send a lot of data per sample. For the 4 kHz channel, make 8000 samples/sec.
If each sample is 16 bits, the channel can send 128 kbps. If each sample is 1024 bits, the channel
can send 8.2 Mbps. The key word here is โ€˜โ€˜noiseless.โ€™โ€™ With a normal 4 kHz channel, the
Shannon limit would not allow this.
2.3. Using the Nyquist theorem, we can sample 12 million times/sec. Four-level signals provide 2
bits per sample, for a total data rate of 24 Mbps.
2.4. A signal-to-noise ratio of 20 dB means 10 log10 S/N = 20, so log10 S/N = 2, S/N = 102 = 100.
Since log2101 is about 6.658, the Shannon limit is about 19.975 kbps. The Nyquist limit is 6 kbps.
The bottleneck is therefore the Nyquist limit, giving a maximum channel capacity of 6 kbps.
2.5. To send a T1 signal we need Hlog2(1 + S /N) = 1.544 โ‹… 106 with H = 50,000.
This yields S /N = 230.88 โˆ’ 1, which is about 93 dB.
2.16. The number of area codes was 8 โ‹… 2 โ‹… 10, which is 160. The number of
prefixes was 8 โ‹… 8 โ‹… 10, or 640. Thus, the number of end offices was limited
to 102,400. This limit is not a problem.
2.18. Each telephone makes 4 calls every 8 hour workday at 6 minutes each. Thus, a telephone
occupies a circuit for 24 minutes per workday. Therefore total
8 hours / 24 minutes = 20 telephones can share a circuit, Since only long distance calls use the
trunk and 10% of the calls are long distance, it takes 20/ 10 % = 200 telephones to occupy a long-
distance circuit full time. The interoffice trunk
has 1,000,000/4000 = 250 circuits multiplexed onto it. With 200 telephones
per circuit, an end office can support 200 โ‹… 250 = 50,000 telephones

Partial preview of the text

Download Homework 2 Solutions - Data Communications | CS 274 and more Assignments Data Communication Systems and Computer Networks in PDF only on Docsity!

CS 274 Homework 2 Solutions

2.2. A noiseless channel can carry an arbitrarily large amount of information, no matter how often it is sampled. Just send a lot of data per sample. For the 4 kHz channel, make 8000 samples/sec. If each sample is 16 bits, the channel can send 128 kbps. If each sample is 1024 bits, the channel can send 8.2 Mbps. The key word here is โ€˜โ€˜noiseless.โ€™โ€™ With a normal 4 kHz channel, the Shannon limit would not allow this.

2.3. Using the Nyquist theorem, we can sample 12 million times/sec. Four-level signals provide 2 bits per sample, for a total data rate of 24 Mbps.

2.4. A signal-to-noise ratio of 20 dB means 10 log 10 S/N = 20, so log 10 S/N = 2, S/N = 10

Since log 2 101 is about 6.658, the Shannon limit is about 19.975 kbps. The Nyquist limit is 6 kbps. The bottleneck is therefore the Nyquist limit, giving a maximum channel capacity of 6 kbps.

2.5. To send a T1 signal we need H log 2 (1 + S /N ) = 1.544 โ‹… 10

with H = 50,.

This yields S /N = 2

โˆ’ 1, which is about 93 dB.

2.16. The number of area codes was 8 โ‹… 2 โ‹… 10, which is 160. The number of prefixes was 8 โ‹… 8 โ‹… 10, or 640. Thus, the number of end offices was limited to 102,400. This limit is not a problem.

2.18. Each telephone makes 4 calls every 8 hour workday at 6 minutes each. Thus, a telephone occupies a circuit for 24 minutes per workday. Therefore total 8 hours / 24 minutes = 20 telephones can share a circuit, Since only long distance calls use the trunk and 10% of the calls are long distance, it takes 20/ 10 % = 200 telephones to occupy a long- distance circuit full time. The interoffice trunk has 1,000,000/4000 = 250 circuits multiplexed onto it. With 200 telephones per circuit, an end office can support 200 โ‹… 250 = 50,000 telephones