Searching and Sorting Algorithms Quiz

Searching and Sorting Algorithms Quiz

11th Grade

10 Qs

quiz-placeholder

Similar activities

Les 12 travaux d'Hercule: L'Hydre de Lerne

Les 12 travaux d'Hercule: L'Hydre de Lerne

KG - 12th Grade

15 Qs

Éducation financière

Éducation financière

10th - 11th Grade

10 Qs

Teoría de la fijación de los objetivos y metas de Edwin Lock

Teoría de la fijación de los objetivos y metas de Edwin Lock

1st - 12th Grade

10 Qs

Pólizas de seguros y sus elementos

Pólizas de seguros y sus elementos

1st Grade - University

13 Qs

Imposible to get 10/10 RAP MUSIC

Imposible to get 10/10 RAP MUSIC

KG - Professional Development

8 Qs

quiz #2

quiz #2

11th Grade

15 Qs

Evaluación primer periodo

Evaluación primer periodo

1st - 12th Grade

10 Qs

¿Qué vamos a citar hoy?

¿Qué vamos a citar hoy?

11th Grade

10 Qs

Searching and Sorting Algorithms Quiz

Searching and Sorting Algorithms Quiz

Assessment

Quiz

Other

11th Grade

Practice Problem

Medium

Created by

Darragh OConnor

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of a linear search algorithm?

O(n)

O(n^2)

O(log n)

O(1)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which search algorithm requires the array to be sorted before performing the search?

Breadth First Search

Depth First Search

Binary Search

Linear Search

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the worst-case time complexity of a binary search algorithm?

O(log n)

O(1)

O(n^2)

O(n)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sorting algorithm repeatedly swaps adjacent elements if they are in the wrong order?

Selection Sort

Bubble Sort

Insertion Sort

Merge Sort

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of a bubble sort algorithm in the worst case?

O(1)

O(log n)

O(n)

O(n^2)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sorting algorithm repeatedly selects the minimum element from the unsorted part of the array and places it at the beginning?

Selection Sort

Merge Sort

Insertion Sort

Bubble Sort

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of a selection sort algorithm in the worst case?

O(n^2)

O(n log n)

O(log n)

O(n)

Create a free account and access millions of resources

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?