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...

How many Test-Cases can be written for the calculator
having 0-9 buttons,Add,Equalto buttons.The testcases should
be focussed only on add-functionality but mot GUI.What are
those test-cases?

Answer Posted / rajendra prasad reddy penumall

Test-Cases for the calculator

so here we have 12 buttons total
ie 0,1,2,3,4,5,6,7,8,9,ADD,Equalto -12 buttons
here u can press atleat 4 buttons at a time minimum
for example
0+1=
for zero u should press 'zero' labled button
for plus u should press '+' labled button
for one u should press 'one' labled button
for equalto u should press 'equalto' labled button
0+1=
here + and = positions will not vary
so first number position can be varied from 0 to 9 i.e
from permutation and combinations u can fill that space in
10 ways
in the same way
second number position can be varied from 0 to 9 i.e
from permutation and combinations u can fill that space in
10 ways

Total number of possibilities are =10x10=100
This is exhaustive testing methodology and this is not
possible in all cases.
In mathematics we have one policy that the the function
satisfies the starting and ending values of a range
then it can satisfy for entire range of values from
starting to ending.

then we check the starting conditions i.e
one test case for '0+0='
(expected values you know thatis '0')
then another testcase for '9+9='
(expected values you know thatis '18')

only two testcases are enough to test the calculator
functionality.


if you still have any doubt feel free to mail me at :
rajendra_penumalli@yahoo.com
or call me:9885162742(hyd)

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the status have in QC(Test Management Tool). and how you report?

1949


Have you worked in UDAP (Credit Card act 2009) project?What did you test in Billing & Payment modules?

2202


can any one explain me briefly erp pharma project including all modules,like how to tell this project in interview in terms of s/w testing

2117


What are the bugs we cannot find in black box?

1197


Tell me the SRS based review,brs based review

2232


explain fish model in detail?

2191


Do you use any automation tool for smoke testing?

1274


Difference between Re-testing and Regression testing?

1245


If I want to check compability of software in a MAC OS then which steps shold I follow?

2096


Hi friends, currently i am working with banking domain project in the part of testing..what kind of questions will be ask at interviews.. can anybody listout the project oriented questions which are asked in interviews...

3922


test measurment techniques

2099


what is test case management?explain in brief.

2087


For any web application, what are the possible login features that should be tested?

1360


What is Test methodology, Testing type , Testing approach, Testing technique & Testing methods. Explain with example.

1965


what is scrum how with ex?

2119