The basics
Loops
Teacher Trivia
100

How would you save a whole number as a variable?

int age = 36;

100

Name 2 types of loops

for, while

100

What is our teacher's last name?

Zimny

200

How would you save a non-whole number as a variable?

double gpa = 3.6;

200

How would you establish a while loop

While (stuff = something){

}

200

How many kids does our teacher have

2

300

How do you print a line of code

System.out.print("Hello world!");

300

How would you start a for loop?

for (int i = 0; i <10; i++){

}

300

What is our teachers middle name?

Daniel

400

How would you declare a new scanner?

Scanner name = new Scanner(System.in);

400

How would you compare a String in a while loop

while (String.equals("Zimny")){

}

400

What haircut does our teacher have in the photo on his birthday poster? (located in his closet)

buzzcut

500

What package would you need to import to use features such as a Scannner

import java.util.*;

500

What would this display:

int i = 0;

while(i <= 2){

  i = i + 1;

  System.out.println("A");

}


AAA

500

What is our teacher's job in the Durham Ultimate Club?

President/Board of Directors

M
e
n
u