Arrays

studied byStudied by 215 people
4.5(4)
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 / 12

flashcard set

Earn XP

13 Terms

1

array

holds many items of the same type

New cards
2

initializer list

the values that you instantiate in an array

New cards
3

index numbers

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

New cards
4

traverse

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

New cards
5

null

the default value for every object

New cards
6

NullPointerException

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

New cards
7

Sequential search

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

New cards
8

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

selection sort

the selection sort searches and swaps

New cards
10

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

recursion

using a method to call itself

New cards
12

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

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 89 people
890 days ago
4.5(4)
note Note
studied byStudied by 11 people
879 days ago
5.0(1)
note Note
studied byStudied by 1 person
19 hours ago
4.0(1)
note Note
studied byStudied by 19 people
979 days ago
5.0(1)
note Note
studied byStudied by 22 people
799 days ago
5.0(1)
note Note
studied byStudied by 15 people
816 days ago
5.0(1)
note Note
studied byStudied by 11 people
965 days ago
5.0(1)
note Note
studied byStudied by 127 people
616 days ago
5.0(1)

Explore top flashcards

flashcards Flashcard (21)
studied byStudied by 5 people
635 days ago
5.0(1)
flashcards Flashcard (23)
studied byStudied by 2 people
148 days ago
5.0(1)
flashcards Flashcard (32)
studied byStudied by 26 people
391 days ago
5.0(1)
flashcards Flashcard (173)
studied byStudied by 1 person
13 days ago
5.0(1)
flashcards Flashcard (55)
studied byStudied by 14 people
760 days ago
5.0(3)
flashcards Flashcard (30)
studied byStudied by 18 people
445 days ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 7 people
361 days ago
4.0(1)
flashcards Flashcard (84)
studied byStudied by 74 people
352 days ago
5.0(1)
robot