Selection sort algorithm

Selection sort algorithm

9th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

Introduction to Programming

Introduction to Programming

2nd - 10th Grade

10 Qs

CS Python Fundamentals 8.8 Lesson Quiz

CS Python Fundamentals 8.8 Lesson Quiz

9th - 12th Grade

10 Qs

Selection Sort

Selection Sort

9th - 12th Grade

6 Qs

Searching & Sorting Algorithms

Searching & Sorting Algorithms

11th Grade

10 Qs

Mr Bulsara

Mr Bulsara

12th Grade

10 Qs

Understanding Linear Search Algorithm

Understanding Linear Search Algorithm

12th Grade

11 Qs

C++ Searches and Sorts

C++ Searches and Sorts

7th - 12th Grade

9 Qs

Searching Technique -Linear Search Quiz1

Searching Technique -Linear Search Quiz1

12th Grade

10 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