Sorting Algorithms Quiz

Sorting Algorithms Quiz

11th Grade

15 Qs

quiz-placeholder

Similar activities

10.4 Intro. to Abstract Data Types (ADT) Cambridge iAS 9618

10.4 Intro. to Abstract Data Types (ADT) Cambridge iAS 9618

11th Grade

20 Qs

GCSE Computing: Lists and Arrays

GCSE Computing: Lists and Arrays

10th - 11th Grade

15 Qs

C# Arrays

C# Arrays

9th - 12th Grade

12 Qs

MICS Unit 10 and 11 Retest 2

MICS Unit 10 and 11 Retest 2

9th - 12th Grade

20 Qs

CodeHS 5.3 Using Arrays

CodeHS 5.3 Using Arrays

9th - 12th Grade

11 Qs

2.3.1 Algorithms

2.3.1 Algorithms

11th Grade

20 Qs

Arrays in Java

Arrays in Java

9th - 12th Grade

20 Qs

1.4.2 Data Structures

1.4.2 Data Structures

11th Grade

20 Qs

Sorting Algorithms Quiz

Sorting Algorithms Quiz

Assessment

Quiz

Computers

11th Grade

Hard

Created by

Scott Jamieson

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the initial number used in the sorting example provided in the text?

239

307

214

223

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the relationship between input size and the number of steps in the Selection Sort algorithm?

Linear

Quadratic

Logarithmic

Exponential

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the "N" in the complexity of merge sort represent?

The number of merge steps

The number of items in the array

The number of comparisons

The number of splits

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the "Log N" in the complexity of merge sort represent?

The number of items in the array

The number of merge steps

The number of comparisons

The number of splits

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result after merging all numbers in merge sort?

The array is partially sorted

The array is fully sorted

The array is unsorted

The array is doubled in size

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main problem with the N squared complexity mentioned in the text?

It is too fast

It is not efficient for large arrays

It is only suitable for small arrays

It is too complex to implement

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of labeling lines in a graph with weights?

To identify the nodes.

To determine the shortest path.

To indicate the cost or weight of travel.

To sort the nodes alphabetically.

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?