Sheet 1 Solution
Sheet 1 Solution
2. No. of devices = 5.
No. of guard bands required between them is 4.
Hence total bandwidth = (4000 x 5) + (200 x 4) = 20.8 KHz.
3. Telephone link loss = 20 dB, Input signal power = 0.9 watt ,Output
noise power =10 uwatt .
a) Output SNR(dB) =10*log10 ( Output signal power/output noise power)
Since
Line loss (dB)=10*Log(Input signal power/Output signal power)=20 dB
It follows
Input signal power/Output signal power =10^2
& Output signal power=0.9 wa /10^2 = 9 mwa
Hence, Output SNR (dB) = 10*log( (9*10^-3)/(10*10^-6))= 29.54 dB
1
b) Capacity of phone line is computed from:
Capacity = B*Log2 (1+SNR)
where: B =2500 KHz
SNR(ratio)= 9 mwa /10 uwatt =900
Hence, Capacity = 2500*10^3*Log2 (1+900) = 24.538 Mbit/sec
c) Length of phone line is computed as follows:
Phone line attenuation rate = 6 dB/Km
Input signal power =0.9 wa
Minimum output signal power =0.005 watt
Hence,
Max allowable line attenuation = 10*Log(input signal /output signal)
= 10*Log(0.9/0.005)=22.55 dB
Max allowable line length (Max attenuation / attenuation rate)
22.55 /6 =.758 Km
tr1= tr2= tr3= tr4 = tr; tp1= tp2= tp3= tp4 = tp =2ms
Total Delay=t setup + tr(Data) +t release
Total Delay=1+ +1=(2+ )sec
3
a) Packet Switching with acknowledgment with packet size =1Kbits=
1000bits (payload)+ 24bits(header)
5
c) Virtual-circuit packet-switching
tr'1=tr'2=tr'3=tr'4 , t p1=tp2=tp3=tp4
Time needed to deliver the file= tsetup+ tr (of all data packets) + trelaease
= 1+ 0.256*10-3* [ ]+1 = 2+0.256*10-3* [ ]sec
6
d) message switching
tr1=tr2=tr3=tr4=tr; tp1=tp2=tp3=tp4=tp
Time needed to deliver file
= propagation time on the four links + transmission time at source+
transmission time at three intermediate nodes
6
= 4* tp +4*tr(message) = 4*2ms + 4*K/(4*10 )
= (8+ 10-3 K )ms
f)
ADC Packetization
packet
The maximum time elapses if the bit falls at the beginning of a new
packet. We must first wait for the entire packet to be generated, for the
packet to be transmitted over the 4 Mbps link, and for propagation delay
on four links:
7
Time delay= Packetization time + Time to transfer one packet
= +4*tr+4*tp = +4* +4*2*10 =0.014009 sec
One may suggest that Host B reproduces the first bit as soon as the first
bit of the first packet arrives (without waiting for the entire packet to
arrive). In practice, it is more logical to wait for the full packet to arrive
(to be able to check it for errors, among other things) then decode it again.