3. Arrays

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/16

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

17 Terms

1
New cards

Array

An indexed sequence of values typically of the same type.

2
New cards

Indexing

The process of accessing elements in an array using an index, which starts at 0.

3
New cards

Multidimensional Array

An array of arrays, used to represent data in multiple dimensions.

4
New cards

Dot Product

The sum of the products of the corresponding components of two vectors.

5
New cards

Slicing

A shorthand for creating a new array from an existing array by specifying a start and end index.

6
New cards

Aliasing

When two variables refer to the same object in memory.

7
New cards

Mutability

The ability of an object to change its value after it has been created.

8
New cards

Fixed-length Array

An array with a size that is defined at creation and cannot be changed.

9
New cards

Memory Representation of Array

An arrangement that shows how an array is stored in memory as a sequence of pointers.

10
New cards

Array Iteration

The process of visiting each element in an array, typically done with loops.

11
New cards

Ragged Array

A 2D array where each row can have a different length.

12
New cards

Array Copying

The process of creating a new array by transferring elements from an existing array.

13
New cards

List Concatenation

Combining two lists into one by adding elements from both lists.

14
New cards

Standard Deviation

A measure used to quantify the amount of variation in a set of values.

15
New cards

Error Handling in Arrays

Managing exceptions that occur due to operations that exceed the bounds of the array.

16
New cards

Two-Dimensional Array

An array that is structured as a table with rows and columns.

17
New cards

Initialization

The process of assigning a value to a variable when it is created.