Which type of lists or data sets are linear searching algorithms used for?, Unsorted lists or data sets, Sorted lists or data sets, Which type of lists or data sets are binary searching algorithms used for?, Unsorted lists or data sets, Sorted lists or data sets, Select the best description to explain what a linear search algorithm is., Put the elements in order, check each item in turn., Elements do not need to be in order, check each item in turn., Put the elements in order, compare with the middle value, split the list in order and repeat., Elements do not need to be in order, compare to the middle value, split the list in order and repeat, Select the best description to explain what a binary search algorithm is., Put the elements in order, check each item in turn., Elements do not need to be in order, check each item in turn., Put the elements in order, compare with the middle value, split the list in order and repeat., Elements do not need to be in order, compare to the middle value, split the list in order and repeat, A linear search is to be performed on the list: [12 6 8 1 3]. How many comparisons would it take to find 1?, 1, 3, 2, 4, A binary search is to be performed on the list: [3 5 9 10 23]. How many comparisons would it take to find 9?, 0-1, 4-5, 2-3, I can't find 9, A binary search is to be performed on the list: [1 5 10 13 48 68 100 101]. How many comparisons would it take to find 101?, -01, 3-4, 1-2, 4-5, Describe an advantage of a linear search algorithm, Data does not need to be in order., Can only work on an ordered list. If unordered must use a linear search., Performs well over large ordered lists., Slow with large data sets., Describe a disadvantage of a linear search algorithm, Data does not need to be in order., Can only work on an ordered list. If unordered must use a linear search., Performs well over large ordered lists., Slow with large data sets., Describe an advantage of a binary search algorithm, Data does not need to be in order., Can only work on an ordered list. If unordered must use a linear search., Performs well over large ordered lists., Slow with large data sets., Describe a disadvantage of a binary search algorithm, Data does not need to be in order., Can only work on an ordered list. If unordered must use a linear search., Performs well over large ordered lists., Slow with large data sets., Describe an advantage of a linear search algorithm, If the criteria matches the last item in list, entire list has to be checked., Quicker than a linear search., Simple to code than a binary search., Can only work on an ordered list. If unordered must use a linear search., Describe a disadvantage of a linear search algorithm, If the criteria matches the last item in list, entire list has to be checked., Quicker than a linear search., Simple to code than a binary search., Can only work on an ordered list. If unordered must use a linear search., Describe an advantage of a binary search algorithm, If the criteria matches the last item in list, entire list has to be checked., Quicker than a linear search., Simple to code than a binary search., Can only work on an ordered list. If unordered must use a linear search., Describe a disadvantage of a binary search algorithm, If the criteria matches the last item in list, entire list has to be checked., Quicker than a linear search., Simple to code than a binary search., More complicated to code than a linear search.
0%
Searching Algorithms
Udostępnij
Udostępnij
Udostępnij
autor:
Dprice7
KS4
Computing
Algorithms
Edytuj elementy
Drukuj
Osadź
Więcej
Zadania
Tabela rankingowa
Pokaż więcej
Pokaż mniej
Ta tabela rankingowa jest obecnie prywatna. Kliknij przycisk
Udostępnij
, aby ją upublicznić.
Ta tabela rankingowa została wyłączona przez właściciela materiału.
Ta tabela rankingowa została wyłączona, ponieważ Twoje opcje różnią się od opcji właściciela materiału.
Przywróć poprzednie opcje
Test
jest szablonem otwartym. Nie generuje wyników w tabeli rankingowej.
Wymagane logowanie
Motyw
Czcionki
Wymagany abonament
Opcje
Zmień szablon
Pokaż wszystko
Więcej formatów pojawi się podczas wykonywania ćwiczenia.
Otwórz wyniki
Kopiuj link
Kod QR
Usuń
Przywrócić automatycznie zapisane ćwiczenie:
?