write a test case for triangle?

Answers were Sorted based on User's Feedback



write a test case for triangle?..

Answer / durga

1. Check if there are 3 sides
2. Check for the angles and their sum[should be 180degrees]
3. Check if the triangle is equilateral or isosceles or
scalene
4. Check if the sides are coinciding or not
5. Check if the triangle is right-angled isosceles, there
is a right angle or not.
6. Check if a triangle is right-angled isosceles whether
the Pythogaras law is observed.
7. Check if the triangle is acute or obtuse or right-angles
8. Check if the triangle is isosceles, the opposite angles
are equal or not.
9. Check if the triangle is equilateral, all the angles are
equal or not[i.e., 60degrees]
10. Check if the axioms SAS,SSS are followed.
11. Check if the user is able to draw the 3 circles
[interior,exterior,circumcirlce]

Is This Answer Correct ?    27 Yes 0 No

write a test case for triangle?..

Answer / kyle

Why not:

1) should have 3 lines
2) no one lines length can be greater than or equal to the
sum of the other two
3) the endpoints of the 3 lines should be connected

Is This Answer Correct ?    11 Yes 2 No

write a test case for triangle?..

Answer / deepak

The most important criteria to be checked is:
>equilateral if all three sides are of equal length,
>isosceles if any two sides are of equal length,
>scalene if no two sides are the same length.
Based on these we can derive the test cases

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Test Cases Interview Questions

if we ve data 100 how we can check and create equvalnces an bva .if we ve data 1-5,6-10so on wat will we bva how we will chk

5 Answers   Nexus Technologies,


Roads concatenation Problem Consider we have some GIS (Geo Information System) operating over some road network. Each road represented as array of two-dimensional geographical points. Road network is a set of roads. System has function called Concatenate(). This function takes raw road network and should return optimized road network. Optimization lies in concatenating roads with matching start or end points, i.e. if road AB end point matches road BC start point, then optimized network should contain concatenated road AC. Optimized network shouldn’t contain two roads which can be concatenated. Your task is to suggest set of test cases for Concatenate() function in order to make sure it works correctly. public interface IPoint { double Lat { get; } double Lon { get; } } public Road : List<IPoint> { } public RoadNetwork : List<Road> { } public RoadNetwork Concatenate(RoadNetwork roads);

0 Answers   Infosys,


HOW TO WRITE TEST CASES FOR MEGHA MENU DROP DOWN BOX.

0 Answers  


how to write test cases for the example state name starts with A B C D E F G H I J K L Z

0 Answers  


If I wrote test cases for Login Window with test case Name Login window & test case id L_01.Now if Name of Login window get changed in the next version.then May I have to change the Test case name & Test case id OR HAVE TO block the previous test case and write the new one

0 Answers  






Describe to me the difference between validation and verification.

11 Answers  


Suppose that you're running tests on windows calculator and find that 1+1=3, 2+2=4, 3+3=7, 4+4=8, 5+5=11, 6+6=12. write a bug title and bug description that effectively describes this problem.

4 Answers   Manhattan,


How to write test case for this scenario. The data entry field for city shall be removed from the screen

1 Answers   SpinSci,


write a test case for triangle?

3 Answers   HCL,


Suppose a job should be executed for every two hours? Write test case for this?

0 Answers  


write a test case for employee income caculation it is awindows aplication when window is opened all options should be disabled except empno when user enter 3 charcters empname,empdes,basic should be displayed but they should be inactive,HRA,DA are active enter these two gross is displayed,enter tax then net income is displayed.all inputs must be integers and min is 1 and max is 4 charcters for all text boxes.gross =basic+HRA+DA and netincome= gross- tax

1 Answers  


How to write test cases for Web related sites(ex: shopping carts sites)

1 Answers  


Categories