write the test cases for a+b=c?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a test case for telephone?

686


I need GUI test case for home page?

3211


how to test stand alone programs?

2083


Why is it that the boundary value analysis provides good test cases?

772


Could anyone please let me know what are the test cases for a rule based system? WE have a module on RBS which relates the data gathered to a set of rules and uses them to verify if the details are correct. Also we have a data acquisition module which collects the configuration details of a node entering a cluster using the CPUID. Can you please suggest test cases for these two modules, please?

2085






Hi Team, I have two scenarios ,only one step alone deference betweeen them and preconditions of Test scenarios are defferent . In the above sutuation , are we going divide test cases into two or can we club into them into a single. Regards seshu

1778


What is transaction testing?

730


can anybody help me how to write a test case for a program eg: c or C++ ,and also how to check their outputs

2083


They were asking sily questions and definitions rather than practical experience related questions. More focused on Definitions.

1509


Explain the domain testing?

668


Explain which test cases are written first black boxes or white boxes?

664


What are the Test Cases Comes under Regression Suite?

502


If for any software product, if the customers more often us few functions, and rarely use few othere functionality. what a tester can expect more deffects can be found, in what area, where the functionality frequently used OR where rarly used?

1730


How to write test cases for manual testing? What are the main syntex for writing test cases for Junit?

2486


Explain the dynamic testing?

697