Exam 18: Searching and Sorting Algorithms
Exam 1: An Overview of Computers and Programming Languages52 Questions
Exam 2: Basic Elements of C++76 Questions
Exam 3: Inputoutput33 Questions
Exam 4: Control Structures I Selection24 Questions
Exam 5: Control Structures II Repetition25 Questions
Exam 6: User-Defined Functions47 Questions
Exam 7: User-Defined Simple Data Types, Namespaces, and the String Type12 Questions
Exam 8: Arrays and Strings33 Questions
Exam 9: Records Structs10 Questions
Exam 10: Classes and Data Abstraction38 Questions
Exam 11: Inheritance and Composition15 Questions
Exam 12: Pointers, Classes, Virtual Functions, Abstract Classes, and Lists40 Questions
Exam 13: Overloading and Templates21 Questions
Exam 14: Exception Handling13 Questions
Exam 15: Recursion18 Questions
Exam 16: Linked Lists17 Questions
Exam 17: Stacks and Queues34 Questions
Exam 18: Searching and Sorting Algorithms28 Questions
Exam 19: Binary Trees26 Questions
Exam 20: Graphs53 Questions
Exam 21: Standard Template Library STL28 Questions
Select questions type
What does these terms refer to:
- bubble sort:
Free
(Short Answer)
4.9/5
(41)
Correct Answer:
a sort algorithm that sorts a list by comparing successive pairs of elements in the list and swapping those elements if they are out of order
What does these terms refer to:
- asymptotic:
Free
(Short Answer)
4.8/5
(35)
Correct Answer:
the study of a function of n as n becomes larger and larger without bound
What does these terms refer to:
- comparison-based search algorithm:
Free
(Short Answer)
4.9/5
(37)
Correct Answer:
a search algorithm that searches a list by comparing the target element with the list elements
If L is a sorted list of size 1024, at most ____ comparisons are needed to determine whether x is in L using binary search.
(Short Answer)
4.7/5
(28)
For a comparison tree, how many leaf nodes are there for a list containing five items? In other words, how many permutations are there?
(Short Answer)
4.8/5
(45)
Showing 1 - 20 of 28
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)