Arrays

studied byStudied by 142 people
5.0(3)
get a hint
hint

array

1 / 12

Studying Progress

0%
New cards
13
Still learning
0
Almost done
0
Mastered
0
13 Terms
1
New cards

array

holds many items of the same type

New cards
2
New cards

initializer list

the values that you instantiate in an array

New cards
3
New cards

index numbers

locations that are used to assign to each element found in the array

New cards
4
New cards

traverse

the way an element in a data structured is accessed, or modified

New cards
5
New cards

null

the default value for every object

New cards
6
New cards

NullPointerException

since null isn’t a valid object, the code performed on null will result in this

New cards
7
New cards

Sequential search

goes in order through each value until the desired one is found

New cards
8
New cards

Binary search

requires an ordered list of values, and every time it cuts the list of values in half until it finds the desired value

New cards
9
New cards

selection sort

the selection sort searches and swaps

New cards
10
New cards

merge sort

uses recursion, this type of sort divides and conquers, the array gets split into 2 pieces and then it is sorted, the 2 sorted pieces than come together to form one sorted list

New cards
11
New cards

recursion

using a method to call itself

New cards
12
New cards

insertion sort

the array is split into a sorted and unsorted part, the values from the unsorted part are placed at the correct position in the sorted part

New cards
13
New cards

2D Arrays

an array that holds items in a 2 dimensional grid, it’s storing items in rows and columns

New cards

Explore top notes

note Note
studied byStudied by 6 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 6 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 20 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 7 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 20 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 10 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 5 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 47906 people
Updated ... ago
4.9 Stars(507)

Explore top flashcards

flashcards Flashcard39 terms
studied byStudied by 3 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard32 terms
studied byStudied by 29 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard121 terms
studied byStudied by 33 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard72 terms
studied byStudied by 5 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard132 terms
studied byStudied by 5 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard43 terms
studied byStudied by 20 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard82 terms
studied byStudied by 9 people
Updated ... ago
5.0 Stars(2)
flashcards Flashcard485 terms
studied byStudied by 196 people
Updated ... ago
5.0 Stars(2)