Sorting Algorithms in Java

Sorting Algorithms in Java

9th - 12th Grade

25 Qs

quiz-placeholder

Similar activities

laila comel tummy busuk

laila comel tummy busuk

9th - 12th Grade

20 Qs

MS Excel 2010 - 9 клас

MS Excel 2010 - 9 клас

9th - 12th Grade

20 Qs

XII UH 1 AIJ

XII UH 1 AIJ

12th Grade

20 Qs

Coding Basics SC-1

Coding Basics SC-1

7th - 12th Grade

20 Qs

Quiz Informatika Kelas X

Quiz Informatika Kelas X

10th Grade

20 Qs

Lesson 8: Working with HTML

Lesson 8: Working with HTML

9th Grade

20 Qs

Microsoft Office Advandces 2016

Microsoft Office Advandces 2016

9th Grade - Professional Development

20 Qs

HTML Quiz

HTML Quiz

9th Grade

22 Qs

Sorting Algorithms in Java

Sorting Algorithms in Java

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Thomas Martinez

FREE Resource

AI

Enhance your content in a minute

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

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

Access all questions and much more by creating a free account

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?