Strings
Arrays
Number Systems
Misc.
Classes
100

This is the method that tells you how long your string is.

What is .length()?

100

This is what is returned when you call in indexOf for something that is not in an array.

What is -1?

100

Convert 10000 in binary to decimal.

What is 16?

100

These are the three parts of any type of iteration.

What are initialization, condition, and incrementation?

100

An instance of a class is called this.

What is an object?

200

If you have String s = "Don't eat cookies"; and you print out s.substring(10,14), this is what gets printed.

What is cook?

200

This is the difference between using a "for" loop with an array and a "for each" loop.

What is for-each loops can only be used to access elements in an array, while for loops can be used to change elements in an array?

200

Convert 72 from octal to decimal.

What is 58?

200

The difference between style and syntax.

What is syntax is something that the computer cannot read because it is incorrect and style is readable by the computer and the choice of the programmer?

200

An object's data elements are called this.

What are fields?

300

This is the escape character for a new line.

What is \n?

300

The result of this segment of code:

int []x={1, 3, 5, 7, 9, 11};

int sum = 0;

for(y:x)

{

   sum+=y;

}

What is the elements of the array get added together and the sum is equal to 36?

300

Convert 429 from decimal to hex.

What is 1AD?

300

The equivalent expression to !(A&&!B).

What is !A||B?

300

These are procedures for creating an object.

What are constructors?

400

Explain what it means when it is said that strings are immutable.

What is strings make new strings and cannot just have a method upon them without setting it equal to a string?

400

The way to access individual elements of the array.

What is using it's index?

400

Convert B9E from hex to octal.

What is 5636?

400

The use of a switch statement.

What is to simplify code where you would otherwise have a lot of if/else cases?

400

These are inherited from a parent class.

What are fields and methods?