QuestionQ82

VerifiedIT Concepts and Terminology

Given this pseudocode:

10 FOR Q=1 TO 100  
20 PRINT Q  
30 NEXT Q  
40 EXIT  

Which of the following best describes line 10?

Explanation

FOR Q=1 TO 100 starts a repetition structure that controls repeated execution of the statements until the loop variable has progressed through the specified range.

Community Discussion

No comments yet. Be the first to start the discussion!