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?

Answers were Sorted based on User's Feedback



How many Test-Cases can be written for the calculator having 0-9 buttons,Add,Equalto buttons.The t..

Answer / 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

How many Test-Cases can be written for the calculator having 0-9 buttons,Add,Equalto buttons.The t..

Answer / priyanka

we can use equivalence class partition and write the test
cases for two conditions i.e.,valid and invalid case.
to check:
1)2+4= (valid)it will cover all the possible combinations
2)+4=(invalid combination)

Is This Answer Correct ?    2 Yes 1 No

How many Test-Cases can be written for the calculator having 0-9 buttons,Add,Equalto buttons.The t..

Answer / raghu

we can write 3 test caes...following are the test cases
--Check for the enabled property of buttons from
0,1,2,3,4,5,6,7,8,9 and Add , Equal to.
--Click on all thebuttons from 1 - 9 and check whether the
respective no's are displayed or not.
--Enter the valus as per the valid input the table,click on
ADD button and check whether the actual value is matching
ith the expected value.

s.no values Actual Expected
value Value
1 0+1 1
2 0=2 2
till 9

In the same way for all the values we can write table and
calculate the actual values.

Is This Answer Correct ?    2 Yes 2 No

How many Test-Cases can be written for the calculator having 0-9 buttons,Add,Equalto buttons.The t..

Answer / ram

infinite test case

Is This Answer Correct ?    2 Yes 7 No

Post New Answer

More Manual Testing Interview Questions

IF ASCII_CODE_OF_ENTERED_CHAR is less than 44 THEN reject it ELSE IF ASCII_CODE_OF_ENTERED_CHAR is greater than 56 THEN reject it ELSE it's a digit, so accept it Which one of the following sets of ASCII codes do you use to test the sample code above WITHOUT redundant coverage?

0 Answers   CA, Dish Network, Wipro,


If U have Test Cases already prepared and u have to just excute those test cases in a very short time then how will U decide which test cases has to be excuted first. Is there any technique ?

8 Answers   Impetus,


define:usecase?

4 Answers  


Hello, Currently we are doing manual testing for PHP& .NET Projects. We are planning to automate it.Kindly suggest which automation testing tool is appropriate for it. Thanks

3 Answers  


what is system testing and system integration testing? explian briefly?

6 Answers  


what is inter operative testing?

1 Answers   IBM,


What is a Latent Bug What is a defect leakage

5 Answers  


What steps are needed to develop and run software tests?

1 Answers   Crea,


Recently igot job,Please,help me,Can u explain the real time process of manual Testing from starting.Please don't mind.

4 Answers   Cambridge, Fortech,


who do sanity testing ? who do smoke testing ? plz give me correct answers.

11 Answers   Accenture, Danlaw,


what is test scenario and test condition?

0 Answers   Logica CMG,


While doing system testing your have missed out some issues. The same issue is found by customer and he reverts back to you for an explaination. How do you convince him or how do you justify yourself about your testing?

3 Answers   Broadridge, HP,


Categories