write the testcases for a triangle ABC. given length of 3
sides of a possible triangle, check whether 3 sides do
indeed form a triangle or not if they do then state whether
the triangle is scalene, isoceles or equilateral.
Note that the sum of any two sides of a triangle should be
greater than third side.
A+B>C
B+C>A
A+C>B.
need urgently. thank u... by priya
Answers were Sorted based on User's Feedback
Answer / ishak
write the testcases for a triangle ABC. given length of 3
sides of a possible triangle, check whether 3 sides do
indeed form a triangle or not if they do then state whether
the triangle is scalene, isoceles or equilateral.
Note that the sum of any two sides of a triangle should be
greater than third side
A+B>C
B+C>A
A+C>B.
| Is This Answer Correct ? | 22 Yes | 6 No |
Answer / puja
Step1:
Check They are tringle or not
The sum of any two sides of a triangle should be
greater than third side
A+B>C
B+C>A
A+C>B.
Step II:
Check for Scalene:-
A not equal to B not equal to C
Check for isoceles:-
A=B or B=C or A=C
Check for Equilateral
A=B=C.
Thanks
| Is This Answer Correct ? | 17 Yes | 4 No |
Answer / pepsi123
the test casse for traingle could be written with the help
of assigning 3 values to 3 sides of the triangle.Possible
test cases for triangle are:
Input condition Output
10,10,10 Equilateral
10,5,4 scalene
10,10,5 Isosceles
0,10,5 invalid
0,0,0 invalid
-7,10,10 invalid
10,5,7,10 invalid
10,2,3 invalid(sum should be greater)
10,5,_(blank) invalid
| Is This Answer Correct ? | 14 Yes | 7 No |
Answer / sheetal
write the test cases for c=a+b and the sum is not greater
than 10,
need urgently. thank u... by sheetal
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / rashmi garg
to test if 3 sides form a triangle, test cases are:
1. three edges a, b and c are not in the same line
2. None of the three sides AB, BC or CA is of zero length
| Is This Answer Correct ? | 4 Yes | 10 No |
Analyze the following highly simplified procedure: Ask: "What type of ticket do you require, single or return?" IF the customer wants ‘return’ Ask: "What rate, Standard or Cheap-day?" IF the customer replies ‘Cheap-day’ Say: "That will be £11:20" ELSE Say: "That will be £19:50" ENDIF ELSE Say: "That will be £9:75" ENDIF Now decide the minimum number of tests that are needed to ensure that all the questions have been asked, all combinations have occurred and all replies given. A. 3 B. 4 C. 5 D. 6
pls i want test cases for oss? whts the process of oss testing
Explain the glass box testing?
What is the role of QA in a development project?
hi, please anyone write test case for "Print" screen
Explain the state testing?
IN MY APPLICATION SOME WINDOW IS THERE IT CONSISTS OF SOME 25 LABLES IN THOSE FOR THE ALREADY SELECTED ONE IT WILL SHOW THE BACKGROUND COLOR IS YELLOW WHILE CHECKING IT SHOULD CHECK THE ALL LABLES WHICH ONE IS HAVING YELLOW COLOUR backcolor=SwfWindow("ALTAIR").SwfWindow("Load Wafer").SwfLabel(" ").GetROProperty("backcolor") SUPPOSE LIKE DS IT WILL BE THERE THEN FOR THAT SwfLabel(" ") inside this how to specify is my doubt because i have to check all the 25 labels plz explain it how to specify that
how to write test case for GUI testing and tell me in brief about GUI and all related WEB based testing..if possible then pls give example of its test case...m new in testing........thannx for help in advance
How would you do " Keeping two folders in sync testing"
0 Answers ABC, HCL, Microsoft,
i need sample case of Login window of USER NAM, PASSWORD It is very urgnt
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?
Explain the sanity testing?