4
QuizMultiple Choice

Use Data Structures — Cumulative exam

Question 4 • Introduction to Information Technology - EL3701

What allows a programmer to write code quickly and efficiently for an action that must be repeated?

Answer
A
an iteration
B
an index
C
an argument
D
a queue

Explanation

An iteration repeats a set of instructions, such as running the same action multiple times in a loop. This lets a programmer write the code for the action once instead of duplicating it. An index identifies a position, an argument is information passed to a function, and a queue organizes items in order.

AI-written and checked against the verified answer.

Previous
Next