2.1 Sorting Algorithms

2.1 Sorting Algorithms

9th - 11th Grade

10 Qs

quiz-placeholder

Similar activities

Bubble Sort

Bubble Sort

10th Grade

8 Qs

Struktur Data - Sorting

Struktur Data - Sorting

1st - 10th Grade

15 Qs

SDD Test

SDD Test

10th - 12th Grade

15 Qs

Searching & Sorting Algorithms

Searching & Sorting Algorithms

11th Grade

10 Qs

Sorting Algorithms

Sorting Algorithms

9th - 12th Grade

10 Qs

Struktur Data Quiz

Struktur Data Quiz

9th Grade

10 Qs

Pre Tes Struktur Data dan Algoritma

Pre Tes Struktur Data dan Algoritma

10th Grade

8 Qs

GCSE Computing Flash Quiz

GCSE Computing Flash Quiz

10th - 11th Grade

12 Qs

2.1 Sorting Algorithms

2.1 Sorting Algorithms

Assessment

Quiz

Computers

9th - 11th Grade

Hard

Used 26+ times

FREE Resource

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.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?