Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How to do manual testing of a E-insurance project (end to end process)

0 Answers   abc.com, Xchanging,


What is the best way to answer, what is test scenario, strategy and test plan

1 Answers   Microsoft,


There are 20 resources out of which 12 are manual testers, 5 automation testers and 3 performance testers. There are a bunch of projects to be tested in the organisation, the projects belong to various technologies, say 20% of projects in Java, 20% of projects in SAP, 30% of projects in .NET, 30% of projects in C# What is your approach as Test Manager in testing.

0 Answers  


when there is minimal or no document available to carry out the testing for a login screen, what will you do?

3 Answers  


WHAt is diff between test plan and test planning?

5 Answers  


hi this is divya. i have 2+ yrs exp in manual testing. I worked at bangalore. Now i shifted to chennai. If any openings for manual testing please call me 9245392708.thanks

3 Answers  


If a bug is not reproduced what will be the next action of the tester?

6 Answers  


What is Adhoc testing?

10 Answers   4Cplus, Mind Tree,


what reesponsibility of system administrator?

1 Answers   Religare,


Process in ur company??? Y only V?? y not waterfall and spiral??? tell me advantages and disadvantages??

3 Answers   Philips,


How to test the Online Games?? Suggest tricks. I have experience in server-client application testing.

0 Answers  


If there is a field called "Amount" which takes 4 digit number & 2 decimal points what will be the test data for this.

3 Answers   Emptoris,


Categories