CPEG572Data and Computer Communications
ASSIGNMENT#2
NAME: MOHAMMED ABDUL AHAD YAHIYA
STUDENT ID: 1016601
Ch3:
Q.1
What is the bit rate for each of the following signals?
a. A signal in which 1 bit lasts 0.001 s
Bit rate=
Ans:
1
bit duration
1
0.001
1000 bps=1kbps
b. A signal in which 1 bit lasts 2 ms
Ans:
Bit rate=
1
bit duration
1
1
1
=
=
2 ms 2 103 0.002
500 bps=0.5 kbps
c. A signal in which 10 bits last 20 s
Ans: Given 10 bits last for 20s
For 1 bit
1 bit=
20 s
=2 s
10
1
1
1
=
=
2 s 2 106 0.000002
500000 bps=500 kbps
Q.2
A device is sending out data at the rate of 1000 bps.
a. How long does it take to send out 10 bits?
Ans:
For 10 bits=
10
s=0.01 s
1000
b. How long does it take to send out a single character of (8 bits)?
Ans:
For 8 bits=
8
s=0.008 s
1000
c. How long does it take to send a file of 100,000 characters?
Ans: We know that 1 character takes 8 bits
100,000 characters=100000 8=800000 bits
800000
s=800 s
1000
Q.3
A TV channel has a bandwidth of 6 MHz if we send a digital signal using
one channel, what are the data rates if we use one harmonic, three
harmonics, and five harmonics?
Ans: For the 1st harmonic
If we use the 2nd harmonic
If we use the 5th harmonic
data rate = 2 6 =12mbps
data rate =
2 6
=4 mbps
3
data rate =
2 6
5
= 2.4 Mbps = 2.4 mbps
Q.4
If the bandwidth of the channel is 5 Kbps, how long does it take to send
a frame of 100,000 bits out of this device?
Ans: Given
Bandwidth = 5Kbps & 100000 bits
Time=
bits
100000
=
s=20 s
bandwidth
5000
Q.5
What is the theoretical capacity of a channel in each of the following
cases?
a. Bandwidth: 20 KHz SNR
dB
= 40
b. Bandwidth: 200 KHz SNR
dB
c. Bandwidth: 1 MHz SNR
= 20
dB
Capacity=Bandwidth
Ans:
=4
SNRdb
3
40
=20 KHz 13.33=266.66 Kbps
3
A:
20 KHz
B:
4
200 KHz =200 KHz 1.33=266.66 Kbps
3
C:
1 MHz
20
=1 MHz 6.66=6.66 Mbps =6660 Kbps
3
Q.6
What is the total delay (latency) for a frame of size 5 million bits that is
being sent on a link with 10 routers each having a queuing time of 2 s
and a processing time of 1 s. The length of the link is 2000 Km. The
speed of lightinside the link is 2 108 m/s. The link has a bandwidth of
5 Mbps. Which component of the total delay is dominant? Which one is
negligible?
Ans:
Queuing Time = 10 2 us = 20s
Processing Time = 10 1s = 10 s
Transmission Time =
frame
bandwidth
5000000
=1 s
5 106
distance 2000 103
Propagation Time = distance/ speed = speed = 2 108 =0.01 s
3
As we know that
Latency = Processing Time + Queuing Time + Transmission Time + Propagation Time
Latency = 10 s + 10 s + 1 s + 0.01 s = 1.010 s
Q.7 A periodic composite signal with a bandwidth of 2000 Hz is
composed of two sine waves. The first one has a frequency of 100 Hz
with maximum amplitude of 20 V; the second one has maximum
amplitude of 5 V. Draw thebandwidth.
Ans:
Q.8
A signal travels from point A to point B. At point A, the signal power
is100 W. At point B, the power is 90 W. What is the attenuation in
decibels?
Ans:
90
100
The attenuation in dB = =0.457 dB
10 log 10