TERMIUM Plus®

The Government of Canada’s terminology and linguistic data bank.

BUBBLE SORT [1 record]

Record 1 2020-11-10

English

Subject field(s)
  • Computer Mathematics
  • Information Processing (Informatics)
DEF

[A] sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order.

CONT

The bubble sort algorithm got its name from the way bubbles rises to the surface: the largest bubble will reach the surface first. The second largest bubble will reach the surface next, and so on. In the bubble sort algorithm, the largest value will reach its correct position first. The second largest bubble will reach its correct position next, and so on.

French

Domaine(s)
  • Mathématiques informatiques
  • Traitement de l'information (Informatique)
CONT

Dans la littérature, l'algorithme de tri par bulles est souvent présenté pour le tri de vecteurs, mais il est également possible de l'utiliser pour trier des listes.

Spanish

Campo(s) temático(s)
  • Matemáticas para computación
  • Tratamiento de la información (Informática)
CONT

El algoritmo de ordenación de burbuja ("bubble sort") se basa en comparar los elementos adyacentes del vector e intercambiar los mismos si están desordenados. Se comienza comparando el primer elemento con el segundo, si están desordenados se intercambian. Luego se compara el segundo con el tercero, intercambiándolos si están desordenados. Este proceso que se realiza sobre todos los elementos constituye una pasada sobre el vector. Al terminar esta pasada el mayor elemento se encuentra al final del vector y algunos de los elementos más pequeños se han movido hacia las primeras posiciones (es decir, los elementos más pequeños han "burbujeado" hacia arriba, mientras que los más grandes se han "hundido", de aquí el nombre del método).

Save record 1

Copyright notice for the TERMIUM Plus® data bank

© Public Services and Procurement Canada, 2024
TERMIUM Plus®, the Government of Canada's terminology and linguistic data bank
A product of the Translation Bureau

Features

Language Portal of Canada

Access a collection of Canadian resources on all aspects of English and French, including quizzes.

Writing tools

The Language Portal’s writing tools have a new look! Easy to consult, they give you access to a wealth of information that will help you write better in English and French.

Glossaries and vocabularies

Access Translation Bureau glossaries and vocabularies.

Date Modified: