wirte the test cases for triangle

Answers were Sorted based on User's Feedback



wirte the test cases for triangle..

Answer / vikas

Assume that the prg takes inputs as 3 sides of triangle :

1. Enter 0 0 0 : Error : no triangle can be made
2. Enter -1 -1 -1 Error : no triangle can be made -ve values
3. Enter 1 0 x : Error : no triangle can be made . only
numbers and no alhpabets
4. Do not enter any values : Prompt to enter valid values
5. Enter 0.000000000000001 , 1000000000000,1000000000000 :
Triangle should be made (Boundary value)

6. And the most tricky
Enter 1 2 4 : Triangle can not be made . Summation of 2
sides should always greater than third value . 1+2<4 . So
triangle can not be made
7. 2 2 2 : Equilateral triangle
8. 1 2 2 : Isoscelous triangle
9. Test with very small values , very large values and
combinations of both .

Is This Answer Correct ?    68 Yes 7 No

wirte the test cases for triangle..

Answer / ravi

Some more possibilities r there,
like sides u can also write TC for the angles

Is This Answer Correct ?    8 Yes 3 No

wirte the test cases for triangle..

Answer / minni


First check whether it is triangle or not by "any two sides
sum should be greater than third side"
check if 3 sides are equal
check if a NE to b NE to C
check if any two sides are equal

Is This Answer Correct ?    8 Yes 10 No

Post New Answer

More Manual Testing Interview Questions

what is meant by package testing?

1 Answers  


What command is used to launch a application in winrunner?

1 Answers   IBM,


What are the different test levels

6 Answers   IBM, Riphah International University,


What is a Recovery Testing

10 Answers   Cisco,


I have 2 years of exp. in testing and looking for a change if any body knows, about any vacancy in testing then plz contact me on deepti_ac@yahoo.co.in

8 Answers   Wipro,






What is bug priority?

0 Answers  


What is Concurrency Testing?

1 Answers   PanTerra,


hi friends , h r u all off uu ,,what is -ve , +ve test cases,what is differnce between both pls tell thanks advanceeeee

8 Answers   Netsoft,


How do you determine wat to be tested?

1 Answers  


Generally How do we do Test Estimation. Anybody can expalin this with example. Thanks in advacne..Venkat

4 Answers   IBS,


i have faced this question in one interview.kindly let me know if u know the ans . the ques is the tester have been found 20 bugs in the requirement .after dev. has been fixed 20 bugs again tester retest the bugs he found again 12 bugs dev .fixed 12 bugs keep on its going ..finally its comes zero defects now how will u checking the application stability ..

5 Answers   TCS,


how you get build from developer? pl answer it?wht is build ?

4 Answers   Infotech,


Categories