GoConqr has a new look! Let us know what you think.

Flashcards

Computer Science Basic Algorithms

Nicolas Nemec Computing Year 10 English 10 cards

Cards in this deck (10)

  1. 1BubblesortA bubble sort algorithm compares pairs of items in a list and swap's them over if the order is wrong. e.g. a b c d, the algorithm will first compare a b then b c then c d and so on.
  2. 2MergesortA merge sort algorithm halves the array until it is separated into single items. These single items then get merged into temporary arrays in the correct order to make pairs. The same happens again and again until the list is completely sorted.
  3. 3Linear searchLinear search is an algorithm the goes through a single or multidimensional list and checks each item if it is the correct one. If not then the algorithm continues to the next one.
  4. 4Binary searchA binary search algorithm is split up into indexis for each item. The algorithm first ads the first index and the last index dividing it by two. If the item to be found is greater than half the left side is discarded. The algorithm then does the same again.
  5. 5/Division
  6. 6*Multiplication
  7. 7+Addition
  8. 8-Subtraction
  9. 9%Remainder of a division problem
  10. 10**To the power of

Information

Description
Year 10 Computing Flashcards on Computer Science Basic Algorithms, created by Nicolas Nemec on 19/04/2018.
Created by
Nicolas Nemec
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?