Question 1111445: A computer program consists of two blocks written independently by
two different programmers. The first block has an error with probability
0.2. The second block has an error with probability 0.3. If the program
returns an error, what is the probability that there is an error in both
blocks?
Answer by ikleyn(52778) (Show Source):
You can put this solution on YOUR website! .
I have many notices regarding this formulation, but the major question is THIS:
In order for the problem would be correctly posed as the "Probability" problem,
it must say with which probability the code returns ERROR.
In the current formulation, I could read it that this probability is 1, i.e. the code returns ERROR at each run.
In Probability problems, we do not consider the results of individual experiments - we consider statistics only . . .
But if it returns ERROR at each run, then the problem with this code lies in other/different area.
Thinking about it, I have another question: Is it a joke problem ?
And I suspect it is . . .
Excuse me if I am wrong: I am not an expert in Probability problems, having only elementary knowledge in it . . .
-------------
Also, I think that the CORRECTLY posed problem must ask totally different question, namely:
At what probability the code will return the ERROR message ?
|
|
|