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
Explain the component testing?
write test case for button of google page?"i am feeling lucky" if button is not appear on page?
How to write test case for this scenario. The system shall compare the requested name with the Service Member Name field in the database
Do you know mutation testing?
What is the difference between test scenarios, test cases, and test script?
What are all the companies are doing manual testing till now ?
What are the different check points for SIT and UAT while testing an Internet Banking application. Consider any one functionality of Internet Banking
How to write test cases or test scripts for UAT testing which is done manually
How to write test case for this scenario. If the Zip Code field is populated, the system shall compare the zip code value entered to the zip code value in the Family Individual Information Tab
Please can any one tel how to write the test cases for these Requirements:- 1.The applications sends the periodic data 2.The applications sends the alarm data 3.The Application stores the Periodic data and alarm data if it is unable to send 4.the application having the configure through GPRS or SMS
Explain the ramp testing?
Explain the load testing?
How to generate test cases for 'replace a string' method?
can you tell me how to write test cases for payments, receipts, inward clearing, outward clearing, A/c statements ?
Test Case for Text Editor!