#111 Selection Sort

#111 Selection Sort

10th Grade

8 Qs

quiz-placeholder

Similar activities

Sorting Algorithms

Sorting Algorithms

9th - 12th Grade

10 Qs

Sort

Sort

9th - 12th Grade

10 Qs

Selection sort algorithm

Selection sort algorithm

9th - 12th Grade

6 Qs

Sorting Algorithm

Sorting Algorithm

9th - 12th Grade

9 Qs

Sorting Algorithms in Java

Sorting Algorithms in Java

10th - 12th Grade

9 Qs

Algorithm Intro

Algorithm Intro

9th Grade - University

14 Qs

C++ Searches and Sorts

C++ Searches and Sorts

7th - 12th Grade

9 Qs

#111 Selection Sort

#111 Selection Sort

Assessment

Interactive Video

Computers

10th Grade

Easy

Created by

Myra Deister

Used 3+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of sorting algorithm is Selection Sort described as?


 An out-of-place non-comparison algorithm


An in-place comparison sorting algorithm


A recursive divide-and-conquer algorithm

A distributed sorting algorithm

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the analogy used to explain Selection Sort, what objects represent the array elements?


Flashlights


Numbers


Closed boxes


Attic items


3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

During each iteration of Selection Sort, what does the algorithm keep track of?


The maximum value


The average value


The median value


The minimum value


4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What action is performed at the end of each iteration in Selection Sort?

Splitting the array


Merging subarrays


Variable swapping


Reversing the order

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does the efficiency of Selection Sort change as the data set size increases?


 It becomes more efficient


It becomes less efficient


Its efficiency remains constant


It becomes logarithmically more efficient


6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the outer loop of the Selection Sort implementation, what is the loop condition?


i < array.length


 i < array.length - 1


 i <= array.length


 i <= array.length - 1


7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What variable is used to keep track of the current minimum index in the implementation?


i

j

min

temp

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can the implementation be modified to sort the array in descending order instead of ascending order?


Change the outer loop condition


Swap the inner and outer loops


Change the greater than sign to a less than sign in the comparison


Reverse the array after sorting