CS Edexcel 1.2d Bubble and Merge Sort

CS Edexcel 1.2d Bubble and Merge Sort

9th - 10th Grade

14 Qs

quiz-placeholder

Similar activities

Algorithms

Algorithms

3rd - 12th Grade

15 Qs

Searching and Sorting Algorithms

Searching and Sorting Algorithms

9th - 10th Grade

16 Qs

Algorithms Review

Algorithms Review

10th Grade

18 Qs

GCSE Computer Science 9-1: Sorting Algorithms

GCSE Computer Science 9-1: Sorting Algorithms

10th Grade - University

10 Qs

Searching & Sorting Algorithms

Searching & Sorting Algorithms

10th Grade - University

16 Qs

Search & Sort Algorithms

Search & Sort Algorithms

7th - 11th Grade

18 Qs

Sorting and searching

Sorting and searching

9th Grade

12 Qs

Sorting Algorithms

Sorting Algorithms

9th - 10th Grade

11 Qs

CS Edexcel 1.2d Bubble and Merge Sort

CS Edexcel 1.2d Bubble and Merge Sort

Assessment

Quiz

Computers

9th - 10th Grade

Hard

Created by

Stuart Smith

Used 7+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the bubble sort algorithm do when it compares two elements?
It duplicates the smaller element
It adds them together
It removes the larger element
It checks if they are in the correct order

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the bubble sort algorithm, what happens when two items are in the wrong order?
They are sorted automatically
They remain in their positions
They are deleted from the list
They are compared and swapped if necessary

3.

DRAG AND DROP QUESTION

30 sec • 1 pt

The bubble sort must make (a)   to ensure the array is sorted.

At least one pass without swaps
At least one pass
At least two passes
At least three passes

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the role of the temporary variable in the bubble sort?
To hold a value during a swap
To store the sorted array
To count the number of swaps
To compare two elements

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the initial comparison made in a bubble sort?
Any two random elements
The last two elements of the list
The middle elements of the list
The first two elements of the list

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens if the bubble sort algorithm does not make any swaps during a pass?
It concludes that the array is sorted
It starts the sorting process again
It removes duplicates from the array
It adds more elements to the array

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a characteristic of the bubble sort algorithm?
It is an intelligent sorting algorithm
It can sort numbers and strings
It requires multiple passes for accuracy
It compares and swaps elements as needed

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?