Which term describes a collection of elements of the same type that are accessed by a numeric index?

Enhance your understanding of IGCSE Algorithms and Pseudocode Foundations. Engage with flashcards and multiple-choice questions, each offering hints and explanations. Prepare thoroughly for your exam!

Multiple Choice

Which term describes a collection of elements of the same type that are accessed by a numeric index?

Explanation:
An array is a collection of elements of the same type that you access with a numeric index. The elements are stored in a sequence, and you can reach any item directly by its position, usually starting from zero. This lets you quickly retrieve, update, or loop through items in a predictable order, with constant-time access to any position. Global variables are single named values, not a sequence. Procedures and functions are blocks of code, not collections of data.

An array is a collection of elements of the same type that you access with a numeric index. The elements are stored in a sequence, and you can reach any item directly by its position, usually starting from zero. This lets you quickly retrieve, update, or loop through items in a predictable order, with constant-time access to any position.

Global variables are single named values, not a sequence. Procedures and functions are blocks of code, not collections of data.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy