...

/

Quiz: Program Control Structures

Quiz: Program Control Structures

Test your knowledge of program control structures.

We'll cover the following...

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


1 / 5