Sorting Algorithms in Java

Sorting Algorithms in Java

9th - 12th Grade

25 Qs

quiz-placeholder

Similar activities

Computer Science Principles Unit 3 Exam

Computer Science Principles Unit 3 Exam

12th Grade

20 Qs

Python Revision 1 RK

Python Revision 1 RK

12th Grade

20 Qs

9.1 Computational Thinking Skills Cambridge iAS 9618

9.1 Computational Thinking Skills Cambridge iAS 9618

11th Grade

20 Qs

Visual C# Quiz 4 - Control Structures

Visual C# Quiz 4 - Control Structures

12th Grade

20 Qs

TMK tahun 6: UNIT 3 PENGHASILAN DAN PENGUJIAN ATUR CARA

TMK tahun 6: UNIT 3 PENGHASILAN DAN PENGUJIAN ATUR CARA

1st - 12th Grade

20 Qs

Scratch

Scratch

4th Grade - Professional Development

22 Qs

list 6th

list 6th

7th Grade - University

20 Qs

Numbers and their operations

Numbers and their operations

9th - 12th Grade

20 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?