Exam 2: Analysis of Algorithms
Exam 1: Introduction36 Questions
Exam 2: Analysis of Algorithms31 Questions
Exam 3: Introduction to Collections - Stacks49 Questions
Exam 4: Linked Structures - Stacks51 Questions
Exam 5: Queues28 Questions
Exam 6: Lists42 Questions
Exam 7: Iterators32 Questions
Exam 8: Recursion57 Questions
Exam 9: Searching and Sorting54 Questions
Exam 10: Trees47 Questions
Exam 11: Binary Search Trees50 Questions
Exam 12: Heaps and Priority Queues29 Questions
Exam 13: Sets and Maps47 Questions
Exam 14: Multi-Way Search Trees47 Questions
Exam 15: Graphs29 Questions
Exam 16: UML16 Questions
Exam 17: Object-Oriented Design54 Questions
Select questions type
The analysis of nested loops must take into account both the inner and outer loops.
(True/False)
4.8/5
(35)
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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)