AP CSA Unit 6: Array

studied byStudied by 0 people
0.0(0)
Get a hint
Hint

Array

1 / 7

8 Terms

1

Array

Arrays are lists that store many values of the same type

New cards
2

Index

Array values are stored at a particular index and we access elements in the array by referencing this index value. Index values in Arrays start a 0.

New cards
3

array.length

Returns the length of the array

New cards
4

array[index]

Accesses an element in the array to either update or retrieve.

New cards
5

Traversing an Array

Traversing an array is the process to loop through an array and access each of the elements. Caution must be taken to avoid looping beyond the valid index values.

New cards
6

Enhanced For Loop

A loop that is an alternate to a for or while loop that accesses each value in an array starting at the first value and proceeding in order.

New cards
7

Enhanced For Loop Variable

Variable created in the enhanced for loop header that contains a copy of the array variable.

New cards
8

Common Array Algorithms

Algorithms that are often used in computer science to do basic analysis on a list. These often include traversing and selection processing.

New cards

Explore top notes

note Note
studied byStudied by 2220 people
... ago
4.7(3)
note Note
studied byStudied by 24 people
... ago
5.0(1)
note Note
studied byStudied by 42 people
... ago
5.0(2)
note Note
studied byStudied by 48 people
... ago
5.0(1)
note Note
studied byStudied by 452 people
... ago
5.0(3)
note Note
studied byStudied by 43 people
... ago
5.0(1)
note Note
studied byStudied by 19 people
... ago
4.5(2)
note Note
studied byStudied by 23406 people
... ago
4.5(119)

Explore top flashcards

flashcards Flashcard (41)
studied byStudied by 2 people
... ago
4.0(1)
flashcards Flashcard (26)
studied byStudied by 173 people
... ago
5.0(1)
flashcards Flashcard (48)
studied byStudied by 21 people
... ago
5.0(1)
flashcards Flashcard (41)
studied byStudied by 2 people
... ago
5.0(1)
flashcards Flashcard (47)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (22)
studied byStudied by 2 people
... ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (22)
studied byStudied by 3 people
... ago
5.0(1)
robot