Back to the
(Java) Basics
Strings & Conditional Things
Loops & Groups
Methods to the Madness
The Bigger Picture
100

A container that holds data

What is a variable?

100

This string method returns the number of characters in a string.

What is length()?

100

The two types of loops we've covered in the course

What is for loops and while loops?

100

Methods are defined inside a ______________, and cannot be defined outside of it.

What is a class?

100

This is what AI stands for.

What is Artificial Intelligence?

200

This data type only has two possible values.

What is a boolean?

200

This keyword allows us to check a condition and execute a block of code based on that condition.

What is if?

200

This type of loop in Java is best used when the number of iterations is known in advance.

What is a for loop?

200

While parameters are placeholders defined in a method, the actual values passed into the method are called ______________.

What are arguments?

200

This is what malware is short for.

What is malicious software?

300

One of these symbols is an assignment operator, while two of them together is a comparison operator.

What is the equals sign? (= is to assign a variable a value, == is comparing two values)

300

This method allows us to check if two strings contain the same word.

What is equals()?

300

This collection of items is similar to an array, but does not have a fixed size.

What is an ArrayList?

300

______________ allows you to define multiple methods with the same name, but with different parameters. 

What is method overloading?

300

This stage of the Software Development Life Cycle focuses on fixing bugs and verifying functionality.

What is testing?

400

This logical operator combines two boolean expressions and returns true if both are true.

What is AND? (&&)
400

This is the result of "pineapple".indexOf("e")

What is 3?

400

This happens when a loop's condition is never false, causing it to run forever.

What is an infinite loop?

400

This keyword is used inside a method, to give back a value to the caller of that method.

What is return?

400

CPU, GPU, Motherboard, RAM are all examples of this (2 words).

What is hardware?

500

This term refers to the concept of converting one data type to another. There are two types, wide and narrow.

What is type-casting?
500

This is the result of the following code:

String str = "Java Programming";  

if (str.charAt(6) == 'R') {  

    System.out.println("Yes");

} else {  

    System.out.println("No");

}


What is No?

500

This is how you access the last element in an array with 10 elements using its index.

What is array[9]?

500

These are the three parts of a method declaration.

What is the return type, the method name, and the parameter list?

500

The concept of splitting a problem into smaller subproblems, solving them independently, and then combining the solutions.

What is divide and conquer?