plz give me anybody test data expected result during prime
number programe ? advance thanks



plz give me anybody test data expected result during prime number programe ? advance thanks..

Answer / Shrawan Kumar Meena

Test Data and Expected Results for a Prime Number Program: 1. Input: 2nExpected Result: Not a prime number, as 2 is not divisible by any other number except itself and 1. 2. Input: 3nExpected Result: Prime number, as it is only divisible by itself and 1. 3. Input: 4nExpected Result: Not a prime number, as 4 is divisible by 2.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Testing AllOther Interview Questions

If you had 10 days to deliver the product but the Lead tells to deliver it in 6 days, then How and what Testing Techniques or Strategy you will follow inorder to deliver it in short time (6 days)

4 Answers  


What is a user friendly document?

1 Answers  


What is test first design?

1 Answers  


What is Software reliability?

3 Answers  


What is a test harness?

1 Answers  


what is diff. between CMMI and CMM levels?

9 Answers   Sonata, TCS,


If I give some thousand tests to execute in 2 days what do you do?

2 Answers   TCS,


what happens in a web application when you enter all the data and click on submit button suddenly the connection goes off? where the data will go ?

1 Answers  


what are reviews..? In what type of reviews are going to participate?

1 Answers  


What does cots represent?

1 Answers  


Actually how many positive and negetive testcases will write for a module?

1 Answers   TCS,


why does software have bugs

3 Answers  


Categories