Sorting and Searching Algorithms Quiz

Sorting and Searching Algorithms Quiz

8th Grade

7 Qs

quiz-placeholder

Similar activities

Vocabulary Quizz

Vocabulary Quizz

5th - 12th Grade

9 Qs

Search engines

Search engines

1st - 12th Grade

10 Qs

Code.org CS Fundamentals Express - Variables Vocabulary Quiz

Code.org CS Fundamentals Express - Variables Vocabulary Quiz

6th - 8th Grade

10 Qs

9-сынып. Python массив.

9-сынып. Python массив.

1st - 9th Grade

10 Qs

BAB 3 ALGORITMA

BAB 3 ALGORITMA

1st - 9th Grade

10 Qs

S3 Database

S3 Database

8th Grade

11 Qs

Algorithms

Algorithms

7th - 8th Grade

10 Qs

Y8 Python KO quiz 1

Y8 Python KO quiz 1

8th Grade

7 Qs

Sorting and Searching Algorithms Quiz

Sorting and Searching Algorithms Quiz

Assessment

Quiz

Computers

8th Grade

Hard

Created by

Stanislaw Kuczewski

Used 2+ times

FREE Resource

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