08s Cpe633 Test1 Solution
08s Cpe633 Test1 Solution
08s Cpe633 Test1 Solution
C
A
F
D
(a) The paths in this system are AE, ACF, ADF, and BF.
Rsystem 1 (1 R pathi )
e 6t 4e 5t 6e 4t 2e 3t 2e 2t
=
+
+
+
+
4
3
2
6
5
4
3
2 1
1
= [0 0 + 0 0 0]
+
6 5 2 3
1 4
3
2 1 5 + 24 45 + 20 + 30
24
4
=
+
+
+ =
=
=
6 5 2 3
30
30 5
2. (20 points) Consider the processor/memory configuration shown below. List the conditions under
which it will fail,and compare them to a straightforward TMR configuration in which each unit
consists of a processor and a memory. Denote by Rp, Rm , and Rv, the reliability of a processor, a
memory, and a voter, respectively, and write expressions for the reliability of the two TMR
configurations.
R2 _ of _ 3 =
i=2
( )R (t )(1 R(t ))
i
3
i
3i
( )R
3
2
(t ) (1 R (t )) 3 2 +
( )R
3
3
(t )(1 R (t )) 33
3! 3
3! 2
R (t )(1 R (t )) +
R (t ) = 3 R 2 (t )(1 R (t )) + R 3 (t ) = 2 R 3 (t ) + 3 R 2 (t )
3!0!
2!1!
][
With each unit having a processor and memory and having one voter.
3. (15 points) Derive all codewords for the separable 6-bit cyclic code based on the generating
polynomial X3 + X2 + 1.
1
1101 001000
1101
101
11
1101 010000
1101
1010
1101
111
10
1101 011000
1101
010
110
1101 101000
1101
1110
1101
110
100
1101 110000
1101
100
11
1101 111000
1101
1100
1101
001
1110
1101 1000000
1101
1010
1101
1110
1101
010
4. (20 points) A communication channel has a probability of 10-4 that a bit transmitted is erroneous. The
data rate is 6000 bits per second (bps). Data packets contain 148 information bits, a 16-bit CRC for
error detection, and 0, 8, or 16 bits for error correction coding (ECC). Assume that if 8 ECC bits are
added all single bit errors can be corrected, and if 16 ECC bits are added all double bit errors can be
corrected.
(a) Find the throughput in information bits per second of a scheme consisting of error detection with
retransmission of bad packets (i.e., no error correction).
(b) Find the throughput if 8 ECC check bits are used, so that single bit errors can be corrected.
Uncorrectable packets must be retransmitted.
(c) Finally find the throughput if 16 ECC check bits are appended, so that two bit errors can be
corrected. As in (b), uncorrectable packets must be retransmitted. Would you recommend
increasing the number of ECC check bits from 8 to 16?
(a) Each packet contains 164 bits. If any error occurs, it is detected (assuming that the CRC always
works) and the packet is discarded. The probability that a packet has no errors is
(164!/(164!0!))(1 - 10-4)164 = 0.9837. The data rate of the code is 148/164 = 0.9024. Thus, the
throughput in bits per second is 0.9837 *0.9024 * 6000 = 5326
(b) With the addition of 8 ECC check bits, each packet contains 172 bits. The probability that a
packet has at most one error is (172!(172!0!))(1 - 10-4)172 + (172!/(171!1!)) * 10-4(1 - 10-4)171 =
0.9994. The rate of the code is now 148/172 = 0.8430. Thus, the throughput with single bit error
correction is 0.9994 * 0.843 * 6000 = 5055.
(c) The second ECC byte increases the packet size to 180. The probability that a packet of 180 bits
has no more than two errors is (180!(180!0!))(1 - 10-4)180 + (180!/(179!1!))(10-4(1 - 10-4)179 +
(180!(178!2!))(10-4)2(1 - 10-4)178 = 0.. The code rate is now 148/180 = 0.8222, so the throughput
is 0.9999 * 0.8222 * 6000 = 4933. Increasing the error correction capability in this case resulted
in a reduction in the throughput, so no.
5. (15 points) Consider two computers A and B. (a) Assuming an exponential distribution, what is the
probability that at least one will survive 10,000 hours if their failure rate is 1 failure per million
hours? (b) What is the probability that both will survive 10,000 hours? (c) What is the probability that
A will survive 15,000 hours if it survived 5,000 hours?
(a) P{T A > 10,000 TB > 10,000} = 1 P{T A < 10,000 TB < 10,000}
(10000 )
e 2*10
(10000 )
= 0.9999
(b) P{T A > 10,000 TB > 10,000} = P{T A > 10,000}P{T A > 10,000}
6
R A (15000)
e 10
( 5000 )
e 10
e 10
(15000 )
( 5000 )
= 0.9048