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 代码
删除
恢复自动保存:
?