Question # 1

What will this pseudocode output?

y ← 0

FOR i FROM 1 TO 5

IF i MOD 2 = 1

y ← y + i

END IF

END FOR

OUTPUT y

Options:

A.

6

B.

9

C.

12

D.

15

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

Go to CSP Exam Main Page

CSP Overview

Name Certified Safety Professional
Code CSP
Vendor Construction and Industry
Certification Board of Certified Safety Professionals (BCSP)

CSP Questions