Skip to content

ISRO Scientist/Engineer CSE 2018Information Systems and Software Engineering › Software Testing and Complexity Metrics

ISRO Scientist/Engineer CSE 2018 PYQ: In unit testing of a module, it is found that for a set of test data, at the maximum 90% of the code alone…

In unit testing of a module, it is found that for a set of test data, at the maximum 90% of the code alone were tested with the probability of success 0.9. The reliability of module is

  1. A
    Greater than 0.9
  2. B
    Equal to 0.9
  3. C
    At most 0.81
    Correct answer
  4. D
    At least 0.81

Answer

(C) At most $0.81$

Approach

Reliability of a module depends on both how much of the code was actually exercised during testing and how likely each tested portion is to succeed. Here at most 90% of the code was tested, each with success probability 0.9, so the reliability is bounded by the product 0.9 × 0.9 = 0.81.

Reviewed by ISRO IQ Editorial Team.