The minimum index number of any array
0
arrayName.pop() removes this element
The last element of arrayName
Linear (O(n)) time
A generic term for a harmful program
Malware
A numbering system that only uses 0 and 1
Binary
The maximum index number of any array called arrayName
arrayName.length - 1
arrayName.remove() requires this argument to work
Index of object to remove
Finding the first element of any array would run in this time.
Constant (O(1)) time
Ransomware
According to this data transmission rule, accuracy is more valuable than speed.
TCP
-1
arrayName.push() can add this many elements in one call.
Infinitely many
The amount of time used for an algorithm, expressed using n!
Factorial
I got a strange email telling me I won $100,000, all I need to enter is my address and billing information.
Phishing
This is a visualization of trends over time.
Line graph
The middle element of any odd-lengthed array called arrayName
arrayName[(arrayName.length - 1) / 2]
The "3" in arrayName.splice(1, 2, 3)
The element to insert
Time that doubles for each new input. May also triple, or quadruple, etc.
Exponential (O(2^n)) time
Cyber criminals can use this to gain unauthorized access to a network and its users.
Rogue access point
JPEG compression is this.
Lossy
nums.indexOf(4) returns this.
2
What turns arrayName = [1, 2, 3] into [1, 3, 4, 5].
Multiple possible solutions
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
A harmful program that disguises itself as Gmail is probably this.
Trojan
The rules that guide a simulation.
Model