AP CSA Unit 7: ArrayList

studied byStudied by 5 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 10 people
... ago
5.0(2)
note Note
studied byStudied by 5 people
... ago
5.0(1)
note Note
studied byStudied by 124 people
... ago
5.0(1)
note Note
studied byStudied by 30 people
... ago
5.0(1)
note Note
studied byStudied by 91 people
... ago
5.0(1)
note Note
studied byStudied by 15 people
... ago
5.0(1)
note Note
studied byStudied by 28 people
... ago
4.0(1)
note Note
studied byStudied by 3907 people
... ago
4.7(25)

Explore top flashcards

flashcards Flashcard (82)
studied byStudied by 17 people
... ago
5.0(1)
flashcards Flashcard (32)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (217)
studied byStudied by 5 people
... ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 2 people
... ago
5.0(1)
flashcards Flashcard (89)
studied byStudied by 66 people
... ago
5.0(1)
flashcards Flashcard (50)
studied byStudied by 5 people
... ago
4.0(1)
flashcards Flashcard (54)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (54)
studied byStudied by 12 people
... ago
5.0(1)
robot