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
Hi....Friends....If anybody having Sample CSTP question papers, pls send it to the following Id... Thanks n advance... theramkumar@gmail.com
Difference between Stakeholder and Relevant Stakeholder?
What is reverse engineering?
What is verification in software testing?
where can i learn domain knowledge? how cab i gain domain knowledge? what types of Questions can be asked in domain(BFSI)? PLZ REPLY ME
what is base time , how can we base time your doc"s ?
discuss black box and white box testing is not widely used if you disagree tell me why?
What is bottom-up approach?
10 scenarios for security testing using gmail applications?
What is client server application testing?
can anyone help me in getting unix on manual testing i.e can u forward material & web sites to my mail id (suresh_57599@yahoo.com) to understand how the work flow working on manual testing on unix and the contents.plzzzzzzzz help me its urgent.
What is ofx testing?
What are some best practices that you should follow when writing test cases?
Describe Testing Decomposition?
send the senario template