OOPS I did it again
oooh Pretty Colors
Philosophical Design
Structs & Algos
Risky Business
100

This fundamental of OOP deals with hiding implementations. 

Abstraction

100

Though outdated, In Java, most GUI components come from the _____ framework. 

Swing

100

A _____ Chart is also known as a structured chart. Visually demonstrating structured priorities. 

Hierarchy

100

____ Are the building blocks of most (but not all) Data Structures in programming.

Arrays

100

For handling exceptions and "Risky" validations we use a  ______

try-catch

200

What is the purpose of Encapsulation in regards to OOP?

Deals with data security. Turning fields private/protected and only keeping specific methods public.

200

To get a JFrame to appear on screen, good practices demand these 3 items be a requirement.

Dimensions (width, height)

Set Visibility to True

Set Default Close Operation

200

Often identified from the 'new' keyword. _____ Are bundles of data stemming from classes.

objects

200

____ and ____ are the two most common types of algorithms used with Data Structures.

Sorting and Searching

200

This block, often following a try-catch, is meant to clean up any messes left over.

finally

300

List<String> myList = new ArrayList<String>();

Demonstrates what fundamental of OOP?

Polymorphism

300

Name 5 different GUI components found in Java's Swing Framework.

JButton, JLabel, JPanel, JFrame, JTextField, JRadioButton, JCheckBox, JTree, JWindow 

(and many many more)

300

These diagrams are often used to explain class definitions and relationships

Unified Modeling Language (UML) diagram

300

This sorting algorithm, often considered the most basic, works by comparing and swapping all adjacent elements in a data structure.

Bubble Sort

300

When using a try-catch to connect to the internet, or a database, or read a file. It's important to make sure you ____ the connection or file once you are done with it.

Close!!

400

In Java, when inheriting a parent class, the subclass has a crucial limitation within its constructor. What is this limitation?

Only allowed to Inherit 1 superclass

400

To give a clicked button some sort of function, we implement the interface know as what?

ActionListener

400

When compiled, Java source code is broken down into _____

Bytecode

400

This sorting algorithm works by finding the smallest element in a data structure then comparing and swapping it with the first unsorted element.

Selection Sort.

400

When unable to locate a file, Java throws this Exception that needs to be caught.

FileNotFoundException

500

In Java, an Interface is often considered the purest form of this OOP fundamental.

Abstraction

500
In GUI programming, what is the difference between an Action and an Event?

Event: An object's state was changed. Triggered by something such as a button was clicked, or a textbox is being typed in currently.

Action: A process that occurs after/before/during an event. e.g. Created a new window when a button was clicked. Or, change text color when we hover over the text.

500

Explain the difference between the JVM, the JDK, and the JRE.

JRE: The environment that contains the JVM, and necessary libraries to run java applications.

JVM: Core engine for java compilation and interpretation. The environment required surrounding all Java Programs.

JDK: The development kit required to code java applications

500

These two methods are used in an ArrayList to assist with comparisons and assist with swapping.

.get()

.set()

500

This common exception method is used to output a detailed trace of where the exception occurred.

printStackTrace()

M
e
n
u