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
Understanding Insertion Sort Algorithm
Quiz
•
12th Grade
11 questions
Y9 - T1.1 - CrashCourse Algorithms
Quiz
•
9th Grade
10 questions
Information Processing - File Organization/Access
Quiz
•
10th - 11th Grade
10 questions
Heap Sort in Java
Quiz
•
12th Grade
10 questions
Quis BAB I Kuliner
Quiz
•
10th Grade
10 questions
9.1 Databases Cambridge IGCSE 0478
Quiz
•
10th Grade - University
10 questions
7.5 Standard Methods of Solution Cambridge IGCSE 0478
Quiz
•
10th Grade - University
10 questions
CS Python Fundamentals 8.8 Lesson Quiz
Quiz
•
9th - 12th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University