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
How to write test cases for "hotel reservatrion" for ms word? Thanks a lot!
What is component testing?
1. Buzz Words 1.1 Purpose Allow user easy access of content based on key/popular words 1.2 Scope All the tags at the portal. 1.3 User Interface - Tags are usually hyperlinks that lead to a collection of items that are associated with the tag. - Click takes you to page similar to Search Result page, should search all content and not only articles - Based on Most Viewed only 1.4 Interfacing/Sourcing Details - Need to develop an application which works on algorithm to calculate size/color of Buzz words. - In phase 1 algorithm will be pretty straight forward of calculating dimesion of Buzz words by going by ""Most Viewed/Visited"" words. Need to get exact algorithm.
test cases for friend finder system using gps?
can you tell me how to write test cases for payments, receipts, inward clearing, outward clearing, A/c statements ?
What is the domain testing?
What are the detailed test cases for Vacations Rental websites (Admin,Traveler,Rental owner)?
test cases for bus transport (TNSTC)
Write test cases to test a browser app
what is the technology used in financial applications?
They were asking sily questions and definitions rather than practical experience related questions. More focused on Definitions.
A wholesaler sells printer cartridges. The minimum order quantity is 5. There is a 20% discount for orders of 100 or more printer cartridges. You have been asked to prepare test cases using various values for the number of printer cartridges ordered. Which of the following groups contain three test inputs that would be generated using boundary value analysis?
What is the logic testing?
150 integration testing scenarios for gmail
What is business validation test case?