Bearbeitungszugriff anfordern
Search and sort algorithms
In Google anmelden, um den Fortschritt zu speichern. Weitere Informationen
E-Mail-Adresse *
Name *
1. With a data set of 0, 1, 3, 5, 7, 8, 9 how many values would a binary search examine before it found the value 8? *
2. With a data set of 0, 1, 5, 4, 8, 9, 7 how many values would a linear search examine before it found the value 9? *
3. What does a bubble sort do? *
4. How many passes will a bubble sort go through? *
5. Why does a bubble sort do a final pass even when the data is in the correct order? *
6. Which of the following is an advantage of a bubble sort? *
7. Which search examines each data item in turn until a match is made or there are no more items to examine? *
8. Which of the following is an advantage of a linear search? *
9. Which of the following is a disadvantage of a binary search? *
10. Which of these types of sort is the most efficient? *
11. Which of these types of sort is the easiest to program? *
12. With a data set of 0,1, 3, 5, 7, 8, 9 how many values would a linear search examine before it found the value 5? *
13. With a data set of 0, 1, 5, 3, 8, 9, 7 how many values would a linear search examine before it found the value 9? *
14. Using this set of data, 3 9 13 21 30 39 42 48 52 60 76 79 90, what is the mid-point? *
15. Which search algorithm is being used if the mid-point is being selected? *
Senden
Alle Eingaben löschen
Geben Sie niemals Passwörter über Google Formulare weiter.
Dieser Inhalt wurde nicht von Google erstellt und wird von Google auch nicht unterstützt. Missbrauch melden - Nutzungsbedingungen - Datenschutzerklärung