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 Difference between Test Strategy and Test Methodology?
Sentence "Working from onsite is effective" is growing in IT field. How do we bring that knowledge to offshore and do an effective job in Offshore?
Hi Friends, Just One Month Back I was Join in Small Company as a Testing Eng.I have Six Month Exp. In this Company all my team memb.r fresher & PM give responsibility on us to prepare all require QC doc. for our new project.So I need ur help in this matter .How Can I start my work and Which Doc.I start to collect & From Where I get Detail Information all abt these thing. Thanks to all friends who give reply to this. Suyog
How can a LOG for testcases be maitained which can give information about a TestCase that is it new one or has been occured in previous versions of the software.
What is boundary value testing? Give an example.
What is an mr?
how to test a store procedure?
how can you test the web environment for security testing?
any one giv test cases for wordpad using equivalence class partioning
Need to know about Quality Center in brief
Explain compatibility testing with an example.
Did any one completed CSTE certiication? can u send sample question papers? how to apply that? pls send it to my mail id - dsnathi@gmail.com THANKS IN ADVANCE
What r all the security problems u r facing & the measures taken to solve.
3. In a system designed to work out the tax to be paid: An employee has £4000 of salary tax free. The next £1500 is taxed at 10%. The next £28000 after that is taxed at 22%. Any further amount is taxed at 40%. To the nearest whole pound, which of these groups of numbers fall into three DIFFERENT equivalence classes?
what is API 2.0?