selection sort
Also found in: Dictionary, Medical, Wikipedia.
selection sort
[si′lek·shən ‚sȯrt] (computer science)
A sorting routine that scans a list of items repeatedly and, on each pass, selects the item with the lowest value and places it in its final position.
McGraw-Hill Dictionary of Scientific & Technical Terms, 6E, Copyright © 2003 by The McGraw-Hill Companies, Inc.
selection sort
(1) A sorting technique that is typically used for sequencing small lists. It starts by comparing the entire list for the lowest item and moves it to the #1 position. It then compares the rest of the list for the next-lowest item and places it in the #2 position and so on until all items are in the required order. Selection sorts perform numerous comparisons, but fewer data movements than other methods. See sort algorithm.
(2) A search for specific data starting at the beginning of a file or list. It copies each matching item to a new file so that the selected items are in the same sequence as the original data.Copyright © 1981-2025 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.
References in periodicals archive
This is precisely the "distance" that k travels when being placed in its correct position with the Straight
Selection Sort algorithm.
The insertion sort is played with similar rules and user interface as the
selection sort game.
Using a
selection sort to sort no more than s + 1 blocks of size s requires at most s(s + 1)/2 comparisons and at most s.sup.2.
Copyright © 2003-2025 Farlex, Inc
Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.