Exam 16: Searching and Sorting
Exam 1: An Overview of Computers and Programming Languages40 Questions
Exam 2: Basic Elements of C++50 Questions
Exam 3: Inputoutput40 Questions
Exam 4: Control Structures I Selection40 Questions
Exam 5: Control Structures II Repetition40 Questions
Exam 6: User-Defined Function41 Questions
Exam 7: Namespaces, the Class String, and User-Defined Simple Data Types40 Questions
Exam 8: Arrays40 Questions
Exam 9: Records Structs40 Questions
Exam 10: Classes and Data Abstraction43 Questions
Exam 11: Inheritance and Composition41 Questions
Exam 12: Pointers, Classes, Virtual Functions, and Abstract Classes43 Questions
Exam 13: Overloading and Templates41 Questions
Exam 14: Exception Handling42 Questions
Exam 15: Recursion41 Questions
Exam 16: Searching and Sorting46 Questions
Exam 17: Linked Lists41 Questions
Exam 18: Stacks and Queues42 Questions
Select questions type
The size of a list is fixed and cannot be increased or decreased.
(True/False)
4.8/5
(81)
The statement ____ returns the element at the position index in vector vecList.
(Multiple Choice)
4.7/5
(82)
Which statement declares intList to be a vector of size 5 and the element to be of type int?
(Multiple Choice)
4.8/5
(81)
With the binary search algorithm, ____ key comparison(s) is/are made in the successful case-the last time through the loop.
(Multiple Choice)
4.9/5
(74)
Assume that n = 1000. To sort the list, bubble sort makes about ____ item assignments.
(Multiple Choice)
4.8/5
(77)
A variable declared using the vector type is called a ____.
(Multiple Choice)
4.8/5
(70)
Showing 41 - 46 of 46
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)