CompTIA ITF+ (FC0-U71) — Question 9
Given the following pseudocode:
10 FOR Q=1 TO 100
20 PRINT Q
30 NEXT Q
40 EXIT
Which of the following best represents line 10?
Answer options
- A. Attribute
- B. Sequence
- C. Branch
- D. Loop
Correct answer: D
Explanation
Line 10 represents a Loop because it initiates a repetitive process that iterates from 1 to 100. The other options do not accurately describe this behavior; 'Attribute' refers to characteristics, 'Sequence' denotes a straight run of instructions without repetition, and 'Branch' implies a decision-making structure.