Unit 1 Numericals
Unit 1 Numericals
Computer Networks
( NCS-603 )
Numericals on
Frequency, Period & Phase
The period of a signal is 100 ms. What is its frequency in
kilohertz?
Solution
First we change 100 ms to seconds, and then we
calculate the frequency from the period (1 Hz = 10−3
kHz).
A sine wave is offset 1/6 cycle with respect to time 0.
What is its phase in degrees and radians?
Solution
We know that 1 complete cycle is 360°. Therefore, 1/6
cycle is
Numericals on
Bit Rate & Baud Rate
Noiseless Channel: Nyquist Bit Rate
Noisy Channel: Shannon Capacity
Signal element versus data element
4.7
Baud Rate: The baud rate or signaling rate is defined as the
number of distinct symbols transmitted per second, irrespective
of the form of encoding.
For baseband digital transmission m = 2. So, the maximum baud
rate = 1/Element width (in Seconds) = 2B
Bit Rate:
The bit rate or information rate I is the actual equivalent
number of bits transmitted per second.
here, N is the bit rate and r is the number of data elements carried by
each signal element. Here r must be as great as possible for better
efficiency.
Solution
The bit rate can be calculated as
Nyquist Theorem
The maximum rate at which data can be correctly
communicated over a channel in presence of noise and
distortion is known as its channel capacity.
C = 2 B log2m
C= capacity in bps
B = bandwidth in Hz
Consider the same noiseless channel transmitting a signal
with four signal levels (for each level, we send 2 bits). The
maximum bit rate can be calculated as
Assuming there is no noise in a medium of B = 4KHz,
determine channel capacity for the encoding level 4.
Solution
We can use the Nyquist formula as shown:
C = B log2(1 + SNR)
This means that the highest bit rate for a telephone line is 34.860
kbps. If we want to send data faster than this, we can either
increase the bandwidth of the line or improve the signal-to-noise
ratio.
Important Observation
Solution
We can use the Nyquist formula as shown:
This means that the highest bit rate for a telephone line is 34.860
kbps. If we want to send data faster than this, we can either
increase the bandwidth of the line or improve the signal-to-noise
ratio.
Measure the performance of a telephone line
(4KHz of bandwidth). When the signal is 10 V, the
noise is 5 mV. What is the maximum data rate
supported by this telephone line?
Solution
C = 4,000 X log2 (1 + 10 / 0.005) = 43,866 bps
Solution
We can calculate the throughput as
Ans:
Attenuation in dB is –
Solution
We can calculate the power in the signal as
The loss in a cable is usually defined in decibels per
kilometer (dB/km). If the signal at the beginning of a
cable with −0.3 dB/km has a power of 2 mW, what is the
power of the signal at 5 km?
Solution
The loss in the cable in decibels is 5 × (−0.3) = −1.5 dB.
We can calculate the power as
Numericals on
Delay Analysis
What are the propagation time and the transmission
time for a 2.5-kbyte message (an e-mail) if the
bandwidth of the network is 1 Gbps? Assume that the
distance between the sender and the receiver is 12,000
km and that light travels at 2.4 × 108 m/s.
Solution
Note that in this case, because the message is short and the bandwidth is high,
the dominant factor is the propagation time, not the transmission time. The
transmission time can be ignored.
What are the propagation time and the transmission
time for a 5-Mbyte message (an image) if the
bandwidth of the network is 1 Mbps? Assume that the
distance between the sender and the receiver is 12,000
km and that light travels at 2.4 × 108 m/s.
Solution
Note that in this case, because the message is very long and the bandwidth is
not very high, the dominant factor is the transmission time, not the
propagation time. The propagation time can be ignored.
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 × 108 m/s. The link has a bandwidth of 5 Mbps.
Which component of the total delay is dominant? Which one
is negligible?
Propagation time
= distance / propagation speed = 2000 Km / 2 x 108 m/s = 10 ms
Transmission time
= Message size / Bandwidth = 5 x 106 bits/ 5 Mbps = 1 s
Unipolar
Bipolar
NRZ
Bipolar
RZ
Manchester
Unipolar scheme
NRZ-L and NRZ-I schemes
Polar RZ scheme
Manchester and differential Manchester schemes
4.48
Another Example :
THANKS