An intermediate level of code meant to be interpreted, e.g. by the Java Virtual Machine.
What is byte code?
An attempted solution at any stage of backtracking
What is a configuration?
A first-in, first-out (FIFO) data structure; elements are removed in the same order that they were added.
What is a Queue
May define but not implement methods. May also implement methods, and declare fields and constructors. Cannot be instantiated.
What is abstract class?
the top level JavaFX container
What is stage?
Having multiple methods in a class with the same method name but different parameters
What is overloading?
A specialized tree structure where nodes are only sorted in relation to their parents. Items are added left to right.
What is a heap?
Stores unique elements, meaning that duplicates are ignored. Elements are not maintained in any particular order
What is a set?
The parent class in a parent/child relationship
What is superclass?
Defines the interface that must be implemented by a class that wishes to be notified when a particular event occurs
What is an observer?
The part of the program where the variable can be used
What is scope?
A feature that allows types (classes andinterfaces) to be parameters when defining classes, interfaces, and methods
What are generics?
The interface needed to use an object in a for-each loop
What is iterable?
Keyword that allows you to access parts of the parent class.
What is super?
Contains the core application logic. Maintains the state of the application. Notifies observers when the state changes.
What is the model?
Belongs to the class, rather than a specific instance
What is static?
What is the difference between Comparable and Comparator(short anwser question)
Comparable takes in one object of the same type and defines a natural order.
Comparator takes in two objects and you can have multiple different implementations.
What is the time complexity of inserting an element into the middle of a linked list
What is O(N)?
Can define only 1 method
What is a functional interface?
Specific type of event that is created when the user clicks on a button in a JavaFX GUI
What is action event?
What is the order that BFS would visit these nodes from 0 to 2. Assume neighbors are in ascending order.
0,1,3,4,2
An algorithm that makes the best choice at each stage, without regard for the overall solution
What is a greedy algorithm?
Search algorithm used in backtracking
What is DFS?
the ability of objects of different classes to be treated as objects of a common parent class
What is polymorphism?
The term for the basic building blocks of a JavaFX GUI
What is node?