Search Header Logo
Standard Sorting Algorithms

Standard Sorting Algorithms

Assessment

Presentation

Computers

9th - 10th Grade

Easy

Created by

Sam James

Used 1+ times

FREE Resource

9 Slides • 10 Questions

1

Standard Sorting Algorithms

2

Types of sorting

There are 3 different types of sorting algorithms

  1. Bubble sort

  2. Merge sort

  3. Insertion sort

3

Bubble sorting is when you compare two numbers from the left, moving the bigger one to the right and then comparing it to the next number on the list.
It floats the biggest number to the top no matter what.

4

Multiple Choice

For Bubble sort will the biggest number always be at the end of the list after one cycle?

1

No

2

Yes

3

Not Sure

4

What's A Bubble sort?

5

Multiple Choice

2, 1, 5, 20, 6
What will the list look like after 4 swaps?

1

1, 2, 20, 5, 6

2

2, 1, 5, 6, 20

3

1, 2, 5, 6, 20

4

20, 6, 5, 2, 1

5

I Don't know

6

Poll

Bubble sort can only compare numbers?

True

False

7

8

media
media
media

9

Merge sort

Merge sort is when you take a list and split it in half
You keep splitting it in half until you are left with all the numbers by themselves.
Then you merge them back. (but you order them first)

10

media
media

11

Fill in the Blanks

12

Dropdown

You split the numbers until they are ​
.

13

Open Ended

Do a Merge sort on the numbers, show each step in your answer

4, 2, 8, 1, 9

14

Insertion sort is simple
You simply start with one number and compare new numbers added one at a time.

15

Multiple Choice

What does Insertion Sort do?

1

Splits the list into halves

2

Builds a sorted list one item at a time

3

Compares all items and swaps the biggest

4

Randomly picks numbers and hopes for the best

16

Poll

In Insertion Sort, each new number is compared to the numbers already sorted?

True

False

17

Multiple Choice

What’s the first step in Insertion Sort?

1

Merge everything

2

Start with the biggest number

3

Start with the second item and compare it to the first

4

Throw away all duplicates

18

Big Question time

19

Open Ended

Sort the following using Insertion Sort:

Numbers: 7, 4, 6, 2
Write out the list after each step (first 2 steps shown):

  • Step 1: 7 (first item, already sorted)

  • Step 2: compare 4 to 7 → 4, 7

  • Step 3: ___________________________

  • Step 4: ___________________________

Standard Sorting Algorithms

Show answer

Auto Play

Slide 1 / 19

SLIDE