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

can any one explain the performance testing in detail plz

1 Answers  


what are things to be tested in job portal websites?

4 Answers   SoftLogic,


How do u go about testing of web application?

0 Answers   Trignos,


what are the general difficulties which u will be facing while doing web based testing and desktop based testing.

1 Answers   First American Corporation,


Give proper Seq. to following testing Types Regression, Retesting, Funtional, Sanity and Performance Testing.? and which phase of STLC comes?

1 Answers  






What are the stages in the Test Development Life Cycle?

6 Answers  


What is mean by Open Source tools?

1 Answers  


First Name & Last Name fields are there in the application form, In Application First name & last name fields accepts the numerical value 453455 & special characters $%#$% . My question is that --> I think No need to write test cases for Numerical value & special char. for First & Last name fields BECAUSE No one will enter such a input data at client side b'coz it's not practical. Let's me know the answer.

3 Answers  


14.What is function point breakdown?

0 Answers   Hewitt,


If the Time is cut shorted, how can you manage that?

6 Answers  


ive been looking for a junior tester job for quite some time now, but most company keep requisting for experienced staffs, but if i dont start from somewhere how do i get the experience

0 Answers  


Can anybody tell me that in real time how cookies testing is actually done.(kindly specify the steps). its very urgent

0 Answers  


Categories