write the test cases on prime number with result?

write the test cases on prime number with result?..

Answer / ramyab.mca@gmail.com


Precondition:let the prime no be n
case1: expected o/p (prime no)result
divide the no n by 1 remainder=0 pass
divide the no n by n remainder=0 pass

divide the no n by 2 remainder!=0 pass
divide the no n by upto n-1 and if remanider not equal zero
then it is a prime no.

Thanks & Regards

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Manual Testing Interview Questions

what is the diff bet SDLC and STLC?

7 Answers   scintel,

what is your current team size?

2 Answers   Verizon,

Hi How to test web applications in Manual testing? How does the client- server works in Manual testing? Pls answer me ASSP. Thankyou in adavance Sunitha.

5 Answers   Belcan,

explain v model in detail(pls explain with real tme company process)

2 Answers   Virtusa,

hai friends can u expalin about real time process of testing at the company, like flow diagram

0 Answers  

what the tester should do ,if there are bugs in the requirements made by the business analyst?

4 Answers  

What are the differences between web applications and client and server applications?

0 Answers  

What is web based application?

3 Answers  

what is v model need clear explanation with advantages and disadvantages?

3 Answers  

How would you define a "bug?"

9 Answers  

Name three reasons why the tester may choose to record in Context Sensitive mode.

0 Answers  

About the security testing, how to use to security testing in web testing, suppose u will check login page, how to change password in back end in security testing

1 Answers   EDS,