Assignment No 2
Assignment No 2
Ans:16ns=8 bits
Bit rate= 8/16×10-9
= 0.5×10-9 =500Mbps
Exercise no 28: A non-periodic composite signal contains frequencies from 10 to
30 KHz. The peak amplitude is 10 V for the lowest and the highest signals and
is 30 V for the 20-KHz signal. Assuming that the amplitudes change gradually
from the minimum to the maximum, draw the frequency spectrum.
Ans: As it is clear mention that signal is non periodic, so the frequency domain is made
up of continuous spectrum.
Exercise no 33: 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: Transmission time= 𝐵𝑎𝑛𝑑𝑤𝑖𝑑𝑡ℎ
100,000
Transmission time= =20s
5000𝑏𝑝𝑠
Exercise no 34: The light of the sun takes approximately eight minutes to reach the
earth. What is the distance between the sun and the earth?
Exercise no 35:A signal has a wavelength of 1 μm in air. How far can the front
of the wave travel during 1000 periods?
Ans: Distance= wavelength × time duration
Distance = 1 × 1000 =1000 μm= 1mm
Exercise no 38:A file contains 2 million bytes. How long does it take to download
this file using a 56-Kbps channel? 1-Mbps channel?
Ans: No of Bits file contain =2,000,000 × 8 =16,000,000 b
At 56 Kbps Channel:
16,000,000𝑏
Time= =289 s
56000𝑏𝑝𝑠
At 1Mbps Channel:
16,000,000𝑏
Time= =16s
1×106 𝑏𝑝𝑠
The data rate is doubled (C2 =2*C1) .By doubling the bandwidth (2B), the capacity (i.e.
data rate) is doubled.Therefore, bandwidth is directly proportional to the number of bits
sent or to the rate.
❖ C= ≈ B log2 (2*SNR+)
❖ C=B log2 (2) + B log2 (SNR)
❖ C= B + C
Exercise no 44: We have a channel with 4 KHz bandwidth. If we want to send
data at 100 Kbps, what is the minimum SNRdB? What is SNR?
𝑆𝑁𝑅𝑑𝐵
Ans: Minimum SNRdB:Capacity= 𝐵𝑎𝑛𝑑𝑤𝑖𝑡ℎ × 3
3×𝐶 3×100,000𝑏𝑝𝑠
SNRdB= =
𝐵 4000𝐻𝑧
Minimum SNRdB=75
b. 100 Mbps?
Ans: Number of bits = bandwidth × delay = 100 Mbps × 2 ms = 200,000 bits
Exercise no 48: 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 light inside the link is 2 x 108 mls. The link has a bandwidth of 5 Mbps.
Which component of the total delay is dominant? Which one is negligible?
Ans: Latency = processing time + queuing time + transmission time + propagation time
❖ Processing time = 10 × 1 μs = 10 μs = 0.000010 s
❖ Queuing time = 10 × 2 μs = 20 μs = 0.000020 s
❖ Transmission time = 5,000,000 / (5 Mbps) = 1 s
❖ Propagation time = (2000 Km) / (2 × 108) = 0.01 s
❖ Latency = 0.000010 + 0.000020 + 1 + 0.01 = 1.01000030 s
Negligible:
The transmission time is dominant here because the packet size is huge.
Question no 2
Chapter no 4
Exercise no 15: Draw the graph of the NRZ-L scheme using each of the
following data streams, assuming that the last signa11evel has been positive.
From the graphs, guess the bandwidth for this scheme using the average
number of changes in the signal level.
(C) . 01010101
( d ). 00110011
Exercise no 18: Repeat Exercise 15 for the differential Manchester scheme.
(C) . 01010101
( d ). 00110011
Exercise no 21: Find the 8-bit data stream for each case depicted in Figure
4.36.
(b) Redundancy percentage= we send 2000 extra for 8000 required bits Because
in asynchronous transmission we sent 1 start bit at beginning and 1 or more stop bits at
the end or each byte
𝑒𝑥𝑡𝑟𝑎 𝑏𝑖𝑡𝑠 2000
so redundancy percentage = × 100 = × 100 = 25 %.
𝑟𝑒𝑞𝑢𝑖𝑟𝑒𝑑 𝑏𝑖𝑡𝑠 8000