For the following piece of code, how many test cases are needed to get 100% statement coverage?
Procedure X
Read (Color) // Input color from user
IF (Color == “Red”) THEN
Call Roses(Color)
ELSEIF (Color == “Blue”) THEN
Call Violets(Color)
ELSE
PRINT “User is no Shakespeare”
SaveToDatabase(Color)
End Procedure X
A. 5
B. 3
C. 1
D. 2
Post New Answer View All Answers
write a test case for yahoo compose page?
I need GUI test case for home page?
Credit card field contains four text boxes. We can validate each textbox separately with conditions but how can we write integrated testcase for all the four?
Explain the state testing?
How to write test case for this scenario. The Contact Information screen shall be displayed to the user during Case Update
In a log in page what will be test procedure, test scenario, test description & test steps?
Explain the soak testing?
Write a test case for telephone?
Explain the ramp testing?
How to test Webservices and how can we write test cases for that
can any body help me with providing a a case for usability testing...
Write test cases for 8+4?
Write a test case of login window?
Explain the exactly meaning of test case?
Explain the branch coverage testing?