Miscellaneous
Strings
OOP Concepts
Loops/Conditionals
100

What are olympic bronze medals primarily made out of?

Copper
100

This kind of string, immutable and defined in code, is delimited by double-quotes (e.g. "Hello")

What is a string literal?

100

When a method name has more than one body defined, differentiated by unique lists of parameters, they are called this.

an overloaded method

100

int x = 1; 
  while (x != 100)   
      x*=2;
System.out.println(x);

This is the the result of the executing the code above.

What is an infinite loop?
200

In what modern video game can you purchase "v-bucks"?

Fortnite

200

"abcdefgh".substring(2, 4)

What is "cd"?

200

What are the special methods that have headers of public and the name of the class?

Constructors

200
The number of times the following nested loop structure will execute the inner most statement (x++)

for(int j = 0; j <= 100; j += 2)
	for(int k = 100; k > 0; k--)
	   x++;
What is 5100?
300

What does “Hakuna matata” mean?

no worries

300
"Hello".length() % 4 - 2*"Hello".indexOf("l")
What is -3?
300
To use an object, you must do these two things.
What are Declare and Instantiate?
300

if (num > 0)
    if (num < 10)
        System.out.println("AAA");
else
        System.out.println("BBB");

This is printed after executing the code above if num = 20.

What is BBB?

400

Which of these Pokemon is a psychic type?

Budew

Darkrai

Mime jr

Raichu


mime jr.

400

what is the output?

System.out.println("hi".indexOf("z"))

-1

400

If my object created in a test class is this:

Class myObj = new Class (3, false);

What would the constructor header look like?

public Class (int a, boolean b) 

400

What does the following print?

for (int i = 3; i <= 9; i++)
{   for (int j = 6; j > 0; j--)   {       System.out.print("*");   

}  

 System.out.println();
}

A rectangle of 7 rows and 6 stars per row.

500
Name the 8 eevee evolutions


vaporeon


flareon

jolteon

espeon

umbreon

leafeon

glaceon

sylveon



500
"adbcefg".substring(1, 3 * "abcd".indexOf("acbcd".substring(2)) + 1)
What is "dbc"?
500

what does toString do?

the toString method allows a user to print out the contents of an object without the console outputting Hash code.
500

What is printed as a result of the following code segment?

for (int k = 0; k < 20; k+=2) {  

 if (k % 3 == 1) {     

System.out.println(k + " ");

}
}

4 10 16