1) What does a search algorithm do? a) A) Draw pictures b) B) Find something in a list c) C) Play music d) D) Count numbers 2) Which search checks each item one by one? a) A) Binary search b) B) Bubble search c) C) Linear search d) D) Fast search 3) What kind of list does binary search need? a) A) Mixed up list b) B) Sorted list (in order) c) C) Empty list d) D) Long list 4) What does binary search do first? a) A) Looks at the start b) B) Looks at the end c) C) Looks at the middle d) D) Looks at every item 5) If the middle number is too big in binary search, what do we do? a) A) Stop the search b) B) Look in the right half c) C) Look in the left half d) D) Start again 6) 6. Which search is faster for long, sorted lists? a) A) Linear search b) B) Binary search c) C) Word search d) D) Number search 7) Which search is better if the list is not sorted? a) A) Binary search b) B) Linear search c) C) Graph search d) D) Maze search 8) What happens in a linear search if the item is not found? a) A) It keeps going forever b) B) It gives an error c) C) It looks again d) D) It checks the whole list and stops 9) What is an algorithm? a) A) A type of animal b) B) A maths trick c) C) A step-by-step set of instructions d) D) A game 10) Which is a real search algorithm? a) A) Banana search b) B) Linear search c) C) Rocket search d) D) TV search
0%
Algorithms and Search
共用
共用
共用
由
Mayamsms11
編輯內容
列印
嵌入
更多
作業
排行榜
顯示更多
顯示更少
此排行榜當前是私有的。單擊
共用
使其公開。
資源擁有者已禁用此排行榜。
此排行榜被禁用,因為您的選項與資源擁有者不同。
還原選項
測驗
是一個開放式範本。它不會為排行榜生成分數。
需要登錄
視覺風格
字體
需要訂閱
選項
切換範本
顯示所有
播放活動時將顯示更多格式。
打開結果
複製連結
QR 代碼
刪除
恢復自動保存:
?