Unit 5 Lab 1 Review

Unit 5 Lab 1 Review

9th - 12th Grade

19 Qs

quiz-placeholder

Similar activities

Mobile CSP Unit 5 Vocab

Mobile CSP Unit 5 Vocab

10th - 12th Grade

15 Qs

Algorithms Review

Algorithms Review

9th - 12th Grade

20 Qs

APCSP Unit 6 FINAL PRODUCT

APCSP Unit 6 FINAL PRODUCT

11th Grade

14 Qs

AP CSP - Unit 6: Lesson 6: Assessment Day

AP CSP - Unit 6: Lesson 6: Assessment Day

12th Grade

15 Qs

Algorithm Unit

Algorithm Unit

12th Grade

19 Qs

Code.org Algorithms AP CSP

Code.org Algorithms AP CSP

12th Grade

19 Qs

Code.org Unit 6 Discoveries

Code.org Unit 6 Discoveries

9th - 12th Grade

15 Qs

Codehs Unit 6

Codehs Unit 6

9th - 12th Grade

15 Qs

Unit 5 Lab 1 Review

Unit 5 Lab 1 Review

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Robin Clapper

Used 4+ times

FREE Resource

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of lists or data sets are linear searching algorithms used for?
Unsorted lists or data sets
Sorted lists or data sets

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of lists or data sets are binary searching algorithms used for?
Unsorted lists or data sets
Sorted lists or data sets

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the best description to explain what a linear search algorithm is.
Put the elements in order, check each item in turn.
Put the elements in order, compare with the middle value, split the list in order and repeat.
Elements do not need to be in order, check each item in turn.
Elements do not need to be in order, compare to the middle value, split the list in order and repeat

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the best description to explain what a binary search algorithm is.

Put the elements in order, check each item in turn.

Put the elements in order, compare with the middle value, split the list in order and repeat.

Elements do not need to be in order, check each item in turn.

Elements do not need to be in order, compare to the middle value, split the list in order and repeat

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

On average, which searching algorithm is more efficient?
Binary Search
Linear Search

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

An array with 20 elements is input to a binary search algorithm. How many maximum number of comparisons are performed?​

20

16

8

5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An array with 20 elements is input to a linear search algorithm. How many maximum number of comparisons are performed?​

20

16

8

5

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?