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

1. To swap the contents of two variables, a third variable must be used for temporary storage.
2. For a very large array, the fastest way to search for a value is to use the sequential search algorithm.
3. Sort algorithms can only be used on arrays that hold numeric values.
4. In a binary search of an array with 1,000 elements, if the search fails to find the item on the first attempt, then there are 999 elements left to search.


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

Computer Science & Information Technology

You might also like to view...

Which security tool works by recognizing signs of a possible attack and sending notification to an administrator?

A. DiD B. DMZ C. VPN D. IDPS

Computer Science & Information Technology

A macro that is saved as part of a report is not available for use in other reports or forms

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following describes video encoding?

A. The process of compressing a movie B. The process of preparing a move for output C. The process of optimizing a movie D. The process of using tags to embed a movie in a web page

Computer Science & Information Technology

?A _____ is located at the top of a webpage and identifies the site, often by displaying the business name or logo.

A. ?footer B. ?copyright label C. ?header D. ?navigation pane

Computer Science & Information Technology