Quiz 9

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/9

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

10 Terms

1
New cards

The best method to select a pivot in quick sort is selecting the first element as pivot.

False

2
New cards

Radix sort operates in O(n+w) time, where w is the number of digits.

False

3
New cards

Merge sort can be used both as an internal and an external sort

True

4
New cards

Quick sort requires more space than Radix sort.

False

5
New cards

The worst case computing time of quick sort is O(n*logn).


False

6
New cards

Which of the following array is created after the first iteration of Radix sort, when the array contains {67,22,44,79,25,81,56,38}?

{81,22,44,25,56,67,38,79}

7
New cards

Since Radix Sort depends on digits or letters, Radix Sort is much less flexible than other sorts.

True

8
New cards

The worst case computing time of merge sort is O(n*logn).

True

9
New cards

Which of the following array is the result of the split operation, when the array contains {20,22,14,19,25,12} and 20 is selected as pivot in quick sort?

{19,12,14,20,25,22}

10
New cards

Which of the following array is created after the first iteration of binary merge sort, when the array contains {17,22,14,19,25,12,9,7}?


{17,22,14,19,12,25,7,9}