Selection sort algorithm

Selection sort algorithm

9th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

SQL SELECT

SQL SELECT

8th - 10th Grade

10 Qs

Search and Sorting Algorithms

Search and Sorting Algorithms

12th Grade

10 Qs

Java Collection

Java Collection

12th Grade

10 Qs

Algoritma dan Pemrograman

Algoritma dan Pemrograman

10th Grade

10 Qs

Common Algorithms -  Bitesize

Common Algorithms - Bitesize

KG - 11th Grade

10 Qs

Common Algorithms Quiz

Common Algorithms Quiz

KG - Professional Development

11 Qs

Middle Python Exam

Middle Python Exam

10th - 12th Grade

4 Qs

H446/2 Exam Prep - Q2 Search

H446/2 Exam Prep - Q2 Search

12th Grade

8 Qs

Selection sort algorithm

Selection sort algorithm

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Natasha Ramsaroop

Used 112+ times

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We are sorting the following list in ascending order:


5 4 2 9 3 1 8


What does the list look like after ONE pass of the selection sort algorithm?

1 2 4 3 8 5 9

1 4 2 9 3 5 8

1 5 4 2 9 3 8

4 5 2 9 3 1 8

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Selection Sort puts all of the items in an array in:

ascending order only

descending order only

ascending or descending order

neither ascending or descending order

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The Selection Sort algorithm repeatedly finds the smallest value in the list, then swaps it into its sorted position.

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why might a sorting algorithm be needed before a search?

Data is less when sorted

Data cannot be searched if it not sorted

Data can be retrieved faster and easier when sorted

Data must always be sorted before it is searched

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

We are sorting the list in descending order:


Stacy Mark Arnold Betty Tom


What does the list look like after ONE pass of the selection sort?

Stacy Mark Arnold Betty Tom

Arnold Stacy Mark Betty Tom

Arnold Betty Stacy Mark Tom

Tom Stacy Mark Betty Arnold

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does a sorting algorithm do?

Finds an item of data in a list

Puts a list of items into order

Saves a set of data

Separates a list of data