In a bubble sort, what order are the elements in an array placed using the following call to a swap module?

// the array is named scores
// d is the index value of an array element
If scores[d] < scores[d + 1] Then
Call swap(scores[d], scores[d + 1])

a. ascending
b. descending
c. alphabetic
d. numeric


b. descending

Computer Science & Information Technology

You might also like to view...

________ is the closeness of agreement between the result of a measurement and the true value of the measured.

A) Precision B) Sensor C) Accuracy D) Resolution

Computer Science & Information Technology

Something that has absolute uniformity in all its characteristics in all directions is called _____________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

What must you do once a text box has been converted to a combo box?

A) Set a source for the combo box B) Set a default value C) Create a validation rule D) Create an input mask

Computer Science & Information Technology

The ____ event is triggered when the selection of a ComboBox object is changed.

A. SelectedIndexChanged B. SelectionAdjusted C. NewSelection D. NewIndex

Computer Science & Information Technology