Seneca

Overview of Sort Algorithms

Computer Science: OCR GCSE, topic 2.1.12

Sort Algorithms

Sorting algorithms allow us to put data in a certain order.

Sort algorithms

Sort algorithms

  • A sort algorithm is a set of instructions to arrange a dataset into a particular order.
Efficient sorting

Efficient sorting

  • An efficient sort algorithm is one which can sort a dataset in a short time.
Examples of sorting algorithms

Examples of sorting algorithms

  • There are hundreds of sorting algorithms, but you only need to learn three:
  • Bubble sort
  • Insertion sort
  • Merge sort

Test yourself on Overview of Sort Algorithms

  • What is an efficient sort algorithm?

  • How many sorting algorithms does this course require you to know?

  • Algorithm A sorts a list of 100 names in 3 seconds. Algorithm B sorts the same list in 15 seconds. Which algorithm is the more efficient sort algorithm?

Practise this topic for free