Screen Shot 2022-09-25 at 2

.png

School

Moraine Valley Community College *

*We aren’t endorsed by this school

Course

240

Subject

Computer Science

Date

Dec 6, 2023

Type

png

Pages

1

Uploaded by ProfResolve12236

Question 1 1/1pts A sequential search of a list assumes that the list is in sorted order. True False Question 2 1/1pts On average, the binary search algorithm performs faster than sequential search. True False Question 3 1/1pts If an array is sorted in ascending order, the values are stored: from lowest to highest from highest to lowest None of the above Question 4 0/1pts After one pass of bubble sort, which value is guaranteed to be in order? The first value The middle value Correctanswer ' The Jast value You Answered No values are guaranteed to be in order Question 5 1/1pts After one pass of selection sort, which value is guaranteed to be in order? The first value The middle value The last value No values are guaranteed to be in order Question 6 1/1pts Which sort usually requires fewer data values to be swapped? Bubble sort Selection sort No answer text provided. No answer text provided. Question 7 1/1pts On average, with an array of 1,000 elements, how many comparisons will the linear search perform? (Assume the items being search for ARE in the array) log(1000) square root of 1000 500 1000
Discover more documents: Sign up today!
Unlock a world of knowledge! Explore tailored content for a richer learning experience. Here's what you'll get:
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help