Selection sort requires ________ passes to put n data items in order.

A) n
B) n / 2
C) n / 2 + 1
D) n - 1
E) n + 1


D) n - 1

Computer Science & Information Technology

You might also like to view...

What is an extended virtual connection?

What will be an ideal response?

Computer Science & Information Technology

External hard drives are intended to be portable

Indicate whether the statement is true or false

Computer Science & Information Technology

Digits, letters and special symbols are referred to as ______.

a) constants b) ints c) strings d) characters

Computer Science & Information Technology

If n = 25 and this statement is executed: n--; , then the new value of n is ____________________.

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

Computer Science & Information Technology