Bubble Sorts

Bubble Sorts

8th - 11th Grade

8 Qs

quiz-placeholder

Similar activities

44. Algorithms - Bubble Sort Algorithm Quiz

44. Algorithms - Bubble Sort Algorithm Quiz

9th - 12th Grade

11 Qs

Sorting Algorithms

Sorting Algorithms

6th - 8th Grade

10 Qs

Sorting Algorithms

Sorting Algorithms

8th Grade

9 Qs

Robust Programming

Robust Programming

11th - 12th Grade

13 Qs

Quis Berpikir Komputasional Kelas X-1

Quis Berpikir Komputasional Kelas X-1

10th Grade

13 Qs

CS

CS

10th Grade

6 Qs

Tes Diagnostik

Tes Diagnostik

9th - 12th Grade

10 Qs

Refleksi

Refleksi

10th Grade

10 Qs

Bubble Sorts

Bubble Sorts

Assessment

Quiz

Computers

8th - 11th Grade

Medium

Created by

Nathan Pettit

Used 12+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would be the order of this list after 1 pass of a bubble sort? 5, 2, 18, 7, 6, 9

2, 5, 6, 7, 9, 18

2, 5, 7, 6, 9, 18

18, 9, 7, 6, 5, 2

5, 2, 7, 6, 18, 9

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a sorting algorithm do?

Finds an item of data in a set of data

Saves a set of data

Puts a list of items into order

Copies a list of items

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a sorting algorithm?

Bubble Sort

Long Sort

Insertion Sort

Merge Sort

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does a bubble sort work?

It sorts a list by comparing neighbouring items to see which is out of order

It finds an item of data in a list

It takes one item from the list and places it in the correct place

It divides the list into sublists and then merges pairs of sublists together to sort the data.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many passes will a bubble sort go through?

One

Two

The amount of passes is the same as the length of the list

Several passes - until the entire list is sorted

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why does a bubble sort do a final pass even when the data is in the correct order?

To put the data back into a list

Because it doesn't recognise that the list is in order until it completes a final pass with no swaps

To save the list

To double check in case of mistakes

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an advantage of a bubble sort?

It takes a very long time to run

It's simple to implement

It's very quick

There is no advantage of a bubble sort

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many passes would be needed to sort the following list?

7, 3, 9, 5, 12, 1, 2

5

6

1

3