Software-Reliability

Question 1

The following table shoes the time between failures for a software system



The reliability of the system for one hour of operation assuming an exponential model is

A
0.45
B
0.63
C
0.84
D
0.95
Question 1 Explanation: 
MIBF = ∑(Start of downtime - Start of uptime)/No. of failures
MIBF = (6+4+8+5+6)/5 = 29/5
The probability or reliability that the product will work for a defined period of time without failure is given by
R(T) = exp(-T/MTBF); T = 1 hour
R(1) = e(-1/(29/5)) = e(-5/29) = 0.84
Question 2
In a particular program, it is found that 1% of the code accounts for 50% of the execution time. To code a program in C++, it takes 100 man-days. Coding in assembly language is 10 times harder than coding in C++ but runs 5 times faster. Converting an existing C++ program into an assembly language program is 4 times faster.
To completely write the program in C++ and rewrite the 1% code in assembly language, if a project team needs 13 days, the team consists
A
13 programmers
B
10 programmers
C
8 programmers
D
100/13 programmers
Question 2 Explanation: 
Question 3
A program p calls two subprograms P1 and P2. P1 can fail 50% time and P2 can fail 40% times. The program P can fail
A
50%
B
10%
C
60%
D
70%
Question 3 Explanation: 
Program P fails when either P1 fails or P2 fails, i.e., ​ failure of P1 + failure of P2​ .
But this will also contain the case when both P1 and P2 fails at the same time, i.e., ​ failure of P1 ∩ failure of P2​ , since this case will be already be counted on (​ P1+P2​ ).
Therefore, our final answer will be ​ failure of P1 + failure of P2 - (failure of P1 ∩ failure of P2)
There are 3 questions to complete.

Access quiz wise question and answers by becoming as a solutions adda PRO SUBSCRIBER with Ad-Free content

Register Now

If you have registered and made your payment please contact solutionsadda.in@gmail.com to get access