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.