AP CSP Unit 10 Algorithms

AP CSP Unit 10 Algorithms

12th Grade

15 Qs

quiz-placeholder

Similar activities

19.1 Algorithms Cambridge iA 9618

19.1 Algorithms Cambridge iA 9618

12th Grade

20 Qs

Loops - code.org

Loops - code.org

12th Grade

10 Qs

Algorithmic Strategies

Algorithmic Strategies

12th Grade

10 Qs

Understanding Linear Search Algorithm

Understanding Linear Search Algorithm

12th Grade

11 Qs

AP CSP BI 3

AP CSP BI 3

9th - 12th Grade

13 Qs

COMP 210 - Help for MDTM 2

COMP 210 - Help for MDTM 2

12th Grade

20 Qs

Algorithms

Algorithms

9th - 12th Grade

10 Qs

2.3.1. Analysis Design and Comparison of Algorithms

2.3.1. Analysis Design and Comparison of Algorithms

12th Grade

18 Qs

AP CSP Unit 10 Algorithms

AP CSP Unit 10 Algorithms

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Mister Swagner

Used 3+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which phrase best defines an algorithm?

exact list of clear steps

random guessing until success

picture of computer wires

secret password saved offline

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which problem is provably unsolvable for all inputs?

sorting eight random numbers

multiplying two whole numbers

deciding if any program halts

finding a name linearly

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Emma is organizing a school event and needs to arrange chairs in a grid pattern. She repeats the process of placing chairs in a row n times, and for each row, she repeats placing chairs n times. What is the overall Big-O time complexity of this chair arrangement process?

linear time in n

quadratic time n squared

constant time regardless size

logarithmic time log n

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Binary search only works when the list is

sorted into correct order

stored on flash drive

full of duplicate entries

limited to ten items

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Michael is organizing his collection of books on a shelf. He picks up each book one by one and places it in its correct position among the already sorted books. What is the average complexity of this sorting method?

constant time for all

n log n steps

about n squared steps

roughly log n steps

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Inside many loops, an accumulator is used to

keep a running total

index through each value

randomize entire list order

encrypt the data items

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why might a map app use a heuristic instead of the perfect Traveling-Salesman answer?

guarantees absolute shortest path

uses less battery power

gets good route quickly

avoids all traffic jams

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?