Sorting Algorithms Quiz

Sorting Algorithms Quiz

12th Grade

10 Qs

quiz-placeholder

Similar activities

karel

karel

12th Grade

15 Qs

Ψηφιακό Φροντιστήριο δέντρα λίστες γράφοι

Ψηφιακό Φροντιστήριο δέντρα λίστες γράφοι

12th Grade

15 Qs

Web cookies

Web cookies

10th - 12th Grade

10 Qs

Sorting and searching algorithms

Sorting and searching algorithms

12th Grade

10 Qs

Understanding Insertion Sort Algorithm

Understanding Insertion Sort Algorithm

12th Grade

10 Qs

Insertion Sort

Insertion Sort

12th Grade

10 Qs

Excel - Pop Quiz - W2

Excel - Pop Quiz - W2

9th - 12th Grade

10 Qs

ΤΥΥΣΔΥ Κ2.2 Προβλήματα Μητρικής, Επεξεργαστή, Μνήμης, Δίσκων

ΤΥΥΣΔΥ Κ2.2 Προβλήματα Μητρικής, Επεξεργαστή, Μνήμης, Δίσκων

12th Grade

10 Qs

Sorting Algorithms Quiz

Sorting Algorithms Quiz

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Jhunel Peñaflorida

Used 2+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?