#111 Selection Sort

#111 Selection Sort

10th Grade

8 Qs

quiz-placeholder

Similar activities

Computer Programming Quiz

Computer Programming Quiz

10th Grade

14 Qs

44. Algorithms - Bubble Sort Algorithm Quiz

44. Algorithms - Bubble Sort Algorithm Quiz

9th - 12th Grade

11 Qs

GCSE Computer Science 9-1: Sorting Algorithms

GCSE Computer Science 9-1: Sorting Algorithms

10th Grade - University

10 Qs

Sorting Methods

Sorting Methods

9th Grade - University

10 Qs

Sorting Algorithms

Sorting Algorithms

9th - 12th Grade

9 Qs

Selection sort algorithm

Selection sort algorithm

9th - 12th Grade

6 Qs

C++ Quiz 5: Searching and Sorting Algorithms

C++ Quiz 5: Searching and Sorting Algorithms

7th - 12th Grade

9 Qs

Sorting Algorithms

Sorting Algorithms

9th - 10th Grade

11 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