Unit 6: Array

5.0(3)
studied byStudied by 324 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/16

Last updated 2:00 AM on 11/13/23
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

17 Terms

1
New cards

Arrays

data structure that makes it easier to handle similar types of data.

2
New cards

What arrays can store?

Primitive or object data types

3
New cards

Element

A seperate piece of data

4
New cards

index

is used to identify the specific location of this element.

5
New cards

Square brackets

are used to show that an array is present.

6
New cards

What do curly brackets indicate?

They indicate an initializer list

7
New cards

ArrayindexOutOfBoundsException

occurs when the indexes go out of bonds from what the array is actually set to.

8
New cards

enhanced for loop

it provides a variable that will hold each element of an array.

9
New cards

No variable

it is used to refer to the current index.

10
New cards

Sequential searches and Binary searches

It is called the 2 search algorithms

11
New cards

Sequential searches

These search through the data one by one in order, and take a long time to execute.

12
New cards

Binary searches

These search through the data for the desirable value by dividing it into half each time until the desired value is found.

13
New cards

Sorting Algorithms

They take data in an array, and rearrange it into a particular order.

14
New cards

Selection sort

This sort searches and swaps.

15
New cards

Insertion sort

It compares the first 2 elements, and depending on the outcome of this it inserts the second value in front of the first value into index 0, which moves the first value to index 1.

16
New cards

Merge Sort

This type of sort uses recursion.

17
New cards

Recursion

Technique that uses a method to call itself.

Explore top notes

note
Elements
Updated 1224d ago
0.0(0)
note
World History AP Test
Updated 1266d ago
0.0(0)
note
Biomes - 93%
Updated 709d ago
0.0(0)
note
TEST 1
Updated 528d ago
0.0(0)
note
Newton's First and Second Laws
Updated 1239d ago
0.0(0)
note
Unit 2 - Supply and Demand Guide
Updated 1057d ago
0.0(0)
note
Elements
Updated 1224d ago
0.0(0)
note
World History AP Test
Updated 1266d ago
0.0(0)
note
Biomes - 93%
Updated 709d ago
0.0(0)
note
TEST 1
Updated 528d ago
0.0(0)
note
Newton's First and Second Laws
Updated 1239d ago
0.0(0)
note
Unit 2 - Supply and Demand Guide
Updated 1057d ago
0.0(0)

Explore top flashcards

flashcards
Italian - Love Phrases
73
Updated 1125d ago
0.0(0)
flashcards
AP Euro Unit 1+2 Anchors
39
Updated 142d ago
0.0(0)
flashcards
PP3 Prelims
88
Updated 725d ago
0.0(0)
flashcards
IB Biology - Human Physiology
100
Updated 617d ago
0.0(0)
flashcards
Muscles Bio 1016 ULM
116
Updated 471d ago
0.0(0)
flashcards
Untitled
42
Updated 912d ago
0.0(0)
flashcards
research methods
50
Updated 139d ago
0.0(0)
flashcards
Italian - Love Phrases
73
Updated 1125d ago
0.0(0)
flashcards
AP Euro Unit 1+2 Anchors
39
Updated 142d ago
0.0(0)
flashcards
PP3 Prelims
88
Updated 725d ago
0.0(0)
flashcards
IB Biology - Human Physiology
100
Updated 617d ago
0.0(0)
flashcards
Muscles Bio 1016 ULM
116
Updated 471d ago
0.0(0)
flashcards
Untitled
42
Updated 912d ago
0.0(0)
flashcards
research methods
50
Updated 139d ago
0.0(0)