1. What kind of data can be sorted by the Bubble, Selection, and Insertion sort algorithms?

blackys

Quiz
•
Architecture
•
1st - 5th Grade
•
Easy
horoho negro
Used 14+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
All of these can be sorted
Numbers
Strings
Other objects
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. Which sorting algorithm relies on swapping pairs of side-by-side elements that are out of order?
Bubble sort
Selection sort
Insertion sort
Merge sort
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. Which sorting algorithm iterates through the array, starting one element to the right each time. On each iteration, it scans all elements to the right of the starting point for a smaller value, and swaps it with the starting position if found.
Selection sort
Bubble sort
Insertion sort
Merge sort
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. Which sorting algorithm makes a single pass through the array, starting at the second element, and moving that element backward while the numbers to the left are greater?
Insertion sort
Bubble sort
Selection sort
Merge sor
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. If the Bubble Sort algorithm begins working on an array with "N" elements that is already completely sorted, how many loops will it need to complete over the entire array?
1
0
N
N / 2
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. Given the starting values below, what will the order become after the first complete pass through the array by the Bubble Sort algorithm? { 4, 1, 8, 5 }
1, 4, 5, 8
1, 5, 8, 4
8, 1, 4, 5
5, 1, 4, 8
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. What is one simple way to understand the efficiency of an algorithm?
Do a rough statement execution count, focusing on the innermost loop
Calculate the amount of memory that will be consumed during the algorithm
Look at the size of the compiled .class file that contains the Java algorithm
All of these will work equally well
Create a free account and access millions of resources
Similar Resources on Quizizz
45 questions
Ms.Loan - EOW2 - Unit 4 - All

Quiz
•
2nd Grade - University
37 questions
ароаорпоп

Quiz
•
1st Grade
35 questions
Operating System Quiz 2

Quiz
•
4th Grade - University
40 questions
Vocational Aptitude Third Grade

Quiz
•
3rd Grade
42 questions
the history of conservation and restoration of greenery

Quiz
•
1st - 5th Grade
41 questions
TIẾNG ANH

Quiz
•
2nd Grade
42 questions
CCL2P1

Quiz
•
1st - 5th Grade
40 questions
aqidah akhlak kelas 4

Quiz
•
4th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Architecture
15 questions
Character Analysis

Quiz
•
4th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
10 questions
Identifying equations

Quiz
•
KG - University
14 questions
IREAD-3 Practice Test

Quiz
•
3rd Grade
15 questions
Multiplication Facts

Quiz
•
4th Grade