Exam 18: Searching and Sorting Algorithms

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

What does these terms refer to: - \gg bubble sort:

Free
(Short Answer)
4.9/5
(41)
Correct Answer:
Verified

a sort algorithm that sorts a list by comparing successive pairs of elements in the list and swapping those elements if they are out of order

What does these terms refer to: - \gg asymptotic:

Free
(Short Answer)
4.8/5
(35)
Correct Answer:
Verified

the study of a function of n as n becomes larger and larger without bound

What does these terms refer to: - \gg comparison-based search algorithm:

Free
(Short Answer)
4.9/5
(37)
Correct Answer:
Verified

a search algorithm that searches a list by comparing the target element with the list elements

What does these terms refer to: - \gg root:

(Short Answer)
4.9/5
(29)

Define a key comparison.

(Short Answer)
4.8/5
(31)

What does these terms refer to: - \gg target:

(Short Answer)
4.9/5
(38)

What does these terms refer to: - \gg selection sort:

(Short Answer)
4.9/5
(46)

What does these terms refer to: - \gg pivot:

(Short Answer)
4.9/5
(33)

If L is a sorted list of size 1024, at most ____ comparisons are needed to determine whether x is in L using binary search.

(Short Answer)
4.7/5
(28)

What does these terms refer to: - \gg key:

(Short Answer)
4.7/5
(43)

For a comparison tree, how many leaf nodes are there for a list containing five items? In other words, how many permutations are there?

(Short Answer)
4.8/5
(45)

What does these terms refer to: - \gg Big-O:

(Short Answer)
4.7/5
(36)

What does these terms refer to: - \gg leaf:

(Short Answer)
4.9/5
(38)

What does these terms refer to: - \gg path:

(Short Answer)
4.8/5
(45)

What does these terms refer to: - \gg merge sort:

(Short Answer)
4.8/5
(35)

Binary search requires a sorted list.

(True/False)
4.8/5
(31)

What does these terms refer to: - \gg node:

(Short Answer)
4.7/5
(41)

What does these terms refer to: - \gg quick sort:

(Short Answer)
4.9/5
(41)

What does these terms refer to: - \gg branch:

(Short Answer)
4.9/5
(34)

What does these terms refer to: - \gg binary tree:

(Short Answer)
4.9/5
(37)
Showing 1 - 20 of 28
close modal

Filters

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