Answers Rated A
Class - ANSWER -What term refers to a Linear - ANSWER -Which term refers to a
template for creating an object? type of search algorithm?
A. Application A. Linear
B. Class B. Divide-and-conquer
C. Method C. Greedy
D. Algorithm D. Quicksort
Uses an agnostic code repository - Simplicity - ANSWER -What is a high-level
ANSWER -Which characteristic of an consideration in an algorithm's design?
algorithm is independent in nature? A. Simplicity
A. Uses Python to implement the algorithm B. Database type
B. uses MySQL for the database needs of the C. Finiteness
algorithm's application D. Browser Type
C. Uses Windows to install the application
D. Uses an agnostic code repository
Binary Search - ANSWER -What is the
primary method used to search for an item in a
Record - ANSWER -What is referred to as sorted array?
a data structure that stores subitems? A. Binary search
A. Array B. Jump Search
B. Matrix C. Exponential search
C. Record D. Linear Search
D. Graph
A posteriori analysis - ANSWER -Which
Maintainability - ANSWER -Which factor review of an algorithm happens after
takes the ability to easily update an algorithm implementation?
into consideration? * Binary search
A. Scalability * A posteriori analysis
B. Feasability * A priori analysis
C. Maintainability * Linear search
D. Modularity
Extensibility - ANSWER -Which factor helps
Finiteness - ANSWER -What is a measure the reusability of an algorithm?
component of an algorithm that specifies a * User adoption
stopping point? * Correctness
A. Sequencing * Extensibility
B. Finiteness * Flowchart
C. Iteration
D. Looping
Binary Search - ANSWER -Which search
algorithm utilizes the divide-and-conquer
1/7
, Data Structures and algorithms Questions and
Answers Rated A
strategy? * Uses case statements
* Insertion search
* Bubble search
* Linear search x = 25 - ANSWER -What is x in the
* Binary search following block of logic?
x=28
If x >= 10 and x < 20
Binary - ANSWER -Which algorithm x = 20
requires data sorting as its first step? elif x <= 30
* Recursive x = 25
* Linear elif x >= 50
* Binary x = 100
* Merge else
x = 500
Worst case - ANSWER -What does a time
complexity analysis of an algorithm include? Nested - ANSWER -What is an if statement
* Memory usage inside of an if statement referred to as?
* Efficiency analysis * Nested
* Screen load times * Internal
* Worst case * Double if
* Subscript
Tree-based data structure - ANSWER -
Which data type do heap sorts work with? Binary Search - ANSWER -Which search
* Tree-based data structure algorithm functions by continually dividing the
* Array data set in half until the sought item is found or
* String the data set is exhausted?
* Number * Sequential search
* Binary search
* Jump search
Recursive - ANSWER -Which function is * Linear search
used in conjunction with a merge sort algorithm?
* For loop
* If statement Interval Search - ANSWER -Which search
* Do while loop algorithm has the best performance when the
* Recursive data set is sorted?
* Sequential search
* List search
Calls itself - ANSWER -Which attribute of a * Interval search
recursive function makes it unique? * Linear search
* Calls itself
* Calls another function
* Uses for loops Data Structure - ANSWER -Which term
2/7