Search Header Logo

Sorting Algorithms Quiz

Authored by Jhunel Peñaflorida

Computers

12th Grade

Used 2+ times

Sorting Algorithms Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of Bubble Sort?

Ο(n2)

Ο(n log n)

Ο(n)

Ο(1)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Bubble Sort, what happens when a pair of adjacent elements are not in order?

They are left unchanged

They are removed from the array

The algorithm stops

They are swapped

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Insertion Sort, what is compared with the key element to determine its position?

The previous elements

The largest element

The first element

The next element

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main characteristic of Selection Sort?

It uses recursion

It has a time complexity of Ο(n log n)

It compares every pair of elements

It divides the list into two parts

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Selection Sort, what is the first position where the minimum value is searched?

A random position

The last position

The middle position

The first position

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main disadvantage of Bubble Sort?

It is not a comparison-based algorithm

It is not suitable for large data sets

It has a time complexity of Ο(n log n)

It is not suitable for small data sets

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main advantage of Insertion Sort?

It has a time complexity of Ο(n2)

It is suitable for small data sets

It is a comparison-based algorithm

It is suitable for large data sets

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?