21 can u do some

21 can u do some

4th Grade

20 Qs

quiz-placeholder

Similar activities

Ap computer science a

Ap computer science a

1st - 12th Grade

15 Qs

Code.org CSD Unit 3 Lessons 1-12

Code.org CSD Unit 3 Lessons 1-12

3rd - 12th Grade

20 Qs

Low Stakes 1 HT 6

Low Stakes 1 HT 6

1st - 9th Grade

21 Qs

Programmer OK9

Programmer OK9

1st - 10th Grade

15 Qs

Algorithm

Algorithm

1st - 5th Grade

18 Qs

quiz

quiz

1st - 5th Grade

15 Qs

Computer Science Terms

Computer Science Terms

1st - 5th Grade

20 Qs

array

array

1st - 5th Grade

15 Qs

21 can u do some

21 can u do some

Assessment

Quiz

Computers

4th Grade

Easy

Created by

jamal james

Used 13+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Other objects

Strings

All of these can be stored

Numbers

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sorting algorithm relies on swapping pairs of side-by-side elements that are out of order

Selection Sort

Merge Sort

Insertion Sort

Bubble Sort

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Bubble sort

Selection Sort

insertion sort

merge sort

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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?

merge sort

bubble selection

insertion sort

selection sort

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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?

N/2

1

0

N

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the starting values below, what will the order become after the first complete pass through the array by the Bubble Sort algorithm?

5,1,4,8

1,4,5,8

1,5,8,4

8,1,4,5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is one simple way to understand the efficiency of an algorithm?

Look at the size of the compiled .class file that contains the Java algorithm

Calculate the amount of memory that will be consumed during the algorithm

All of these will work equally well

Do a rough statement execution count, focusing on the innermost loop

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?