
AP CPS - Algorithmic Complexity

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Robin Wiethüchter
Used 32+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An algorithm that needs n steps is __
linear
polynomial
exponential
factorial
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An algorithm that needs n^4 steps is __
linear
polynomial
exponential
factorial
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An algorithm that needs n*10+5 steps is __
linear
polynomial
exponential
factorial
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An algorithm that needs 3^n steps is __
linear
polynomial
exponential
factorial
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
which time complexities are reasonable
linear
logarithmic
exponential
polynomial
factorial
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For which of the following situations would it be best to use a heuristic in order to find a solution that runs in a reasonable amount of time?
Adding an item to a list of n elements, which can be done in constant time.
Planning an optimal delivery route that visits each of n locations exactly once, which can require exploring n! possible paths.
Performing a binary search on a sorted list of n items, which requires at most log n comparisons.
Performing a binary search on a sorted list of n items, which requires at most \log n comparisons.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The algorithm runs in a reasonable amount of time because it will use approximately n steps to draw n shapes.
The algorithm runs in a reasonable amount of time because it will use approximately n^2 steps to draw n shapes.
The algorithm runs in an unreasonable amount of time because it will use approximately n steps to draw n shapes.
The algorithm runs in an unreasonable amount of time because it will use approximately 2^n steps to draw n shapes.
8.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
A
B
C
D
9.
MATCH QUESTION
1 min • 1 pt
Match the following
Constant
Time Complexity of adding a number to a list
Linear
Time Complexity of Linear Search
Factorial
Time Complexity of Travelling Salesman
Logarithmic
Time Complexity of Binary Search
Similar Resources on Wayground
10 questions
Sequencing in Flowcharts

Quiz
•
5th - 9th Grade
10 questions
Algorithms

Quiz
•
9th - 12th Grade
10 questions
Introduction to Programming

Quiz
•
2nd - 10th Grade
10 questions
Data Structures & Algorithms

Quiz
•
12th Grade
11 questions
CODE: PROGRAMMING WITH ANGRY BIRDS

Quiz
•
8th - 12th Grade
9 questions
Year 7 & 8 - Scratch

Quiz
•
4th - 9th Grade
11 questions
Computational Thinking

Quiz
•
12th Grade
10 questions
Computational Thinking

Quiz
•
9th - 11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
17 questions
[AP CSP] Binary Number System

Lesson
•
9th - 12th Grade
15 questions
1.1 Network Fundamentals Quiz

Quiz
•
10th Grade
20 questions
Understanding Information Processing Cycle

Quiz
•
10th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade