Quiz: Program Control Structures

Test your knowledge of program control structures.

Program Control Structures

1

What is the output of the following code?

for i = 2 to 11 step 3
   print i
end_for
A)

2 3 4 5 6 7 8 9 10 11

B)

1 2 3 4 5 6 7 8 9 10

C)

2 5 7 9 11

D)

2 5 8 11

Question 1 of 50 attempted

Get hands-on with 1400+ tech skills courses.