Math
Java Basics
Conditionals
Miscellaneous
Strings
100

10 % 4 * 2

4

100

What primitive type is used for decimal values?

double

100

a law that says

NOT (A AND B) is equivalent to NOT A OR NOT B

NOT (A OR B) is equivalent to NOT A AND NOT B


DeMorgan's Law

100

Which Pokémon is this?


Lucario


100

System.out.print("computer".substring(4));

What is "uter"?

200

11 / 2 * 3

What is 15 ?

200

What primitive type can only hold true or false values?

boolean

200

The output of: 

if (5 * 7 < 4 * 9 && 0 == 0) 

return true;
else 

return false;

true

200

Who is this?

Yoshi

200

System.out.print("catastrophe".indexOf("z"));

What is -1?

300

10/4.0

What is 2.5 ?

300

What is the value of x after the following sequence of statements?

int x = 10;

x--;
x++;

x % 2

0

300

When the result of a logical expression using && or || can be determined by evaluating only the first Boolean operand, the second is not evaluated.

Short-circuit evaluation

300

An Olympic gold medal is mostly comprised of what metal? 

It's 92.5% silver.

300


String a = "apple";

System.out.print(a.substring(1,2));

What is "p"?

400

(int) (10.01 / 4.99)

What is 2 ?

400

What is the output by the code below?
int x = 9;
double y = x;
System.out.println(y);








What does the following evaluate to?

!(x || y) == ((!x) & (!y))

What is 9.0?

400

Write a conditional to test to see if a number n is odd 

if (n % 2 == 1){

return true;

}

else{

return false;

}

400

What was the first Pixar movie?

Toy story

400

System.out.println(("13" + "16");

What is the output?











"catastrophe".substring(0);

1316, the two numbers concatenate together

500

(double) (10/4)

What is 2.0 ?

500

converting from one data type to another

What is casting?

500

!(x!=5 && y!=7)


Using demorgans law, What is the equivalent to this?

(x == 5) || (y == 7)

500

What technology company was founded in 1993 with the vision that the next wave of computing would be graphics-based? The company took its name from the Latin word for "envy" and features product families GeForce, Quadro, and Tegra.

Nvidia

500

System.out.print("taco".length());

What is 4