Quiz #2
Wednesday
With a piece of paper, write down your name and answers to the following questions.
The index to the last element of an array is:
- 100
- 0
- The length of the array
- One less than the length of the array
This search algorithm repeatedly divides the portion of an array being searched in half:
- Binary Search
- Sequential Search
- Selection Search
- Iterative Search
This type of method cannot access any non-static member variables in its own class.
- instance
- void
- static
- non-static
What is the output of the following program.
public final class Program { public static void main(final String[] args) { final int[] numberArrayOne = new int[] { 1, 2, 3 }; final int[] numberArrayTwo = new int[] { 1, 2, 3 }; if (numberArrayOne == numberArrayTwo) { System.out.println("YES"); } else { System.out.println("NO"); } } }
Answer:
NO
Student Performance and Statistics
A histogram of student performance on percentage grades for Quiz 2 on Wednesday.
A table showing the average performance for each question in Quiz 2 on Wednesday.