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
Architectural structure of the insurance project?
how to test the case with 5 combination and inputs
i need manual testing interview questions for 2+ experience plzz help me..
What is grey box testing?
hi everybody, iam Adi Durga, i complited my bsc(computers) in 2008.I have experience in finacial and bpo companys(mnc). but iam intersted on s/w role.I have the technical skills c, c++, Oracle 9i and manual testing. But i dont know hoe to strat my career in s/w. Every company offering on financial/bpo side. In this I attended nearly 10 companies,I selected in 8. All those are bpo and finacial, But i cant get any opportunities on s/w side.plz help how to get opportunites on s/w side. Actually I am interested on testing side. But every company offering for only experienced persons. plz help me. this is my mailid.... adi.durga19@gmail.com
When first time we are testing the screen then we have to write that this screen should contains so & so columns [ suppose there r 10 columns on that screen]in the expected result
What is application programming interface (api)?
What is showstopper defect?
Enlist some bug status along with its description?
1.What is configuration Management? 2. Explain Impact Analysis 3. Explain Peer Review 4. what i kickoff phase of Formal Review. 5. Whatv are the phases of fundamental test process. 6. what is state transition testing. 7. what is LCSAJ 8. Test conditions are derived from where?
what is a data guidelines?
Can you explain calibration?
how to creat 2 test plan in 2 different environment exp:tour and travel
Why we have to do manual testing?
Which are the different tests for apparel testing?