Skip to content
MathsGenie logo
Open app

Course home

  1. AS Level
  2. Computer Science AQA
  3. Flashcards

Sorting algorithms

What does a single step of the bubble sort algorithm involve?

A

Comparing adjacent pairs of values and swapping them regardless of whether they are in the wrong order.

B

Comparing adjacent pairs of values and moving the smaller one directly to the start of the list.

C

Comparing adjacent pairs of values and swapping them if they are in the wrong order.

D

Comparing non-adjacent pairs of values and swapping them if they are in the wrong order.

Sorting algorithms Flashcards

  1. AS Level
  2. /Computer Science
  3. /Sorting algorithms

Flashcards for AQA AS Level Computer Science Sorting algorithms, covering the key terms and definitions you need to recall. 3 cards, matched to the AQA AS Level Computer Science (7516) specification.

Flashcards