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 static testing?
test cases for friend finder system using gps?
1.If there are so many test cases to be run suppose (100).How will we run those test cases.(using batch) 2. How will we perform over riding in QTP can any one please give me script. thanks
How to write email id in world wide web
hai im finished software testing course im technicaly strong but yet now no opportunities come to me.if any opportunities please send to my mail id my mail di is sumathi11685@gmail.com
how to write test cases for the example state name starts with A B C D E F G H I J K L Z
How to write test cases or test scripts for UAT testing which is done manually
How to write test case for this scenario. The First Name data entry field shall be removed from the existing Contact Information screen
How to write test cases for "open file dialog box" for ms word? Thanks a lot!
Write a test case on online shopping website? (please tell me the format how to write in MS excel,if u have any sample than attach it.)
Roads concatenation Problem
Consider we have some GIS (Geo Information System) operating
over some road network. Each road represented as array of
two-dimensional geographical points. Road network is a set
of roads.
System has function called Concatenate(). This function
takes raw road network and should return optimized road
network. Optimization lies in concatenating roads with
matching start or end points, i.e. if road AB end point
matches road BC start point, then optimized network should
contain concatenated road AC. Optimized network shouldn’t
contain two roads which can be concatenated.
Your task is to suggest set of test cases for Concatenate()
function in order to make sure it works correctly.
public interface IPoint
{
double Lat { get; }
double Lon { get; }
}
public Road : List
What are the detailed test cases for Vacations Rental websites (Admin,Traveler,Rental owner)?
What are all the companies are doing manual testing till now ?
Explain the concept of semi-random test cases?
They were asking sily questions and definitions rather than practical experience related questions. More focused on Definitions.