CS1 Unit Review: Searching and Sorting Algorithms

CS1 Unit Review: Searching and Sorting Algorithms

University

37 Qs

quiz-placeholder

Similar activities

2902032025

2902032025

University

40 Qs

ADA 1

ADA 1

University

35 Qs

Formative searching and sorting

Formative searching and sorting

11th Grade - University

38 Qs

UAS-UP-ADA-17122021

UAS-UP-ADA-17122021

University

35 Qs

IT 211- Data Structures and Algorithm Quiz 1

IT 211- Data Structures and Algorithm Quiz 1

University

35 Qs

Y9 & Y10 Refresh 2

Y9 & Y10 Refresh 2

12th Grade - Professional Development

40 Qs

ALGO - Prelim Reviewer

ALGO - Prelim Reviewer

University

34 Qs

end of year Quiz

end of year Quiz

12th Grade - University

35 Qs

CS1 Unit Review: Searching and Sorting Algorithms

CS1 Unit Review: Searching and Sorting Algorithms

Assessment

Quiz

Computers

University

Medium

Created by

Jack Bandy

Used 3+ times

FREE Resource

37 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

An ___ can be defined as a step-by-step sequence of instructions to solve a problem

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

For the binary search algorithm to work, the input list needs to be:

Sorted

An even length

Unsorted

An odd length

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Suppose binary search is looking for a key in a sorted list of 7 items. If the key does not show up in its first "check," how many items has it eliminated from the search?

1

2

3

4

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Given a sorted list and a prize (or "key") to find, which search algorithm would you expect to perform best?

Binary search

Linear search

Any search algorithm

5.

OPEN ENDED QUESTION

3 mins • 1 pt

What is an example of an algorithm that you use in real life?

Evaluate responses using AI:

OFF

6.

DRAW QUESTION

20 sec • 1 pt

Draw a chart for an algorithm that has linear runtime, that is, O(n)

Media Image

7.

DRAW QUESTION

20 sec • 1 pt

Draw a chart for an algorithm that has logarithmic runtime, that is, O(log2n). Binary search is one such algorithm.

Media Image

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?