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
____ is the algorithmic equivalence of miles per gallon or use of space in cars.
(Multiple Choice)
4.8/5
(36)
In the sequential search algorithm, the worst case occurs when the value being searched for is the first value in the list. _________________________
(True/False)
4.8/5
(38)
____ 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.8/5
(33)
If an Θ(n2)algorithm and an Θ(n)algorithm exist for the same task, then for large enough n, the Θ(n2)algorithm does more work and takes longer to execute, regardless of the constant factors for peripheral work.
(True/False)
4.8/5
(38)
The selection sort algorithm can recognize whether or not the list is already sorted at the beginning.
(True/False)
5.0/5
(27)
The number of comparisons done by the selection sort algorithm does not grow at the same rate as the problem size n , instead it grows at approximately the ____________________ of that rate.
(Short Answer)
4.8/5
(36)
How do you approach problems for which no known polynomial solution algorithm exists?
(Essay)
4.9/5
(36)
Placing a list of items into alphabetical or numerical order is called ____.
(Multiple Choice)
4.8/5
(32)
Discuss at length the measurement of the time and space consumed by an algorithm in order to determine its efficiency.
(Essay)
4.9/5
(32)
A Hamiltonian circuit is a path through a graph that begins and ends at the same node and goes through all other nodes exactly ________.
(Short Answer)
4.8/5
(40)
The copy-over algorithm is ____ in time efficiency in the worst case.
(Multiple Choice)
4.9/5
(37)
The study of the _______ of algorithms is called the analysis of algorithms.
(Multiple Choice)
5.0/5
(43)
The selection sort algorithm performs the task of sorting a list by growing a sorted subsection of the list from the _____ to the _____.
(Multiple Choice)
4.7/5
(36)
In the _______ search algorithm, the worst case occurs when the value being searched for is the last value in the list.
(Multiple Choice)
4.8/5
(36)
Binary search uses significantly more space than sequential search.
(True/False)
4.8/5
(37)
If we were to run the sequential search algorithm many times, with random input values occurring at various places in the list, we would find the average number of comparisons done to be approximately n /2.
(True/False)
4.8/5
(45)
First and foremost, we expect ease of understanding from our algorithms. _________________________
(True/False)
4.8/5
(31)
With sequential search, the smaller the list of items, the less work must be done to search it. _________________________
(True/False)
4.9/5
(36)
Showing 21 - 40 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)