A bubble sort requires at most ______ passes to sort an array of n items.

a. n/2
b. n – 2
c. n – 1
d. n


c. n – 1

Computer Science & Information Technology

You might also like to view...

Write a declaration for an enumerated type that represents the months of the year.

What will be an ideal response?

Computer Science & Information Technology

Which of the following contains the other three?

(a) SIZE (b) FONT (c) COLOR (d) FACE

Computer Science & Information Technology

Floating?point arithmetic is seldom used to perform financial calculations. Why?

What will be an ideal response?

Computer Science & Information Technology

To change the print orientation from portrait to landscape, click the ____ button on the Print Preview tab.

A. Portrait/Landscape B. Orientation C. Landscape D. Switch Orientation

Computer Science & Information Technology