Sorting Algorithms Quiz

Sorting Algorithms Quiz

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Microsoft Word 2016 Tables

Microsoft Word 2016 Tables

8th - 12th Grade

13 Qs

Soal Berpikir Algoritma

Soal Berpikir Algoritma

10th Grade

10 Qs

מבוא לטריגונומטריה

מבוא לטריגונומטריה

9th - 12th Grade

14 Qs

bài tập mảng tiết 1

bài tập mảng tiết 1

11th Grade

15 Qs

Order of Operations

Order of Operations

7th - 12th Grade

10 Qs

Searching and Sorting Algorithms Quiz

Searching and Sorting Algorithms Quiz

11th Grade

10 Qs

2D Arrays

2D Arrays

9th - 12th Grade

15 Qs

Soal Psikotes Logika Aritmatika

Soal Psikotes Logika Aritmatika

9th - 12th Grade

10 Qs

Sorting Algorithms Quiz

Sorting Algorithms Quiz

Assessment

Quiz

Other

9th - 12th Grade

Medium

Created by

Mouna Boutemine

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the sorted array: {4, 9, 15, 22, 30, 41, 56, 63, 72, 88} You perform a binary search for 88. Which index will be checked second?

4

5

6

7

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

{4, 9, 15, 22, 30, 41, 56, 63, 72, 88}
which indexes are checked after the first pass in binary search for 88?

{9}

{8, 9}

{5, 6}

{2, 3, 4}

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the sorted array: {-2, 8, 13, 22, 25, 25, 38, 42, 51, 103} You perform a binary search for 30. Which index will be checked last?

4

5

6

7

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the array {42, 20, 8, 31, 19}. What does the array look like after the first pass of selection sort?

{8, 31, 42, 20, 42}

{ 8, 20, 42, 31, 19}

{8, 20, 42, 19, 31}

{8, 20, 19, 31, 42}

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

After the second pass of selection sort on {42, 20, 8, 31, 19}, what does the array look like?

{8, 19, 42, 31, 20}

{8, 19, 42, 20, 31}

{8,20, 42, 31, 19}

{8, 20, 19, 31, 42}

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many passes does selection sort make for an array of 6 elements?

3

4

5

6

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the array {6, 2, 9, 3, 7}. What does the array look like after the first pass of insertion sort?

{2, 3, 6, 7, 9}

{6, 2, 3, 9, 7}

{6, 9, 2, 3, 7}

{2, 6, 9, 3, 7}

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?