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

Coding helps to Understand

Coding helps to Understand

6th - 10th Grade

10 Qs

ICT Computer Basics pt1

ICT Computer Basics pt1

10th - 12th Grade

12 Qs

J808 LO1 and LO2 planning project keywords / terms

J808 LO1 and LO2 planning project keywords / terms

9th - 11th Grade

15 Qs

Cyber Security Homework 1

Cyber Security Homework 1

7th - 9th Grade

15 Qs

ICT Java programming workshop

ICT Java programming workshop

9th Grade

10 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

Quiz 1.2 Operating system

Quiz 1.2 Operating system

10th Grade

10 Qs

Q4 M1 PRETEST

Q4 M1 PRETEST

10th 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

Practice Problem

Medium

Created by

Stuart Smith

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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?