Answer the following statements true (T) or false (F)

1. A partially filled array is normally accompanied by an integer variable that indicates the number of items actually stored in the array.
2. A search algorithm is a technique for scanning through an array and rearranging its contents in some specific order.
3. It is critical to use reference parameters in any method that must be able to change the values of the items passed to it as arguments.
4. The primary advantage of the binary search algorithm is simplicity, but its primary disadvantage, however, is inefficiency.
5. A two-dimensional array can be thought of as having rows and columns of elements.


1. TRUE
2. FALSE
3. TRUE
4. FALSE
5. TRUE

Computer Science & Information Technology

You might also like to view...

To create extra screen space for comments, you can hide the reading pane

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of these is the arithmetic operator for multiplication used in Access expressions?

A) X B) * C) + D) /

Computer Science & Information Technology

When cell C3 containing the formula =B6*C8 is copied to cell D2, the formula in cell D2 is ________

A) =B6*C8 B) =C5*D8 C) =B6*B7 D) =C5*D7

Computer Science & Information Technology

Which of the following is a valid example of a file identifier in the header of a file?

a. ~~~*PH b. START __ -- __ -- PNG c. %PNG d. None of the above

Computer Science & Information Technology