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
*) Internal review defect gets detected… 1) During peer review. 2) By the own stuff member onsite/offshore. 3) During Informal review process. 4) None of these 5) All of these
what is the most critical bug u have to find in ur project.My application is ERP based,in this purchase module is there.plz tell me the answer?
What are bug leakage and bug release?
what are the Cs in testing
Suggest some book to learn more test case???
.In languages testing, what is the fixed part and changing part?
How do you go about testing a project?
On what basis you are fixing up the time for project completion?
tell wat u did in ur banking project?
What do you do (with the project tasks) when the schedule fails?
What is difference between Build, Version and Release
I have 6 months experience as project tarine and one and a half year experience as software engineer.Should i write taht my total experience id 2 years.
What is the difference between three tier and two tier application?
how to write defects in excel sheets when defects occured
What processes/methodologies are you familiar with?