How would you save a whole number as a variable?
int age = 36;
Name 2 types of loops
for, while
What is our teacher's last name?
Zimny
How would you save a non-whole number as a variable?
double gpa = 3.6;
How would you establish a while loop
While (stuff = something){
}
How many kids does our teacher have
2
How do you print a line of code
System.out.print("Hello world!");
How would you start a for loop?
for (int i = 0; i <10; i++){
}
What is our teachers middle name?
Daniel
How would you compare a String in a while loop
while (String.equals("Zimny")){
}
What haircut does our teacher have in the photo on his birthday poster? (located in his closet)
buzzcut
What package would you need to import to use features such as a Scannner
import java.util.*;
What would this display:
int i = 0;
while(i <= 2){
i = i + 1;
System.out.println("A");
}
AAA
What is our teacher's job in the Durham Ultimate Club?
President/Board of Directors