CS Terminology
Minecraft Lore (Open)
What does it print? (Open)
Variables
is it a Syntax Error?
100

What is an algorithm? 

The steps needed to solve a problem

100

What is the name of the male character in Minecraft? 

Steve!

100

int myNum = 15;
myNum = 20;  
System.out.println(myNum);

20

100

Is this a variable? 

Int joker = 3;

No! The i in Int is capitalized! Remember, String is the only variable that starts uppercase! 
100

int = 12;

Yes! Every variable needs a name! 

200

What are variables? 

a named container that holds data

200

Name a block that has a hardness of 50

Obsidian, crying obsidian, and netherite blocks are all expectable answers! 

200

int x = 10;

int y = 20;

int z = x + y;

System.out.println(z);

30

200

What kind of data is held in variables? 

Data Types! 

200

int x = 234 - 23123;

No! No matter the size of the number, integer can take both positive and negatives

300

(T/F) Java is an Object Oriented Programming Language (OOP)

True!

300

What are baby sniffers called? 

a snifflet!

300

int x = 10;

int y = 20;

x += y + x;

System.out.println(x);

40
300

String name = "John";
System.out.println(name + name);

it would print JohnJohn

300

Scanner myObj = new Scanner(System.in);

String userName = myObj.nextLine();

System.out.println("Username is: " + userName);  

No! This is how we use scanners correctly! 

400

What are scanners? 

 Receives user input

400

There is a 1 in 9 chance that this block spawns 4 blocks tall

Sugar Cane! 

400

int x = 5;

int y = 20;

int z = x * y;

x = y * z;

System.out.println(y);

20

400

What do we add at the end of float variables? 

f! The f lets the computer know we are using float variables 

400

Do you need "public static void main(String[] args)" in every program? 

Yes! Without this code in the beginning, our code would not work at all! 

500

What is // 

Makes comment in our code

500

What jungle mob does not spawn in peaceful mode ONLY in Java edition

Ocelots! 

500

String txt = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
System.out.println("The length of the txt string is: " + txt.length());

The length of the txt string is: 26

500

Why do we use floats instead of doubles? 

Floats take less memory and we are not using large decimal numbers! 

500

System.out.println("Hello World! It is time for us to eat dinner");
System.out.print("I am learning Java for the rest of the week.")
System.out.println("It is awesome! I am a huge fan of Minecraft, I cant wait till break time!");

yes! The second print statement is missing a semicolon (;)

M
e
n
u