____ Search: 1. Find the ____ item in the ____ list. 2. If this is the item you're looking for, then stop the search - you've found it. 3. If not, ____ the item you're looking for to the ____. If it comes before the middle term, get ____ of the second half of the list. If it comes after the middle item, get rid of the first half of the list. 4. You'll be left with a list that is ____ the size of the ____ list. ____ steps 1 to 3 on this smaller list to get an even smaller list. Keep going until you find the item you're looking for. ____ Sort: The bubble sort algorithm is used to sort an ____ list of items. The algorithm is very ____ but can often take a while to actually sort a list. 1. Look at the first ____ items in the list. 2. If they're in the ____ order, you don't have to do anything. If they are in the wrong order, swap them. 3. ____ on to the ____ of items (the 2nd and 3rd entries) and repeat the 2nd step. 4. Repeat Step 3 until you get to the end of the list - this is called one pass. The last item will now be in the ____ place, so don't include it in the next pass. 5. ____ Steps 1 - 4 until there are no swaps. The ____ sort is considered to be one of the ____ ____ ____ as it only ever focuses on ____ items rather than the ____ list of items. ____ include: > It's a simple algorithm that can be easily implemented on a computer. > It's an efficient way to check if a list is already in order. > Doesn't take very much memory as all the sorting is done using the original list. Disadvantages: > Due to being ____, the bubble sort algorithm does not cope well with ____ list of items.,
0%
Binary Search & Bubble Sort
共享
共享
共享
由
Dprice7
KS4
Y10
Y11
Computing
编辑内容
打印
嵌入
更多
作业
排行榜
显示更多
显示更少
此排行榜当前是私人享有。单击
,共享
使其公开。
资源所有者已禁用此排行榜。
此排行榜被禁用,因为您的选择与资源所有者不同。
还原选项
完成句子
是一个开放式模板。它不会为排行榜生成分数。
需要登录
视觉风格
字体
需要订阅
选项
切换模板
显示所有
播放活动时将显示更多格式。
打开成绩
复制链接
QR 代码
删除
恢复自动保存:
?