AP CSA Unit 6: Array

studied byStudied by 3 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

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 11 people
1117 days ago
5.0(1)
note Note
studied byStudied by 19 people
836 days ago
5.0(1)
note Note
studied byStudied by 469 people
761 days ago
5.0(1)
note Note
studied byStudied by 6 people
799 days ago
5.0(1)
note Note
studied byStudied by 27 people
720 days ago
4.0(2)
note Note
studied byStudied by 36 people
834 days ago
4.5(2)
note Note
studied byStudied by 8 people
540 days ago
5.0(1)
note Note
studied byStudied by 214 people
672 days ago
5.0(2)

Explore top flashcards

flashcards Flashcard (20)
studied byStudied by 9 people
756 days ago
5.0(1)
flashcards Flashcard (74)
studied byStudied by 52 people
737 days ago
4.8(8)
flashcards Flashcard (108)
studied byStudied by 9 people
25 days ago
5.0(2)
flashcards Flashcard (169)
studied byStudied by 20 people
64 days ago
5.0(3)
flashcards Flashcard (39)
studied byStudied by 45 people
811 days ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 3 people
679 days ago
5.0(1)
flashcards Flashcard (38)
studied byStudied by 92 people
394 days ago
5.0(1)
flashcards Flashcard (33)
studied byStudied by 6 people
756 days ago
5.0(1)
robot