Exam 2: Analysis of Algorithms

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

Which Growth function has the highest order?

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

C

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

Free
(Short Answer)
4.7/5
(39)
Correct Answer:
Verified

growth

Algorithm ______ is a fundamental computer science topic.

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

analysis

How do we use the growth function of an algorithm to determine its order?

(Essay)
4.8/5
(32)

Software must make efficient use of resources such as CPU time and memory.

(True/False)
4.8/5
(42)

If the algorithm is inefficient, a faster processor will help.

(True/False)
4.8/5
(35)

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

(True/False)
4.8/5
(40)

How do we determine the time complexity of a method call?

(Essay)
4.7/5
(31)

The following code segment has ______ time complexity? The following code segment has ______ time complexity?

(Multiple Choice)
4.8/5
(39)

Software must make efficient use of resources such as _______ and _______ .

(Multiple Choice)
4.9/5
(34)

Which of the following has the smallest time complexity?

(Multiple Choice)
4.8/5
(38)

The order of an algorithm provides a lower bound to the algorithm's growth function.

(True/False)
4.8/5
(38)

Method calls are always O(n).

(True/False)
4.9/5
(36)

How do we determine the time complexity of a loop?

(Essay)
4.8/5
(32)

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

(Short Answer)
4.8/5
(49)

If the algorithm is ______, a faster processor will not help in the long run.

(Short Answer)
4.9/5
(36)

The analysis of nested loops must take into account both the ______.

(Short Answer)
4.8/5
(36)

What is the difference between the growth function of an algorithm and the order of that algorithm?

(Essay)
4.7/5
(37)

What is the order of the following growth function? t(n)= 5nlogn + 20n - 4

(Multiple Choice)
4.9/5
(33)

What is the time complexity of the following loop? What is the time complexity of the following loop?

(Multiple Choice)
4.8/5
(38)
Showing 1 - 20 of 31
close modal

Filters

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