write the test cases on prime number with result?
Answer Posted / surya gandepalli
for input = 1 , Ouput: should be "Not a Prime Number"
Prime Number(Definition): A number Greater Than 1 is called
a prime number, if it has exactly two factors, namely 1 and
the number itself.
so check with the boundary values.
({INPUT},OUTPUT ) = ({0,1,4}, {NOT PRIME})
({INPUT},OUTPUT ) = ({2,3,5}, {is PRIME})
{Destructive INPUT}=(Type Special Characters),(Copy Past
Special Characters from a Note Pad document Using Mouse ))
0 (Zero is the only Whole Number which is not a natural number)
1
| Is This Answer Correct ? | 2 Yes | 10 No |
Post New Answer View All Answers
What is revision history and the content of revision history table?
Can you explain steps in function points?
How did you do unit testing in your project?
Explain the difference between alpha testing and beta testing.
What is the limit for test steps?It should be 10/20/30etc
Hi friends, Im an MBA Finance, 2 yrs of exp workng in Investment com, + around 2 yrs of exp in Manual testing in Finane domain. Im looking for manual testing jobs but not getting any calls, Im worried is manual tesing in finance domain do have any good scopes in future or not. Plz provide me ur valuable suggestion,so tht I can best decision to retain in this platform(manual testing). or not
What are the different strategies for rollout to end users?
hai friends i did my bcom (distance with out inter)and iam pursuing mca(distance alagappa university)iam learning testing cource in ameerpet can i elgibel for testing jobs pls guide me … …and send details to rangavijetha@gmail.com..thanks
What is stub?
What is difference in between operating system 2000 and os xp?
do we require any scripting languae to write test cases in test director? what for it is used?it is like back end?only database we can there?
What is benchmark testing? hi friends... can anyone suggest the correct answer plz...
write test case for gmail sign up page?
What is meant by entry criteria and exit criteria in software testing?
What's the relationship between environment reality and test phases?