Question # 57

What is the purpose of including a base case in a recursive algorithm?

Options:

A.

To prevent infinite recursion by providing a stopping condition

B.

To make the algorithm run faster

C.

To allow the use of global variables

D.

To guarantee that memory is never used

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