Answer the following statements true (T) or false (F)
1. The sequential search algorithm is the simplest of all array searching algorithms.
2. An array and the variable that references it hold the same value.
3. If you want to make a separate copy of an array, you must create the second array in memory and then copy the individual elements of the first array to the second. This is known as a deep copy.
4. You can use the == operator to compare two array reference variables and determine whether the array contents are equal.
5. The first step in calculating the average of all values in a numeric array is to get the total of the values, and the second step is to multiply the total by the number of elements in the array.
1. TRUE
2. FALSE
3. TRUE
4. FALSE
5. FALSE
You might also like to view...
In the accompanying figure, the item marked 5 is the Insert ____..
A. panel B. menu C. window D. feature
Which of the following does the ODBC not allow system administrators to maintain?
a) accounts b) server functions c) passwords d) mailing lists