Exam 19: Searching and Sorting

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

The choice of which sorting algorithm to use does not affect:

Free
(Multiple Choice)
5.0/5
(41)
Correct Answer:
Verified

A

Which of the following is not a valid runtime description according to Big O notation?

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

D

The merge sort algorithm:

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

C

At most, how many comparisons are required to search a sorted vector of 1023 elements using the binary search algorithm?

(Multiple Choice)
4.8/5
(38)

An algorithm that requires __________ operations to complete its task on n data elements is said to have a linear runtime.

(Multiple Choice)
4.8/5
(34)

A merge sort operation runs in:

(Multiple Choice)
4.8/5
(27)

Which of the following is not true about searching algorithms and their efficiency?

(Multiple Choice)
4.8/5
(40)

Which of the following represents the efficiency of the insertion sort?

(Multiple Choice)
4.8/5
(42)

Selection sort has a Big O of:

(Multiple Choice)
4.9/5
(35)

The first step performed by the binary search algorithm at each iteration is to:

(Multiple Choice)
4.9/5
(36)
close modal

Filters

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