1. What is the main advantage of using a linear search algorithm?
It is the most efficient search algorithm for large datasets
It requires the array to be sorted before searching
It can be used on unordered arrays
It finds the desired item in logarithmic time
2. In what scenario is a binary search algorithm more efficient than a linear search?
When the array is small and unordered
When searching for an item in a large, ordered array
When every item in the array must be checked
When the items in the array are randomly distributed