Selection sort algorithm

Selection sort algorithm

9th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

"Searching " in Python

"Searching " in Python

12th Grade

9 Qs

Merge Sort

Merge Sort

11th Grade

9 Qs

G10 CS Binary Search

G10 CS Binary Search

12th Grade

10 Qs

Searching & Sorting Algorithms

Searching & Sorting Algorithms

11th Grade

10 Qs

Mr Bulsara

Mr Bulsara

12th Grade

10 Qs

Common Algorithms Quiz

Common Algorithms Quiz

KG - Professional Development

11 Qs

Java Collection

Java Collection

12th Grade

10 Qs

7.5 Standard Methods of Solution Cambridge IGCSE 0478

7.5 Standard Methods of Solution Cambridge IGCSE 0478

10th Grade - University

10 Qs

Selection sort algorithm

Selection sort algorithm

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Natasha Ramsaroop

Used 111+ 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