5
AssignmentDropdown

Iteration

Question 5 • VA-Information Technology Fundamentals B

Use the drop-down menus to complete the following sentences.The for loop can iterate over many items in a

Answer
A
list.
B
function.
C
variable.
D
loop index.

Explanation

A for loop can go through the items in a collection one at a time. A list is a collection that can contain many items, so the correct choice is list. A function is reusable code, a variable stores a value, and a loop index is a counter rather than a collection of items.

AI-written and checked against the verified answer.

Previous
Next