Akhil gave Anoop the number 10211, (which is a prime). What is the minimum time in which Anoop can check whether 10211 is prime or not by using the computer, if his computer can perform one division in exactly 0.1 seconds?(Assume that Anoop knows the square of all numbers less than 200) |
|||

Akhil gave Anoop the number 10211, (which is a prime). What is the minimum time in which Anoop can check whether 10211 is prime or not by using the computer, if his computer can perform one division in exactly 0.1 seconds?(Assume that Anoop knows the square of all numbers less than 200)
a. 1.1 seconds
b. 2.6 seconds
c. 10.1 seconds
d. 510.1 seconds
Ans. As d nearest square no. of 10211 is 10201=(101)^2 nd dr r 26 prime no.s wthin 101....
the total time is (26 x 0.1)= 2.6 seconds.....
Accordin to me (b) is d correct one......
Giv ur best to the world....
Nd d best will come back to u.....
Regards,
Dipanjan......
n/a
Post new comment