Java Basics
Variables and Data types
Strings and operators
Conditionals
Loops
100

This punctuation mark is used to end every Java command.

What is a semicolon?


100

This data type can only store the values true or false.

What is boolean?

100

This operator (+) combines two strings into one.

What is concatenation?

100

 This keyword is used to test a condition and execute code if it's true.

 What is if?

100

This type of loop continues as long as a condition remains true.

What is a while loop?

200

This programming language was first released in 1995 and was used to create Minecraft.

What is java?


200

This data type stores a single character and uses single quotes around the value.

What is char?

200

In Java, strings use these quotation marks around text.

What are double quotes?

200

This logical operator (&&) requires both conditions to be true.

What is AND?


200

This statement immediately stops a loop even if the condition is still true.

What is break?

300

When programmers learn a new language, they traditionally start by printing this phrase to the console.

What is "Hello, world!"?

300

When you first define a variable and give it a value, this process is called _____.

What is initialization?

300

This operator (%) gives you the remainder after division.

What is modulus?


300

This symbol (==) is used to check if two values are equal, while this symbol (=) assigns a value.

What is double equals for comparison and single equals for assignment?

300

This type of loop is best when you know exactly how many times you want to repeat something.

What is a for loop?

400

These symbols { } are used to group blocks of code together in Java.

What are curly brackets (or braces)?

400

This data type stores whole numbers without decimals, like 1, 35, or -94.

What is int (integer)?

400

String indexing in Java starts with this number, not 1.

What is 0 (zero)?

400

This statement catches anything that isn't caught by the preceding if condition.

What is else?

400

This statement skips the current iteration and continues with the next one.

What is continue?


500

This famous video game was created using Java and involves building with blocks.

What is Minecraft?


500

Variable names should follow this naming convention where the first word is lowercase and subsequent words start with capital letters.

What is camelCase?

500

To compare if two strings have the same content, you should use this method instead of ==.

What is .equals()?

500

This logical operator (!) flips boolean values, making true become false.

What is NOT?

500

This type of loop structure has one loop inside another loop.

What are nested loops?

M
e
n
u