Data Types
Method Calls
Logic Operators
Arithmetic Operators
Boolean Expressions and If Statements
100

Variables with this data type can store positive or negative whole numbers.

What is int?

100

public void getReady(){

     wakeUp();

     takeShower();

     getDressed();

     eatBreakfast();

     goToSchool();

}

When you getReady(), first you do this:

What is wakeUp?

100

>

This operator is called:

What is "greater than"?

100

x = 10;

x *= 2;

What is the new value of x?

What is 20?

100

This is the boolean value of:

1 > 3

What is "false"?

200

Variables of this data type can store decimal numbers.

What is double?

200

public void getReady(){

     wakeUp();

     takeShower();

     getDressed();

     eatBreakfast();

     goToSchool();

}

When you getReady(), the last thing you do before you goToSchool() is this:

What is "eatBreakfast()"?

200

||

This operator is called:

What is "OR"?

200

x = 7;

x = x + 5;

What is the new value of x?

What is 12?

200

This is the boolean value of

"bob" = "bob"

What is "true"?

300

Variables of this data type can store only one of two possible values at any given time.

What is boolean?

300

Buko is a cat.


buko.meow();


Buko does this when this code runs:

What is "meow"?

300

==

This operator is called...

What is "equal to"?

300

x = 10;

x -= 5;

What is the new value of x?

What is 5?

300

You do this when this code runs and Jack says "jump":

if(jump.says("jump")){

    jump();

}

What is "jump"?

400

Each one of these "big ideas in Java" can also be a data type.

What is an object?

or

What is a class?

400

Buko is a cat.


     buko.color1 = "White";

     buko.color2 = "Black";

     buko.furPattern = "Tuxedo";

     System.out.println(buko.furPattern);


If the code above runs, this gets printed:

What is "Tuxedo"?

400
!= 

This operator means...

What is "not equal to"?

400

x = 10;

y = 2;

x = x / y;

What is the new value of x?

What is 5?

400

You do this when this code runs and Jack does not say "jump":

if(!jack.says("jump")){

   jump();

}

What is "jump"?

500

You do this when you convert one kind of data into another type of data.

What is casting?

500
public String printName(String yourName){

     System.out.println(yourName);

}

you.printName();

When the code above runs, this is printed out:

What is (well, it depends, right?)?

500

&&

This operator means...

What is "AND"?

500

x=10;

x++;

x--;

What is the final value of x?

What is 10?

500
If this code runs and it is not thundering or raining:


if(thundering){

     goInside();

}

else if(raining){

     putOnRaincoat();

}

else{

     keepPlaying();

}

What is "keep playing"?