Exam 19: Searching, Sorting and Big O

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

What does the first pass of selection sort do?

Free
(Multiple Choice)
4.8/5
(28)
Correct Answer:
Verified

D

What is the efficiency of merge sort?

Free
(Multiple Choice)
4.8/5
(34)
Correct Answer:
Verified

C

What is the base case for the recursive merge sort algorithm?

Free
(Multiple Choice)
4.7/5
(36)
Correct Answer:
Verified

C

What does each iteration of the insertion sort algorithm do?

(Multiple Choice)
4.9/5
(45)

How many comparisons will the linear search algorithm make if the search key is not in an array of 10 elements?

(Multiple Choice)
4.9/5
(42)

Which of the following sorting algorithms is the fastest?

(Multiple Choice)
4.8/5
(41)

What is the efficiency of linear search?

(Multiple Choice)
4.9/5
(27)

Which of the following is a way to sort data?

(Multiple Choice)
4.8/5
(39)

What is the term used for binary search's run time?

(Multiple Choice)
4.9/5
(33)

Which of the following is not a name for a big O run time?

(Multiple Choice)
4.8/5
(38)

Which of the following is a negative of binary search?

(Multiple Choice)
4.9/5
(45)

What is the efficiency of selection sort?

(Multiple Choice)
5.0/5
(38)

What is the maximum number of comparisons required to find a search key in a 31-element array?

(Multiple Choice)
4.9/5
(34)

How much faster is insertion sort with a 15-element array than with a 60-element array?

(Multiple Choice)
4.8/5
(38)
close modal

Filters

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