If the pseudo code 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
Post New Answer View All Answers
how to write testcase for the output of an program ****0 ***01 **012 *0123 01234
If there are 3 modules what would be test for that three modules but that 3 modules are not developed or what are the test case for that 3 modules
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.
Positive and Negative test cases for the speedometer?(minimum 5 each)
If I have to write the test cases for any report & there is date box.then may I have to write only select date or have to write all steps required for selecting date
Explain the gray box testing?
what is the test plan for ms-word
In any Hyderabd institute you can find these word commomly used by faculties ... Yes or no / Right or wrong so funny...
Write Test cases for the below scenario? scenario 1: Replace the current CSS software with TML software. Scenario 2: Provide the same reports for business as currently provided by CSS software. Not: CSS and TML are customized software.
Sample test cases for data conversion(Utility billing system)
Explain the concept of semi-random test cases?
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 is the toughest moment you faced in your testing carrier in which everyone praised you?
Explain the syntax testing?
What is transaction testing?