Exceptions
I/O
Graphs and BFS/DFS
Backtracking
JavaFX
GUI/MVC
100

When is an Unchecked Exception checked?

At Runtime

100

Base abstract classes performing binary based I/O

What are InputStream and OutputStream?

100

What is a graph made up of?

Nodes/Vertices and edges

100

Give an example of a puzzle you can solve with backtracking

Sudoku or N-Queens or Map Coloring, etc.

100

What is the superclass for all JavaFX components?

Node

100

What interfaces/superclasses does a GUI need to implement/extend in order to interact with 

Extend Application, implement observable

200

When is a Checked Exception checked?

At compile time

200

The reason you learn I/O and Exceptions in the same

What is I/O often results in Exceptions being thrown?

200

What is an undirected graph?

A graph where all edges are bi-directional

200

What is the interface used for backtracking? 

Configuration

200

What is the stage?

The main window

200

What is the Model?

The state of the world represented by code, it has no GUI elements directly

300

Try-with-resources

What is when a resource (usually IO) is created in a try block that automatically closes when the block exits?

300

Flushing a Buffer

What causes a buffer to immediately writes all the data to the output?

300

What 2 data structures other than graph are used in BFS?

Queue (Visited Set), and Predecessor Map

300

What method is used for checking if a configuration is valid or not?

isValid()

300

What method is used to build out the GUI (add components)?

start()

300

What is the View?

The part of the GUI that the user can see, and interact with.

400

What kind of exception is an Arithmetic Exception?

Unchecked Exception

400

The interface you implement to allow your class to be written to a file

What is Serializable?

400

What 2 data structures other than graph are used in DFS?

Visited Set, and Stack or Recursion

400

What method is used for seeing if the configuration is the solution?

isGoal()

400

Which JavaFX element has slots for top, bottom, left, right, and center?

BorderPane

400

What is the Controller?

Handles user input events, such as button presses or mouse movement. Accepts input and converts it to commands for the model or view.

500

What kind of exception is a FileNotFoundException?

Checked Exception

500

Create a Scanner that reads from a file named "somefile"

Scanner input = new Scanner(new File("somefile")

500

Which graph search algorithm guarantees you the shortest path?

BFS

500

What method is used for getting the next configurations?

getSuccessors()

500

Which JavaFX element lays out its children left to right that can wrap around to the next line?

FlowPane

500

What is created when a button is clicked and how should you handle it?

An ActionEvent and it should be handled by an EventHandler

600

What is the output of this function?

hello

hi 

dumb

600

Create a BufferedReader that reads from System.in.

BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

600

What is the technical definition a tree (graph)?

A Directed Acyclic Graph

600

What is the time complexity of backtracking?

Exponential (# of choices# to fill)

600

What is the code to add a button that says "click me" to a GridPane named gp at (0,0)

Button b = new Button("click me");

gp.add(b, 0, 0);

600

Draw the tree structure of the JavaFX elements that would be required to make this jeopardy website's main screen.

Stage -> Scene -> BorderPane

Top -> Hbox -> Label x5

Center -> GridPane -> Button x25

M
e
n
u