CNT 4007
Fall 2016
Dr. Bahman Motlagh
Data and Computer Communication
Andrew. Ibrahim
1. System A consists of a single ring with 100 stations, one per repeater. System B
consists of four 25 stations rings linked by a bridge. If the probability of a link failure
P,
P,
is 1 a repeater failure is r and a bridge failure is Pb, derive an expression for parts
(a) to (e). 50 points
a) Probability of failure of system A.
b) Probability of complete failure of system B.
c) Probability that a particular station will find the network unavailable, for
systems A and B.
d) Probability that any two stations selected at random will be unable to
communicate for systems A and B.
e) Compare values of parts (a) to (d) for
P1= Pb = Pr = 10 -2.
a. Probability of failure of System a (PA) is the probability that either a link or a station in the
system A fails. PA = 1 P(A).
Probability that all links and repeaters work correctly is: [1-Pr] ^100 * [1 P l] ^100.
Result: PA = 1 ([1 Pr] ^100) * ([1 Pl] ^100)
b. System B fails completely when all the 4 rings fail. From above equation, Probability of one ring
failing in system B is: PB = 1 ([1 Pr] ) x ([1 Pl] )
Thus the probability of a complete system failure
= (PB) ^ 4
1 ([1 Pr] ^25) * ([1 Pl] ^25)
c. In system A, if the network fails, a particular station will find the network unavailable.
P(A station finds network unavailable) =
1 ([1 Pr]^100) * ([1 Pl ]^100)
A particular station in system B will find the network unavailable if its local ring
fails. Thus P(B station finds network unavailable) = 1 ([1 Pr]^25) * ([1 Pl ]^25)
E represents the event that the two stations are unable to communicate.
L represents the event that the stations are local.
R represents the event that the stations are remote.
e.
2. We send a frame of 256 bits. If the probability that a bit changes in transmission is
0.001 and each bit is independent. 30 points
a. What is the probability that exactly 6 bits change?
b. What is the probability of no bits changing?
P= c (256, 6) P x (1-P) 25
0
= 5.74
25
x (1-0.001)
0.999
= 2.87 x 10
6
0
256
256
= Probability of no bit changing:
0
25
P= c (256,0) P x (1-P)
= 0.77
1x1x0.999
C(256,0) taken as 1.
3. If a Signal with a power level of 40 mW is inserted onto a transmission line and the
measured power some distance away is 10 mW, calculate the loss of signal strength is
decibels. 20 points
Power loss in dB = 10 x log(10) = -6.0206 dB (-ve sign means loss).
40
in
= 10 log ( P
DB
out
P
P = 40mW (given)
in
= 10mW (given)
out