Search Header Logo

Bubble Sorts

Authored by Andrew Duckworth

Computers

12th Grade

Used 8+ times

Bubble Sorts
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We are sorting the following list in ascending order:
 
1    4    2    9    3    8    5
 
What does the list look like after one pass of the bubble sort algorithm. 

1 2 4 3 8 5 9
1 4 2 5 3 8 9
4 2 9 3 8 5 1

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which type of sort algorithm is this?

Bubble
Merge
Insertion

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

May end up making many pointless comparisons

Bubble Sort
Insertion Sort
Merge Sort
Quick Sort

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

moving through a list repeatedly, swapping elements that are in the wrong order

Bubble Sort
Insertion Sort
Merge Sort
Quick Sort

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a bubble sort what items do we need to track

the number of comparisons made

whether a swap is made

which items have been swapped

the largest value in the list

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

How can a bubble sor be made more efficient?

Stopping when the number of comparisons in each pass is the same as the length of the list

Stopping once no swaps are made during a single pass

Reducing the number of comparisons by 1 after each pass

Reducing the number swaps made in the first pass

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A bubble sort contains..

Two loops on after the other

A number of lops depending on the length of the list

No loops

Two loops, one inside the other

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?