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?
Selection sort algorithm
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
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
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
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
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
10 questions
Unit 2.1 Searching & Sorting Algorithms MCQs L3-5
Quiz
•
7th - 11th Grade
11 questions
Y9 - T1.1 - CrashCourse Algorithms
Quiz
•
9th Grade
10 questions
Searching & Sorting Algorithms
Quiz
•
11th Grade
10 questions
Mr Bulsara
Quiz
•
12th Grade
10 questions
Sorting Algorithms
Quiz
•
9th - 12th Grade
10 questions
Linear and Binary Search Algorithms
Quiz
•
11th Grade
7 questions
Sorting algorithms
Quiz
•
9th Grade
10 questions
2.1 Algorithms MCQs L3&4&5
Quiz
•
10th - 11th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade
25 questions
Spanish preterite verbs (irregular/changed)
Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)
Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance
Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1
Quiz
•
9th - 12th Grade
26 questions
June 19th
Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope
Quiz
•
10th Grade
20 questions
Figurative Language Review
Quiz
•
10th Grade
27 questions
STAAR English 1 Review
Quiz
•
9th Grade