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 will be the testcase for a uniquely generated number in the application?? i mean to say is, how will i conform the application is generating a unique value.... please do answer...
How do you perform configuration management with typical revision control systems?
what are questions asked in TCS for database tester (sqlserver)?ay idea
What is the full form of cmmi?
What are the different types of software testing?
What is XML Testing? Do we have any tools to test the XML? Please let me know.
Negatives test cases of gmail login page With its severity , priority and expected results columns Through test case template-oodles technologies gurgoan
Test cases have written according to Flow of the software working or according to Screens?
Q) Create Preffered customer: As a customer when i purchase more than $5000 in goods since my first purchase, I become a preffered customer so that i can receive the benefits associated with that status.
What is Web architecture that are followed while doing online project and tell the samples of architecture?
What are cookies?
1.what is the approach while writing test cases in your project. 2.tell some intresting scenareo in your project
Hi I am searching job please send some details abuot ERP project and real time test plan,traceability report,test case if any relate to erp project Please help me out to get a job in testing.my email address is chiku_69@yahoo.in Thank u
What is virtual creation tool?
Different types of design diagrams that supports to write test cases ?