Algorithms sorting and searching revision

Description

This goes through linear search,binary search, merge sort and bubble sort.
Daniel Minshull
Flashcards by Daniel Minshull, updated more than 1 year ago
Daniel Minshull
Created by Daniel Minshull over 7 years ago
21
1

Resource summary

Question Answer
What is Linear Search? A way of searching through a list, which sorts through each individual item in a row.
What is Binary search? A searching algorithm for lists.It splits the list in half and discards the half in which an item is not located. It repeats this until the item is found.
What is bubble sort? A computing algorithm for sorting lists. It goes through the list linearly and compares adjacent items. It then swaps them if they are in the wrong order and moves on to the next adjacent pair. When it reaches the end of the list, it starts again. It stops when no items are swapped.
What is merge sort? A computing algorithm for combining two sorted lists. If the lists are not sorted, items are split and two lists of one item are compared and sorted. This repeats for each individual list and the items are eventually sorted like this until 1 sorted list remains.
Show full summary Hide full summary

Similar

A level Computing Quiz
Zacchaeus Snape
Types and Components of Computer Systems
Jess Peason
Input Devices
Jess Peason
Output Devices
Jess Peason
Computing
Kwame Oteng-Adusei
Pack of playing cards answer
Karl Taylor
Code Challenge Flow Chart
Charlotte Hilton
Computing Hardware - CPU and Memory
ollietablet123
Computer Systems
lisawinkler10
Computer science quiz
Ryan Barton
Input, output and storage devices
Mr A Esch