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

Searching Algorithm

Searching Algorithm

10th - 11th Grade

12 Qs

Linear Binary Search

Linear Binary Search

9th Grade

17 Qs

44. Algorithms - Bubble Sort Algorithm Quiz

44. Algorithms - Bubble Sort Algorithm Quiz

9th - 12th Grade

11 Qs

Mobile CSP Unit 5 Vocab

Mobile CSP Unit 5 Vocab

10th - 12th Grade

15 Qs

Code.org Unit 6 Discoveries

Code.org Unit 6 Discoveries

9th - 12th Grade

15 Qs

iGCSE Computer Science: Data Compression and Encryption

iGCSE Computer Science: Data Compression and Encryption

9th - 12th Grade

18 Qs

Algorithm & Flowchart Quiz

Algorithm & Flowchart Quiz

6th - 12th Grade

17 Qs

CSF U2 Algorithms p1

CSF U2 Algorithms p1

9th - 12th Grade

10 Qs

CS Edexcel 1.2d Bubble and Merge Sort

CS Edexcel 1.2d Bubble and Merge Sort

Assessment

Quiz

Computers

9th - 10th Grade

Medium

Created by

Stuart Smith

Used 8+ 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?