Sorting Algorithms in Java

Sorting Algorithms in Java

11th - 12th Grade

17 Qs

quiz-placeholder

Similar activities

Sorting Algorithms

Sorting Algorithms

12th Grade

20 Qs

Bubble Sort

Bubble Sort

1st Grade - Professional Development

13 Qs

Algorithms

Algorithms

10th - 11th Grade

20 Qs

Software Design and Development: Algorithm Quiz

Software Design and Development: Algorithm Quiz

11th - 12th Grade

15 Qs

2.1 Bubble sort vs Insertion sort

2.1 Bubble sort vs Insertion sort

10th - 11th Grade

12 Qs

2.1.3 Algorithms (Sorting)

2.1.3 Algorithms (Sorting)

12th Grade

13 Qs

2.1.3 Searching Algorithms

2.1.3 Searching Algorithms

10th - 11th Grade

12 Qs

Searching and sorting algorithm quiz

Searching and sorting algorithm quiz

12th Grade

19 Qs

Sorting Algorithms in Java

Sorting Algorithms in Java

Assessment

Quiz

Computers

11th - 12th Grade

Medium

Created by

Nishat Khimani

Used 102+ times

FREE Resource

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

2.

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

3.

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

4.

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
Bubble Sort
Selection Sort
Insertion Sort

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    8    6    2    5    7 
4    8    6    2    5    7 
4    6    8    2    5    7
Bubble Sort
Selection Sort
Insertion Sort

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The following lists represent 3 passes of a sorting algorithm. Which algorithm is being used to sort the list?
 
4    8    3    9    2    6 
2    8    3    9    4    6
2    3    8    9    4    6
Bubble Sort
Selection Sort
Insertion Sort

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

We are sorting the following list in ascending order:
 
1    4    2    9    3    8    5
 
What does the list look like after one pass of the bubble sort algorithm. 
1 2 4 3 8 5 9
1 4 2 5 3 8 9
4 2 9 3 8 5 1

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?