Development Cycle
Arrays
Searching & Sorting
Object Oriented Programming
CS Acronyms
100
Code you write to verify that a small section of your program is correct
What is a unit test?
100
The syntax for accessing the third element of an array called items
What is items[2]?
100
A searching algorithm that works by repeatedly splitting an ordered array in halves.
What is binary search?
100
The keyword that means a field or method is shared by all instances of a class.
What is static?
100
OOP
What is Object Oriented Programming?
200
Code you add for the sole purpose of making your program easier to test (e.g. exposing a private field)
What is a test hook?
200
A class that is similar to an array, but makes it easier to do things like adding and removing items
What is ArrayList?
200
A sorting algorithm that repeatedly splits an array in half, sorts the halves, and recombines them in order.
What is merge sort?
200
The keyword that indicates that one class inherits from another
What is extends?
200
UT
What is a Unit Test?
300
The practice of starting with a very simple program and improving it one small step at a time.
What is iterative development?
300
A method that helps you print an array as easy as [1, 2, 3]
What is Arrays.toString?
300
A sorting algorithm that starts by finding the largest element in an array and swapping it with the element at the end of the array.
What is selection sort?
300
The keyword that refers to a parent class from within one of its child classes
What is super?
300
SSL (now used to keep your moodle password safe)
What is Secure Socket Layer?
400
The practice of modifying your code to improve its design, readability, testability, etc. without changing its functionality
What is refactoring?
400
A method that lets you duplicate an array with a single line of code
What is Arrays.copy?
400
A sorting algorithm that chooses an element, then moves each other element one slot to the right until it finds the right spot to place the chosen element.
What is insertion sort?
400
The keyword that means a class will define the set of methods required by an interface
What is implements?
400
SDLC
What is the Software Development Life Cycle?
500
The practice of writing tests that fail, then writing code to make them pass
What is Test-Driven Development?
500
The value of each element in an array of Integers after it has been initialized like 'Integer[] nums = new Integer[3];'
What is null?
500
A search algorithm that runs in O(n) time on unordered input.
What is linear search?
500
The keyword that allows you to refer to the implicit parameter inside a class, the object an instance method is operating on.
What is this?
500
APT1
What is Advanced Persistent Threat One?