Exam 11: Searching Sorting and Complexity Analysis
Exam 1: Introduction50 Questions
Exam 2: Software Development Data Types and Expressions50 Questions
Exam 3: Loops and Selection Statements50 Questions
Exam 4: Strings and Text Files50 Questions
Exam 5: Lists and Dictionaries50 Questions
Exam 6: Design With Functions50 Questions
Exam 7: Simple Graphics and Image Processing50 Questions
Exam 8: Graphical User Interrfaces50 Questions
Exam 9: Design With Classes50 Questions
Exam 10: Multithreading Networks and Client Server Programming50 Questions
Exam 11: Searching Sorting and Complexity Analysis51 Questions
Select questions type
Of the techniques that can be used to determine the efficiency of an algorithm, which is based on a calculated average of average run time?
(Multiple Choice)
4.8/5
(34)
What statement accurately describes the strategy utilized by the selection sort algorithm?
(Multiple Choice)
4.8/5
(42)
When analyzing an algorithm, one must be careful to determine that any instructions do not hide a loop that depends on a variable problem size.
(True/False)
4.9/5
(36)
Of the numerous sorting algorithms, what algorithm employs a recursive, divide-and-conquer strategy that breaks a list in two at the middle point and recursively sorts the lists?
(Multiple Choice)
4.8/5
(34)
Selection sort starts at the beginning of the list and compares pairs of data items as it moves down to the end.
(True/False)
4.9/5
(22)
The insertion, bubble, and selection sort algorithms are all examples of algorithms that have what big-O notation run times?
(Multiple Choice)
4.8/5
(35)
What function can you use to record the start and end times of a block of code, and then use the difference between the resulting values to determine the elapsed time in seconds?
(Multiple Choice)
4.8/5
(43)
Python's is operator is implemented as a method named __contains__ in the list class.
(True/False)
4.7/5
(41)
What statement regarding the development of fast algorithms is accurate?
(Multiple Choice)
4.9/5
(41)
Showing 41 - 51 of 51
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)