Exam 8: Sorting

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

The method sort(int[] items), in class java.util.Arrays, sorts the array item in ascending order.

(True/False)
4.7/5
(31)

Insertion sort is an example of a(n) ____________________ sorting algorithm.

(Short Answer)
4.8/5
(32)

In merge sort, the total effort to reconstruct the sorted array through merging is ____.

(Multiple Choice)
5.0/5
(40)

The best sorting algorithms provide ____ average-case behavior and are considerably faster for large arrays.

(Multiple Choice)
4.9/5
(45)

The improvement of Shell sort over insertion sort is much more significant for small arrays.

(True/False)
4.7/5
(40)
Showing 21 - 25 of 25
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)