Level 0
Level 1
Level 2
Level 3
San Diego Attractions
100

The type of variable in the code below.

______ isWeekday = false;

What is boolean?

100

An object can not be created in Java without this key word.

What is "new"?

100

This variable returns the number of elements in an array.

What is 'length'?

100

The method that is used to add items to a HashMap?

What is 'put'?

100

This large, centrally located park was created in 1915-1916 for the Panama California Exhibition.

What is Balboa Park?

200

When this method is called, a pop-up box is created with text and an area for the user to type a response.

What is JOptionPane.showInputDiaglog()?

200

A _____ is the blueprint from which individual objects are created.

What is a class?

200

True or False. In Java, you can make an ArrayList of a primitive type, e.g. ArrayList<int> arrList;

What is False?

200

This sort is the most inefficient sorting algorithm in Level 3.

What is Bogo sort?

200

Located east of Escondido, you can ride a caravan and see giraffes and rhinos at this attraction.

What is the San Diego Safari Park?

300

In an 'if' statement, the method needed to check if two Strings contain the same text?

What is .equals()?

300

The name of the return type when a method has no return value.

What is "void"?

300

The output when 'arrList.get( 3 )' is called after the code above.

What is a compiler error?

300

These two methods remove and add items to a Stack.

What are 'push' and 'pop'?

300

This attraction was established in 1913 to commemorates Juan Rodriguez Cabrillo's "Voyage of Discovery" from Navidad, Mexico, on June 27, 1542.

What is Cabrillo National Monument?

400

This method is used to turn a number stored as a String into an integer, e.g. "5" to 5.

What is parseInt() or Integer.parseInt()?

400

This routine is similar to a method, but it is only called when a new object is created. Its purpose is to prepare a new object for use.

What is a constructor?

400

The line of code with the error and why.

What is  the 'add' method call because you can not add to the size of an array after it's created?

400

The values of the variables 'i' and 'j' after this code is run.

What is i = 5, j = 10?

400

This attraction was once one of the US military's largest ships and is now located on the San Diego waterfront on the Embarcadero.

What is the USS Midway?

M
e
n
u