Search Header Logo

Sorting Algorithms

Authored by Sakhi Anand

Computers

University

Sorting Algorithms
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a bubble sort do?

Sorts a list by comparing two items that are side by side, to see which is out of order
Separates a list of data into different collections of data, before sorting and gathering back into a list
Finds an item of data in a list

2.

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 save the data
It does not recognise that the data is in order until the final pass requires no changes
It needs to do this to put the data back in to a list

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does an insertion sort do?

Separates a list of data into different collections of data which are sorted and gathered back into a list
Goes through a list of data a number of times and compares two items that are side by side to each other to see which is out of order
Goes through a list, comparing two items that are side by side, and continues to move one value until it is in the correct place.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which type of sort algorithm is this?

Bubble
Merge
Insertion

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which type of sort algorithm is this?

Insertion
Merge
Bubble

6.

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

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which type of sort algorithm is this?

Bubble
Merge
Insertion

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?

Discover more resources for Computers