Question # 35

Which is the BEST algorithm to find the average of numbers in a list?

Options:

A.

Sort the list then select the middle element

B.

Add all numbers in one pass and divide by count

C.

Randomly pick numbers and average them

D.

Use binary search on the list

Viewing question 35 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.