Heapsort uses

a. percolate up only
b. percolate down only
c. both percolate up and percolate down
d. neither percolate up nor percolate down


B

Computer Science & Information Technology

You might also like to view...

What is the output of the following code?

``` public class Test { public static void main(String[] args) { String s1 = "Welcome to Java!"; String s2 = "Welcome to Java!"; if (s1 == s2) System.out.println("s1 and s2 reference to the same String object"); else System.out.println("s1 and s2 reference to different String objects"); } }``` a. s1 and s2 reference to the same String object b. s1 and s2 reference to different String objects

Computer Science & Information Technology

____ is a popular music format limited to instrumental music, and cannot be used for general sounds.

A. WAV B. MP3 C. AIFF D. MIDI

Computer Science & Information Technology

R2 values range from ________

A) 10 to 0 B) -1 to 2 C) -1 to 1 D) 1 to 0

Computer Science & Information Technology

In the Tracking Gantt chart, which bars are blue?

A. variance bars B. critical bars C. noncritical bars D. baseline bars

Computer Science & Information Technology