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

1. In a bubble sort algorithm to be sorted in ascending order, after the first pass, the first element will hold the lowest value.
2. One drawback to the binary search is that it cannot be used with an array that contains string elements.
3. To use the binary search algorithm, the elements in the array must first be sorted in ascending or descending order.
4. When using the insertion sort algorithm, on the first pass the first two elements are sorted.


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

Computer Science & Information Technology

You might also like to view...

Following the rules of precedence

a. addition is done before subtraction b. multiplication is done after division c. multiplication is done before subtraction d. everything is done left to right

Computer Science & Information Technology

Which of the following is not an example of software that can be used when creating a podcast?

a. Sound Recorder b. Sound card c. Audacity d. Windows Live Movie Maker

Computer Science & Information Technology

Query data is exported from Access to a Word document but it is saved with a(n) ________ extension

Fill in the blank(s) with correct word

Computer Science & Information Technology

The ________ tier is the application’s user interface.

a) middle b) client c) bottom d) information

Computer Science & Information Technology