write the test cases for a+b=c?

Answers were Sorted based on User's Feedback



write the test cases for a+b=c?..

Answer / sumathy

Test Description: Prove a+b=C

Test Steps: Enter any values for a and b. Add the values of
a and b and store in c.

Test Input: a= 12; b=13

Expected Result:
The value of c should be equal to 25.

Acutal Result:......(Fill it after the execution of Test
Case.

Status:....(Passed/Failed)

Is This Answer Correct ?    42 Yes 2 No

write the test cases for a+b=c?..

Answer / invisible man

check whether a+b=c?
* suppose a = 5, b = 10 then check whether c = 15.

Is This Answer Correct ?    24 Yes 4 No

write the test cases for a+b=c?..

Answer / tester

another test case could be using the negative numbers, such as:
a+b=C
Test Input: a=-3, b=-4

Expected Result: c=-7

Actual Result:....

Status: P/F

Note: the actual and expected results should be the same

Is This Answer Correct ?    17 Yes 0 No

write the test cases for a+b=c?..

Answer / jajula

take a, b values from vit(vlid input table), and write
test cases using that values and fill the expected values
coloumn values and check with actuals.

Is This Answer Correct ?    7 Yes 2 No

write the test cases for a+b=c?..

Answer / karthick

DESCRIPTION: Check whether a+b=c.
PROCEDURE: Step1: enter any value for a.
Step2: enter any value for b.
step3: a+b=c
TEST DATA: Suppose a=5 , b=5
EXPECTED RESULT: 5+5=10 ie:c=10
ACTUAL RESULT: ....... (leave the actual result column as
blank). when executing the testcase, expected and actual
results should be same.

STATUS: If E.R = A.R ( status is PASS)
If E.R is not equal to A.R (Status is FAIL)

Is This Answer Correct ?    5 Yes 0 No

write the test cases for a+b=c?..

Answer / srinivas

another test case could be use one negative number and
another positive number final the result is a+b=c

Declaration the variables a=10 and b=-5
Expected Result is 5

Actual Result is 5
Status is Pass

Is This Answer Correct ?    4 Yes 1 No

write the test cases for a+b=c?..

Answer / rakshan

1.test when a and b should be positive (>0)
2.test when a ,b and c must be integers

3.a-c = -b
4.a = c-b
5.test when a,b and c should be negative (<0)
6. a or b both should never be greater than c

Is This Answer Correct ?    3 Yes 1 No

write the test cases for a+b=c?..

Answer / ravi singh jaiswar

Test cases of a+b=C.
Let the Test data will be a = 2, b = 3 so according to the test data Expected result should be C = 5.
Actual Result = as per the test case.

1. a + b = C.
2. a = C - b.
3. b = C - a.
4. a + b - C = 0.
5. (a + b)/C = 1.
6. (C - b)/a = 1.
7. (C - a)/b = 1.
8. (a + b)² = C².
9. (a)² + (b)² = C² - 2ab.
10. (a + b)³ = C³.
11. (a)³ + (b)³ = C³ - 3ab(a + b).
12. {C³ - (a)³ + (b)³}/3ab = (a + b).
13. a - b ≠ C.
14. C + a ≠ b.
15. C + b ≠ a.

& counting...

Is This Answer Correct ?    2 Yes 0 No

write the test cases for a+b=c?..

Answer / karthika

1.Enter the a value (a!=b and zero)
2.Enter the b value(b!=a and zero)
3.then a+b=c
If a=7 ,b=3 then a+b=10
if a=4,b=-7 then a+b=-3
if a=-1,b=-4 then a+b=-5

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Test Cases Interview Questions

1.1 Purpose This tool is also a simple tool, but will be graphics- intensive, and will access the 3 databases (card databases) used in Tarot. 1.2 Scope Only for registered user. 1.3 User Interface - No questions asked, parrot pulls out tarot card - Inside Parrot application, User just have to click on a link saying ""XXXX"" to activate the tool. - Shown is the card of the day, from pack of Tarot cards(78 in number) with fixed graphics, animation, audio. Output: - Graphic-rich display of randomly selected card with detailed meaning, with links to tarot tool. - Graphics: Flying / walking parrot, emerging and choosing a card, displaying the same, and continuing to interact based on card meaning. - The cards also need to carry a brief 1/0 meaning, which will trigger a 1/0 behavior from the parrot (sympathy/making fun/crying or congratulating/smiling/winking)

0 Answers  


Write the test case for a login page?

0 Answers  


Explain the concurrency testing?

0 Answers  


What is Defect Seeding? What is Defect Density?

1 Answers  


test case for open doalog box. thanks a lot!

1 Answers  


Hai can anybody give me an idea about writing automated test cases in qtp using VB scprit.please respond as quicky as possible.

2 Answers  


write a test case for yahoo login page ? input data user:6 alpha numeric;password:10 letters....10 pstive test cases and 10 negative test cases?

5 Answers   CTS, iGate, Magic Software,


I have s/m which gives me square of numbers from 1 – 10000. How do u test it.

0 Answers   ACS,


How to write the test cases for STP

0 Answers  


What is gray box testing?

0 Answers  


Anyone can please inform me about how to write test cases for any mathematical calculations. Say for example, we have a formula in a given scenario for calculating the interest. The given formula for interest is: (principle * 5)/(12 * 100) In this case, the principle amount may vary. Would like to know how many test cases can be written for this scenario and how can we decide over this. I will be very thankful for the answer....

3 Answers  


IN MY APPLICATION SOME WINDOW IS THERE IT CONSISTS OF SOME 25 LABLES IN THOSE FOR THE ALREADY SELECTED ONE IT WILL SHOW THE BACKGROUND COLOR IS YELLOW WHILE CHECKING IT SHOULD CHECK THE ALL LABLES WHICH ONE IS HAVING YELLOW COLOUR backcolor=SwfWindow("ALTAIR").SwfWindow("Load Wafer").SwfLabel(" ").GetROProperty("backcolor") SUPPOSE LIKE DS IT WILL BE THERE THEN FOR THAT SwfLabel(" ") inside this how to specify is my doubt because i have to check all the 25 labels plz explain it how to specify that

0 Answers   Accenture, HCL,


Categories