12
QuizMultiple Choice

Use Data Structures — Cumulative exam

Question 12 • Introduction to Information Technology - EL3701

In Python, arrays are usually reserved for

Answer
A
sorting operations.
B
indexing operations.
C
searching operations.
D
numerical operations.

Explanation

Arrays are typically used to store collections of values of the same type, especially numbers, so they are useful for numerical operations. Sorting, indexing, and searching can also be done with arrays, but those tasks are not what arrays are usually reserved for.

AI-written and checked against the verified answer.

Previous
Next