write the testcases for a triangle ABC. given length of 3
sides of a possible triangle, check whether 3 sides do
indeed form a triangle or not if they do then state whether
the triangle is scalene, isoceles or equilateral.
Note that the sum of any two sides of a triangle should be
greater than third side.

A+B>C
B+C>A
A+C>B.

need urgently. thank u... by priya

Answers were Sorted based on User's Feedback



write the testcases for a triangle ABC. given length of 3 sides of a possible triangle, check whet..

Answer / ishak

write the testcases for a triangle ABC. given length of 3
sides of a possible triangle, check whether 3 sides do
indeed form a triangle or not if they do then state whether
the triangle is scalene, isoceles or equilateral.
Note that the sum of any two sides of a triangle should be
greater than third side
A+B>C
B+C>A
A+C>B.

Is This Answer Correct ?    22 Yes 6 No

write the testcases for a triangle ABC. given length of 3 sides of a possible triangle, check whet..

Answer / puja

Step1:

Check They are tringle or not

The sum of any two sides of a triangle should be
greater than third side
A+B>C
B+C>A
A+C>B.

Step II:

Check for Scalene:-

A not equal to B not equal to C

Check for isoceles:-

A=B or B=C or A=C

Check for Equilateral

A=B=C.

Thanks

Is This Answer Correct ?    17 Yes 4 No

write the testcases for a triangle ABC. given length of 3 sides of a possible triangle, check whet..

Answer / pepsi123

the test casse for traingle could be written with the help
of assigning 3 values to 3 sides of the triangle.Possible
test cases for triangle are:

Input condition Output

10,10,10 Equilateral
10,5,4 scalene
10,10,5 Isosceles
0,10,5 invalid
0,0,0 invalid
-7,10,10 invalid
10,5,7,10 invalid
10,2,3 invalid(sum should be greater)
10,5,_(blank) invalid

Is This Answer Correct ?    14 Yes 7 No

write the testcases for a triangle ABC. given length of 3 sides of a possible triangle, check whet..

Answer / sheetal

write the test cases for c=a+b and the sum is not greater
than 10,


need urgently. thank u... by sheetal

Is This Answer Correct ?    2 Yes 2 No

write the testcases for a triangle ABC. given length of 3 sides of a possible triangle, check whet..

Answer / venki

2,3,4
2+3>4
3+4>2
2+4>3

:)

Is This Answer Correct ?    2 Yes 2 No

write the testcases for a triangle ABC. given length of 3 sides of a possible triangle, check whet..

Answer / rashmi garg

to test if 3 sides form a triangle, test cases are:
1. three edges a, b and c are not in the same line
2. None of the three sides AB, BC or CA is of zero length

Is This Answer Correct ?    4 Yes 10 No

Post New Answer

More Test Cases Interview Questions

Is there any formula to find the number of test cases needed

4 Answers   Satyam,


Test case for flight reservation system

1 Answers  


Tell me number of test cases required for full statement and branch coverage: Read P Read Q IF P+Q > 100 THEN Print “Large” ENDIF If P > 50 THEN Print “P Large” ENDIF

2 Answers   Siemens,


How to write test case for this scenario. The system shall allow the user to select an option to sort the results by the city of the family contact

1 Answers  


What are the processes / steps invovled in Defect Prevention meeting?

1 Answers  






Disc = 0 Order-qty = 0 Read Order-qty If Order-qty >=20 then Disc = 0.05 If Order-qty >=100 then Disc =0.1 End if End if A. Statement coverage is 4 B. Statement coverage is 1 C. Statement coverage is 3 D. Statement Coverage is 2

1 Answers   ISTQB,


who will prepare enhacement report?mail me at gavaskarreddy149@gmail.com

1 Answers   Ordain Solutions,


how to write testcases for yahoo messagner

1 Answers   IBM,


test case for coffee machine?

16 Answers   TCS,


How to write test cases on for Logging management?

4 Answers   ABC, TCS,


2.6.3 User Interface Different Polls could be present at different channels, pages within channels, and at home page. User interface for Poll will be as described below: - Beneath poll current result(running status) to be shown in graphical form(say progressing bar chart) all the time, in same window as poll. - Link ""All Polls >>"" to take user to Polls home page which will have all the active polls with results underneath. - All the polls not older than one month will come under Active polls category. - User can take Active open polls, but cannot react to Active closed polls. Can only view results of active closed polls. - No Interactives available for polls - "Add a comment", "Rate" - Registered User can take a poll only once, after that only result is shown to user. To unregistered user it will be open. 2.6.4 Interfacing/Sourcing Details - Polls is going to be a separate module, an internal application, which editor/admin can publish. - Admin/Editor should be able to publish polls on separate channels, pages. Assign closure dates. - Admin/Editor can upload images, change look n feel, add a brand, link/url to it. - System to capture user details(screen name/name, id, email id), do loyalilty points calculation and add to user loyality points. 2.6.5 Rules and Conditions Unless assigned a closure date, by default all Polls will be open for 30 days. this is the SRS how to write the test cases for the above functionalities help me

1 Answers   GE,


Explain the functional testing?

0 Answers  


Categories