Two software security tools, Tool X and Tool Y, operate independently to scan code repositories for vulnerabilities. The probability that Tool X detects a specific type of security flaw is , and the probability that Tool Y detects the same flaw is . What is the probability that exactly one of the two tools detects the flaw?
Cevap: 0.35
Cevap
The probability that exactly one of the two tools detects the flaw is .
The scenario requires finding the probability that exactly one tool detects the flaw. For independent events and , 'exactly one' consists of two mutually exclusive events: (1) Tool X succeeds while Tool Y fails, which has probability , and (2) Tool Y succeeds while Tool X fails, which has probability . Summing these mutually exclusive probabilities gives . Alternatively, one can subtract the probability of both tools succeeding () from the probability of at least one tool succeeding (), yielding .
Adım Adım Çözüm
Anahtar Kavram
Independence and Mutual Exclusivity Rules in Compound Probability