Bubble Sorts

Bubble Sorts

12th Grade

12 Qs

quiz-placeholder

Similar activities

ASK Tingkatan 3 : Algoritma

ASK Tingkatan 3 : Algoritma

12th Grade

10 Qs

Pretest Tumpukan dan Antrian

Pretest Tumpukan dan Antrian

9th - 12th Grade

10 Qs

Data Structures & Algorithms

Data Structures & Algorithms

12th Grade

10 Qs

Searching Technique -Linear Search Quiz1

Searching Technique -Linear Search Quiz1

12th Grade

10 Qs

Sorting Algorithms in Java

Sorting Algorithms in Java

11th - 12th Grade

17 Qs

Sorting Algorithms

Sorting Algorithms

9th - 12th Grade

9 Qs

Year 9 Home learning

Year 9 Home learning

10th - 12th Grade

12 Qs

ULANGAN SUMATIF

ULANGAN SUMATIF

12th Grade

10 Qs

Bubble Sorts

Bubble Sorts

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Andrew Duckworth

Used 8+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 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

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Which type of sort algorithm is this?
Bubble
Merge
Insertion

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

May end up making many pointless comparisons
Bubble Sort
Insertion Sort
Merge Sort
Quick Sort

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

moving through a list repeatedly, swapping elements that are in the wrong order
Bubble Sort
Insertion Sort
Merge Sort
Quick Sort

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a bubble sort what items do we need to track

the number of comparisons made

whether a swap is made

which items have been swapped

the largest value in the list

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

How can a bubble sor be made more efficient?

Stopping when the number of comparisons in each pass is the same as the length of the list

Stopping once no swaps are made during a single pass

Reducing the number of comparisons by 1 after each pass

Reducing the number swaps made in the first pass

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A bubble sort contains..

Two loops on after the other

A number of lops depending on the length of the list

No loops

Two loops, one inside the other

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?

Discover more resources for Computers