Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is defect cascading in software testing?

1280


Difference between Stakeholder and Relevant Stakeholder?

2014


What is srs and brs document?

1127


What if the project isn’t big enough to justify extensive testing?

1237


What can you tell about the project if during testing you found 80 bugs in it

2237


in the account there is 10,000 rupees and i entered 20000, in this case how will you test the application

1644


What ishigh severity, low priority bug?

1076


Can you explain v model in manual testing?

1121


Which is the best book to ref. for design the test cases/scenario in manual testing,which gives detailed idea with all the strategies ?

6811


how will you estimate of your website?

2046


How do you estimate white box testing?

1073


How does compatibility testing differ while testing in Internet explorer and testing in Firefox?

3234


which sanity testing is performed?

1617


any one please send me any test case examples with tabular columns in manual testing

2192


Can you explain the elementary process?

1119