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

Do we have to execute all the test cases while doing sanity testing and regression testing??(manual testing)

2 Answers  


Tracability matrix? what are test metrics?what is the use? scope of testplan? Estimation? Test stratagy? Entry ,Exit ,Suspention,Resumption criteria? Diff b/w web server and appli server? diff b/w web app and client server app? diff b/w brs,srs? what is Sla time? Exp defect life cycle? types of defects? how do u decide project is 100% bug free? How u send defect reports? Testing Environments? testbed? what is differed testing? what is differed defects? what r the base documents are recovered for test case design? what r the base documents are recovered for test case execution?

3 Answers   RDM, Wipro,


what types of bugs will we find out in banking projects

0 Answers   TCS,


what is the use case ? what is the use of the use case ?

5 Answers   Kanbay,


what is a broken link in web testing and how test it.

2 Answers   Crea,


How to do hardware compatabilty or configuration testing manually

2 Answers   TCS,


contents of test plan

12 Answers   CTS,


What is the difference between application & Product?

3 Answers  


What is the difference between Regression testing vs. Smoke testing?

2 Answers   Keane India Ltd, Optimize IT Systems,


suppose the product/appication has to deliver to client at 5.00PM,At that time you or your team member caught a high severity defect at 3PM.(Remember defect is high severity) But the the client is cannot wait for long time.You should deliver the product at 5.00Pm exactly.then what is the procedure you follow?

6 Answers   DVH, Verizon,


Define each of the following and explain how each relates to the other: Unit, System, and Integration testing.

1 Answers  


How will you go with testing process if only project requirements document is given to you

4 Answers  


Categories