Search Header Logo

CS Edexcel 1.2d Bubble and Merge Sort

Authored by Stuart Smith

Computers

9th - 10th Grade

Used 8+ times

CS Edexcel 1.2d Bubble and Merge Sort
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?