Array Indexing
Adding/Removing Elements
Algorithms and Efficiency
Safe Computing
Wild Card
100

The minimum index number of any array

0

100

arrayName.pop() removes this element

The last element of arrayName

100
A linear search would run in this time

Linear (O(n)) time

100

A generic term for a harmful program

Malware

100

A numbering system that only uses 0 and 1

Binary

200

The maximum index number of any array called arrayName

arrayName.length - 1

200

arrayName.remove() requires this argument to work

Index of object to remove

200

Finding the first element of any array would run in this time.

Constant (O(1)) time

200
I can't access my final paper unless I pay someone fifty bucks.

Ransomware

200

According to this data transmission rule, accuracy is more valuable than speed.

TCP

300
indexOf() returns this if it can't find the element you want

-1

300

arrayName.push() can add this many elements in one call.

Infinitely many

300

The amount of time used for an algorithm, expressed using n!

Factorial

300

I got a strange email telling me I won $100,000, all I need to enter is my address and billing information.

Phishing

300

This is a visualization of trends over time.

Line graph

400

The middle element of any odd-lengthed array called arrayName

arrayName[(arrayName.length - 1) / 2]

400

The "3" in arrayName.splice(1, 2, 3)

The element to insert

400

Time that doubles for each new input. May also triple, or quadruple, etc.

Exponential (O(2^n)) time

400

Cyber criminals can use this to gain unauthorized access to a network and its users.

Rogue access point

400

JPEG compression is this.

Lossy

500
If nums = [6, 5, 4, 3, 2, 4],

nums.indexOf(4) returns this.

2

500

What turns arrayName = [1, 2, 3] into [1, 3, 4, 5].

Multiple possible solutions

500

In the binary search algorithm, if the number you're searching for is smaller than the middle number, it searches this part of the array

Lower half

500

A harmful program that disguises itself as Gmail is probably this.

Trojan

500

The rules that guide a simulation.

Model

M
e
n
u