Exam 3: The Efficiency of Algorithms

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

Binary search does ____ comparisons in the worst case.

(Multiple Choice)
4.9/5
(40)

____ is the algorithmic equivalence of style.

(Multiple Choice)
4.8/5
(40)

A surprising number of problems fall into the "____" category.

(Multiple Choice)
4.8/5
(43)

____ involves the fixing of errors that are uncovered through repeated usage with different input values.

(Multiple Choice)
4.9/5
(33)

____ are useful for rating one machine against another and for rating how sensitive a particular algorithm is with respect to variations in input on one particular machine.

(Multiple Choice)
4.9/5
(38)

Discuss at length both the best and worst case of the pattern-matching algorithm.

(Essay)
4.8/5
(38)

Given the data cleanup problem described in the text, write the pseudocode for the converging-pointers algorithm for data cleanup.

(Essay)
4.9/5
(31)

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

(Multiple Choice)
4.9/5
(36)

A collection of nodes and connecting edges is called a(n) vector._________________________

(True/False)
4.8/5
(36)

How do you approach problems for which no known polynomial solution algorithm exists?

(Essay)
4.9/5
(38)
Showing 41 - 50 of 50
close modal

Filters

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