Search Header Logo

Sorting and Searching Algorithms Quiz

Authored by Stanislaw Kuczewski

Computers

8th Grade

Used 2+ times

Sorting and Searching Algorithms Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sorting algorithm starts at the first value in the list and compares pairs of values?

Linear

Insertion

Bubble

Merge

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is there an inner condition-controlled loop in the Merge sort algorithm?

To make use of multiple lists/arrays

To avoid knowing how many swaps are needed

To run until a condition is met

To compare all values

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a similarity between Bubble sort and Insertion sort?

Both discard half of the item set after each comparison

Both use a temporary value

Both start at the second value in the list

Both are most efficient for large lists

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which search algorithm is suitable for smaller data sets?

Linear search

Binary search

Bubble sort

Insertion sort

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the Binary search algorithm, what is done if the target value is larger than the selected value?

Discard right half

Repeat until the target value is found or not found

Discard left half

Check if the selected value matches the target value

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a difference between Linear search and Binary search?

Binary search searches each item in sequence after each comparison

Binary search starts with the middle value

Linear search is suitable for large data sets

Linear search starts with the first value

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sorting algorithm creates a sorted list within the array?

Insertion sort

Merge sort

Linear search

Bubble sort

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?