blackys

blackys

1st - 5th Grade

40 Qs

quiz-placeholder

Similar activities

2D and 3D SHAPES

2D and 3D SHAPES

4th - 9th Grade

45 Qs

Country flags

Country flags

5th Grade

40 Qs

Operating System Quiz 2

Operating System Quiz 2

4th Grade - University

35 Qs

Equations and Inequal_Functions and Relations & Domain and Range

Equations and Inequal_Functions and Relations & Domain and Range

1st Grade - University

40 Qs

Vocational Aptitude Third Grade

Vocational Aptitude Third Grade

3rd Grade

40 Qs

Solar System

Solar System

3rd - 5th Grade

35 Qs

there is / there are

there is / there are

1st - 5th Grade

40 Qs

About computer ( part 2 )

About computer ( part 2 )

1st - 5th Grade

42 Qs

blackys

blackys

Assessment

Quiz

Architecture

1st - 5th Grade

Easy

Created by

horoho negro

Used 14+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

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

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?