Exam 3: The Efficiency of Algorithms
Exam 1: An Introduction to Computer Science50 Questions
Exam 2: Algorithm Discovery and Design50 Questions
Exam 3: The Efficiency of Algorithms50 Questions
Exam 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates50 Questions
Exam 5: Computer Systems Organization50 Questions
Exam 6: An Introduction to System Software and Virtual Machines50 Questions
Exam 7: Computer Networks and Cloud Computing50 Questions
Exam 8: Information Security50 Questions
Exam 9: Introduction to High-Level Language Programming50 Questions
Exam 10: The Tower of Babel: Programming Languages50 Questions
Exam 11: Compilers and Language Translation50 Questions
Exam 12: Models of Computation50 Questions
Exam 13: Simulation and Modeling50 Questions
Exam 14: Ecommerce, Databases, and Data Science50 Questions
Exam 15: Artificial Intelligence50 Questions
Exam 16: Computer Graphics and Entertainment: Movies, Games, and Virtual Communities50 Questions
Exam 17: Making Decisions About Computers, Information, and Society50 Questions
Select questions type
Time algorithms taken across multiple machines is the best way for comparing two algorithms that do the same task.
Free
(True/False)
4.8/5
(34)
Correct Answer:
True
The shuffle-left algorithm is an ____ algorithm in the worst case.
Free
(Multiple Choice)
4.8/5
(42)
Correct Answer:
D
It is well known that solution algorithms that work in polynomial do exist.
Free
(True/False)
4.8/5
(39)
Correct Answer:
False
Part of the job of program ____ is to make clear any assumptions or restrictions about the input size the program was designed to handle.
(Multiple Choice)
4.9/5
(36)
In the sequential search algorithm, the minimum amount of work is done if the value being searched for is the ____ value in the list.
(Multiple Choice)
5.0/5
(37)
If an algorithm is more time efficient and less space efficient, what is this called?
(Essay)
4.8/5
(28)
____________________ problems are solvable, but the solution algorithms all require so much work as to be virtually useless.
(Short Answer)
4.8/5
(38)
Θ(lg n ), Θ( n ), and Θ( n 2)are ____ in the amount of work they do as n increases.
(Multiple Choice)
4.9/5
(43)
A surprising number of problems fall into the "____" category.
(Multiple Choice)
4.8/5
(36)
Binary search is able to search any kind of list, regardless of whether or not it is sorted.
(True/False)
4.8/5
(37)
The shuffle-left algorithm is not space efficient. _________________________
(True/False)
4.9/5
(41)
____ involves the fixing of errors that are uncovered through repeated usage with different input values.
(Multiple Choice)
4.9/5
(38)
Discuss at length both the best and worst case of the pattern-matching algorithm.
(Essay)
4.8/5
(45)
Given the data cleanup problem described in the text, write the pseudocode for the converging-pointers algorithm for data cleanup.
(Essay)
4.8/5
(33)
Showing 1 - 20 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)