
ONE 6th FORM - Sorting Algorithms: Bubble and Insertion

Quiz
•
Computers
•
11th Grade
•
Medium

Lorna Jarrett
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary operation performed in a bubble sort algorithm?
Swapping adjacent elements
Merging sorted subarrays
Dividing the array into halves
Inserting elements into their correct position
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes the insertion sort algorithm?
It repeatedly finds the minimum element and places it at the beginning
It builds the final sorted array one item at a time
It divides the array into two halves and sorts them recursively
It swaps adjacent elements if they are in the wrong order
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the average time complexity of bubble sort?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the average time complexity of insertion sort?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which sorting algorithm is generally more efficient for small datasets?
Bubble sort
Insertion sort
Quick sort
Merge sort
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements about sorting stability is true?
A stable sort maintains the relative order of records with equal keys
A stable sort changes the relative order of records with equal keys
Stability is not a concern in sorting algorithms
Stability only applies to numerical data
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is bubble sort a stable sorting algorithm?
Yes
No
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Unit 8 - Searching and Sorting

Quiz
•
9th - 12th Grade
12 questions
APCSA Unit 7

Quiz
•
9th - 12th Grade
20 questions
BK Data

Quiz
•
9th - 12th Grade
10 questions
INFORMATIKA 10 SMT 1 PAS BAB 1 HAL 009

Quiz
•
9th - 12th Grade
20 questions
Struktur Data

Quiz
•
9th - 12th Grade
10 questions
C Programming - Dia Aberto - EPC

Quiz
•
9th - 12th Grade
20 questions
Principles of Computer Science

Quiz
•
10th - 12th Grade
10 questions
Database Fundamentals

Quiz
•
KG - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade