Question # 21

What is the BEST algorithm for checking if a number is prime?

Options:

A.

Divide it by every number up to itself.

B.

Divide it by 2 only.

C.

Divide it by every number up to its square root.

D.

Check only if it is odd.

Viewing question 21 out of 69 questions
Industry research shows that students who utilize CSP practice tests are significantly more likely to pass exam.


Our free CSP practice questions act as a diagnostic tool to give you a clear snapshot of your Certified Safety Professional readiness. Discover which topics are your strengths and, more importantly, which critical topics require your immediate attention.