S/W Quality Assurance Certification Question: Download S/W Quality Assurance PDF

Suppose If the pseudocode below were a programming language ,how many tests are required to achieve 100% statement coverage?
1.If x=3 then
2. Display_messageX;
3. If y=2 then
4. Display_messageY;
5. Else
6. Display_messageZ;
7.Else
8. Display_messageZ;
a. 1
b. 2
c. 3
d. 4

Tweet Share WhatsApp