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 Babel50 Questions
Exam 11: Compilers and Language Translation50 Questions
Exam 12: Models of Computation49 Questions
Exam 13: Simulation and Modeling50 Questions
Exam 14: Electronic Commerce, Databases, and Personal Privacy50 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
The ____ sort algorithm performs the task of sorting a list by growing a sorted subsection of the list from the back to the front.
Free
(Multiple Choice)
4.9/5
(39)
Correct Answer:
A
Problems for which no known polynomial solution algorithm exists are sometimes approached via ____ algorithms.
Free
(Multiple Choice)
4.9/5
(30)
Correct Answer:
D
The copy-over algorithm is ____ in time efficiency in the worst case.
Free
(Multiple Choice)
4.9/5
(36)
Correct Answer:
B
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
(40)
A(n) ____________________ is a path through a graph that begins and ends at the same node and goes through all other nodes exactly once.
(Short Answer)
4.8/5
(35)
Binary search uses significantly more space than sequential search.
(True/False)
4.7/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)
4.9/5
(44)
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.9/5
(34)
Given a sorted list, the sequential search algorithm is more efficient than the binary search.
(True/False)
4.8/5
(44)
The selection sort algorithm can recognize whether or not the list is already sorted at the beginning.
(True/False)
4.8/5
(35)
The shuffle-left algorithm is not space-efficient._________________________
(True/False)
4.9/5
(31)
Discuss at length the "people aspect" of the practical considerations for the development of algorithms.Include the concepts of program maintenance and ease of understanding in your response.
(Essay)
4.8/5
(42)
Θ(lg n), Θ(n) and Θ(n2) are ____ in the amount of work they do as n increases.
(Multiple Choice)
4.9/5
(34)
Placing a list of items into alphabetical or numerical order is called ____.
(Multiple Choice)
4.7/5
(24)
The study of the efficiency of algorithms is called the ____ of algorithms.
(Multiple Choice)
4.8/5
(40)
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.8/5
(38)
Showing 1 - 20 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)