ExamPlay Light Logo
Logg på

Computer Science for IGCSE & O level - Programming (Section 10 - No. 31)

What is the purpose of the Step value in a FOR loop, such as `For number = 10 to 50 Step 5`?
To specify the starting point of the loop.
To specify the end point of the loop.
To determine the increment or decrement for each iteration.
To define the total number of iterations.

Forklaring

The Step value determines how the loop variable changes (increments or decrements) in each cycle.

Kommentarer (0)

Logg inn for å kommentere
Annonse
BrainBehindX Inc Logo
©2026; Drevet av BrainBehindX Inc