wirte the test cases for triangle
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What is difference between JVM (Java Virtual Machine) and CLR (Common language Runtime) ?
7 Answers AZTEC, Impetus, Symantec, Veritas,
What will u do first when u are asked to start testing ?
4 Answers Scope International,
1)can u tell me, what is the roles and responsibles for database tester in DB testing from requirement stage to UAT stage....2) what are the i/p documents he wants and who wil give the i/p docs. to DB tester.and tell me what exactly db test case means what?
Today an interviewer asked me if severity assigned by tester and priority is by developer then why tester assigned priority of defect in defect report ??
What is defect leaking and defect release
some major negative test cases to break the sign up page having username password, email, url address field and some check box selection options ?
what is Difference between Test Cases and Test Plan ? Give some Example Both of them
Which Tests the whole system rather than software? a.)Blackbox testing b.)Whitebox testing c.)Stress testing d.)Mutual testing
Differentiate Test strategy and Test case?
i have 2 year experience in manual testing, if i am attending any interview what kind of question i will get?
6 Answers HDFC, IBM, TCS, Tech Mahindra, Value Labs,
in transfer funds module, how you come to know that amount has been transferred successfully or not....explain in detail
If the user finds deviation from the requirement is it called Fault, Error, Defect or Failure