Based on the following statements about a software system, determine how many of the listed conclusions MUST be true.
Statement 1: If a module is tested, then it is documented.
Statement 2: Some documented modules are reviewed.
Statement 3: No untested module is documented.
Conclusion I: Some tested modules are reviewed.
Conclusion II: All reviewed modules are documented.
Conclusion III: Some reviewed modules are tested.
C
Step-by-Step Solution
Key idea: This is a casework question on categorical and conditional statements, recognisable by the "how many MUST be true" format combined with conditional premises. The critical move is translating Statement 3 via its contrapositive to discover that two sets are actually equal.
Step 1: Translate each statement into set relations.
- Statement 1: Tested Documented.
- Statement 2: Documented Reviewed (at least one module is both documented and reviewed).
- Statement 3: "No untested module is documented" means if a module is not tested, then it is not documented. Symbolically: Tested Documented.
Step 2: Apply the contrapositive to Statement 3.
The contrapositive of Tested Documented is: Documented Tested.
This means Documented Tested.
Step 3: Combine with Statement 1.
We have Tested Documented (from S1) and Documented Tested (from S3 contrapositive).
Therefore: Tested Documented. These are exactly the same set.
Step 4: Evaluate each conclusion.
- Conclusion I: "Some tested modules are reviewed." Since Tested Documented, and Statement 2 says some documented modules are reviewed, it follows that some tested modules are reviewed. MUST be true.
- Conclusion II: "All reviewed modules are documented." Statement 2 only says some documented modules are reviewed. It does not say that every reviewed module is documented. There could be reviewed modules outside the documented set. NOT necessarily true.
- Conclusion III: "Some reviewed modules are tested." Since Tested Documented, and some documented modules are reviewed (S2), those same modules are both reviewed and tested. MUST be true.
Step 5: Count. Exactly 2 conclusions (I and III) must be true.
Common trap: Misreading Statement 3 as "No tested module is documented" (a sign error flipping "untested" to "tested"). This would make Tested Documented , which combined with S1 forces Tested , making both I and III false and yielding answer 0.
Answer: 2