
2.1 Sorting Algorithms
Computers
9th - 11th Grade
Used 26+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Describe how a 'bubble sort' works
Starts at the beginning of the list and compares with the next value, if this is larger a swap is made. Then moves onto the second value and repeats the process.
The list is repeatedly divided into two until all the elements are separated individually. Pairs of elements are then compared, placed into order and combined. The process is then repeated.
Compares values in turn, starting with the second value in the list. If this value is greater than the value to the left of it, no changes are made. Otherwise this value is repeatedly moved left until it meets a value that is less than it.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Describe how an 'insertion sort' works
Starts at the beginning of the list and compares with the next value, if this is larger a swap is made. Then moves onto the second value and repeats the process.
The list is repeatedly divided into two until all the elements are separated individually. Pairs of elements are then compared, placed into order and combined. The process is then repeated.
Compares values in turn, starting with the second value in the list. If this value is greater than the value to the left of it, no changes are made. Otherwise this value is repeatedly moved left until it meets a value that is less than it.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Describe how a 'merge sort' works
Starts at the beginning of the list and compares with the next value, if this is larger a swap is made. Then moves onto the second value and repeats the process.
The list is repeatedly divided into two until all the elements are separated individually. Pairs of elements are then compared, placed into order and combined. The process is then repeated.
Compares values in turn, starting with the second value in the list. If this value is greater than the value to the left of it, no changes are made. Otherwise this value is repeatedly moved left until it meets a value that is less than it.
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Describe an advantage of a 'bubble sort' algorithm
Simpler to code than a merge sort
Easiest to program
Faster than bubble and insertion sorts.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Describe an advantage of an 'insertion sort' algorithm
Faster than a bubble sort
Easiest to program
Faster than a bubble and insertion sort
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Describe an advantage of a 'bubble sort' algorithm
Simpler to code than a merge sort
Easiest to program
Faster than bubble and insertion sorts.
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Describe a disadvantage of a 'bubble sort' algorithm
One of the slowest ways to sort a list
More complicated to code than bubble and insertion.
Slower than a merge over large data sets.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Recap: Introduction to Python
Quiz
•
10th Grade
10 questions
Computer System
Quiz
•
8th - 9th Grade
14 questions
Intro to Robotics
Quiz
•
9th Grade
14 questions
4th quarter 2nd summative
Quiz
•
10th Grade
10 questions
PC1.8 Evaluate computer program
Quiz
•
9th Grade
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
12 questions
Q2 WEEK 3 PRACTICE QUIZ #2
Quiz
•
9th Grade
13 questions
Software and Computer Care Quiz
Quiz
•
9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade