write the test cases on prime number with result?

Answer Posted / ramyab.mca@gmail.com

Hai...

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.

K,Byeee..
Thanks & Regards
B.Ramyasri

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain boundary value analysis?

668


What is user acceptance testing (uat)?

659


test cases for compose functionality of gmail

1487


Any one please can u tell me what is composer? An interviewer asked me do u have experience in Composer? its urgent.

1642


What is the quality process is following in your organization.

1773






What does 100% statement coverage mean?

1813


Plz give me manual testing real test case ?

1032


What is the test case?

652


how to write manual testcases for download the files from the template. for example:from product cost enddate

1688


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?

1703


What criteria would you use to select Web transactions for load testing?

1653


what s test block ratio? please any one answer me..

1827


Beyond the customary advantages of having a testing group, what are the benefits does a company receive from a well run, automated testing group?

3004


any one giv test cases for wordpad using equivalence class partioning

2597


i) functional test cases can we consider for regression test ? or we have to write separet test cases for regression test ? ii) How to write the system test case and what are the technique shall we have to follow ?

1856