Exam 2: Analysis of Algorithms

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

The analysis of nested loops must take into account both the inner and outer loops.

(True/False)
4.8/5
(35)

What does a growth function show?

(Multiple Choice)
4.8/5
(27)

The time complexity of a loop is found by multiplying the complexity of the body of the loop by how many times the loop will execute.

(True/False)
4.8/5
(36)

The ______ of an algorithm is found by eliminating constants and all but the dominant term in the algorithm's growth function.

(Short Answer)
4.9/5
(31)

What is the O(_) of this growth function? ______ 3n4+n2+3n-867.5309

(Short Answer)
4.7/5
(34)

Speeding up the processor by a factor of 10 will increase the processing speed by a factor of 10 regardless of the efficiency of the algorithm.

(True/False)
4.8/5
(33)

The order of an algorithm provides an ______ to the algorithm's growth function.

(Short Answer)
4.9/5
(38)

The time complexity of a loop is found by multiplying the complexity of the ______ by how many times the loop will execute.

(Short Answer)
4.8/5
(32)

A growth function shows time or space utilization relative to the problem size.

(True/False)
4.7/5
(43)

The order of an algorithm refers to the asymptotic complexity of the algorithm's growth function.

(True/False)
5.0/5
(48)

Why does speeding up the CPU not necessarily speed up the process by the same amount?

(Essay)
4.7/5
(36)
Showing 21 - 31 of 31
close modal

Filters

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