Sorting Algorithms in Java

Sorting Algorithms in Java

9th - 12th Grade

25 Qs

quiz-placeholder

Similar activities

To meet the horizon

To meet the horizon

11th - 12th Grade

20 Qs

Stuchell Photoshop ACA - Setting Project Requirements

Stuchell Photoshop ACA - Setting Project Requirements

6th - 11th Grade

22 Qs

Quiz Pemrograman Perangkat Bergerak 2

Quiz Pemrograman Perangkat Bergerak 2

12th Grade - University

20 Qs

Yr 11 ICT quiz 1 Networks & Security

Yr 11 ICT quiz 1 Networks & Security

10th - 11th Grade

20 Qs

Video Editing Exam

Video Editing Exam

9th Grade

20 Qs

Written Works 4 (ICT A)

Written Works 4 (ICT A)

11th Grade

20 Qs

Sorting Algorithms in Java

Sorting Algorithms in Java

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Thomas Martinez

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which sorting algorithm makes one swap per pass (possibly swapping an element with itself)?
Selection Sort
Bubble Sort
Insertion Sort

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sorting algorithm may make multiple swaps per pass?
Bubble Sort
Selection Sort
Insertion Sort

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sorting algorithm shifts elements instead of swapping elements if needed in each pass.
Bubble Sort
Selection Sort
Insertion Sort

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How many passes will both the selection and insertion sorts make?
N
N-1
N+1
(N+1)/2

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The following lists represent 3 passes of a sorting algorithm. Which algorithm is being used to sort the list?

4 5 9 6 2 7


4 5 6 2 7 9

4 5 2 6 7 9

4 2 5 6 7 9

Bubble Sort

Selection Sort

Insertion Sort

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The following lists represent 3 passes of a sorting algorithm. Which algorithm is being used to sort the list?

4 5 9 6 2 7


4 5 9 6 2 7

4 5 9 6 2 7

4 5 6 9 2 7

Bubble Sort

Selection Sort

Insertion Sort

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The following lists represent 3 passes of a sorting algorithm. Which algorithm is being used to sort the list?

4 5 9 6 2 7


2 5 9 6 4 7

2 4 9 6 5 7

2 4 5 6 9 7

Bubble Sort

Selection Sort

Insertion Sort

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?