Unit 6: Array

5.0(3)
Studied by 328 people
0%Unit 6 Mastery
0%Exam Mastery
Build your Mastery score
multiple choiceMultiple Choice
call kaiCall Kai
Supplemental Materials
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
Chapter 2 - The Role of Prices
Updated 1134d ago
0.0(0)
note
7.2 Transcription
Updated 1153d ago
0.0(0)
note
Unit 2
Updated 692d ago
0.0(0)
note
Untitled
Updated 1069d ago
0.0(0)
note
Unit One Booklet 4
Updated 513d ago
0.0(0)
note
UO6 and UO7
Updated 1028d ago
0.0(0)
note
Chapter 2 - The Role of Prices
Updated 1134d ago
0.0(0)
note
7.2 Transcription
Updated 1153d ago
0.0(0)
note
Unit 2
Updated 692d ago
0.0(0)
note
Untitled
Updated 1069d ago
0.0(0)
note
Unit One Booklet 4
Updated 513d ago
0.0(0)
note
UO6 and UO7
Updated 1028d ago
0.0(0)

Explore top flashcards

flashcards
periodic table 52 elements
52
Updated 919d ago
0.0(0)
flashcards
War horse ch.1-8
24
Updated 443d ago
0.0(0)
flashcards
Edexcel IGCSE History, USA
124
Updated 802d ago
0.0(0)
flashcards
theology final
100
Updated 299d ago
0.0(0)
flashcards
La Comida vocab, parte 2
33
Updated 213d ago
0.0(0)
flashcards
climate change
55
Updated 1211d ago
0.0(0)
flashcards
periodic table 52 elements
52
Updated 919d ago
0.0(0)
flashcards
War horse ch.1-8
24
Updated 443d ago
0.0(0)
flashcards
Edexcel IGCSE History, USA
124
Updated 802d ago
0.0(0)
flashcards
theology final
100
Updated 299d ago
0.0(0)
flashcards
La Comida vocab, parte 2
33
Updated 213d ago
0.0(0)
flashcards
climate change
55
Updated 1211d ago
0.0(0)