Exam 3: The Efficiency of Algorithms

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

What is the definition of order of magnitude n?

(Short Answer)
4.9/5
(42)

Selection sort is a(n) ____ algorithm in all cases.

(Multiple Choice)
4.9/5
(36)

The time an algorithm takes on a particular machine is the best way for comparing two algorithms that do the same task.

(True/False)
4.9/5
(40)

Discuss at length the measurement of the time and space consumed by an algorithm in order to determine its efficiency.

(Essay)
4.9/5
(35)

Discuss at length how binary search operates.

(Essay)
4.9/5
(36)

What is the logarithm of n to the base 2?

(Short Answer)
4.8/5
(36)

The worst case in binary search occurs ____.

(Multiple Choice)
4.8/5
(33)

A(n) ____________________ is a path through a graph that begins and ends at the same node and goes through all other nodes exactly once.

(Short Answer)
4.8/5
(45)

Q(lg n), Q(n) and Q(n²) are ____ in the amount of work they do as n increases.

(Multiple Choice)
4.8/5
(41)

With sequential search, the bigger the list of items, the more work that must be done to search it. _________________________

(True/False)
4.9/5
(31)
Showing 41 - 50 of 50
close modal

Filters

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