AP CSA Unit 7: ArrayList

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

ArrayLists

1 / 12

13 Terms

1

ArrayLists

A mutable list of object references. We can create ArrayLists by using the constructor new ArrayList<E>().

New cards
2

ArrayList Methods

Methods used to alter the state of an ArrayList

New cards
3

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
4

ConcurrentModificationException

A common error that occurs when attempting to modify an ArrayList while using an enhanced for loop.

New cards
5

Traversing an ArrayList

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

New cards
6

Algorithm

An algorithm is a set of steps or rules to follow to solve a particular problem.

New cards
7

Simultaneously Traversal

Traversing two lists at the same time using the same index often to compare.

New cards
8

Linear Search

An algorithm that searches data sets in a sequential order, checking each value from the 0th index to the end of the data set to see what index a specific element can be located at.

New cards
9

Selection Sort

A sorting algorithm that swaps the minimum value left in an array with the current array index.

New cards
10

Insertion Sort

A sorting algorithm that shifts the already sorted section of an array to place the current array value in the correct index.

New cards
11

Network Protocols

Protocols for data sharing on the internet that define rules and conventions for communication between network devices.

New cards
12

Data Privacy

The appropriate use of data based on circumstances

New cards
13

Data Security

The integrity, confidentiality, and availability of data

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