What is the complexity of a selection sort?

A. O(n2)
B. O(n)
C. O(log2n)
D. O2

Answer: A

Computer Science & Information Technology

You might also like to view...

Users can add controls from the ________ Tab in Design View

A) Design B) Home C) Create D) Format

Computer Science & Information Technology

Which of the following combinations for text and background should you avoid? In each case, give your reasons. To find the answer, it may help to convert the colors to a different color model or to refer to a color wheel. You can do this by either using either the “Color Spaces” software or by accessing the color selection dialog in a commercial paint package.

a. Text: (60,100,0) HSB Background: (180,10, 100) HSB b. Text: (0,0,100) HSB Background: (180,0 100) HSB c. Text: (0,0,0) HSB Background: (180, 0, 100) HSB d. Text: (0,100,100) HSB Background: (120,100,100) HSB e. Text: (300,70,100) HSB Background: (0, 70, 100) HSB f. Text: (60, 70, 100) HSB Background: (120, 0, 100) HSB

Computer Science & Information Technology