AP CPS - Algorithmic Complexity

AP CPS - Algorithmic Complexity

9th - 12th Grade

9 Qs

quiz-placeholder

Similar activities

TIN 11- KIỂU XÂU

TIN 11- KIỂU XÂU

11th Grade

10 Qs

limbajul pascal

limbajul pascal

10th Grade

12 Qs

k12 bai4

k12 bai4

12th Grade

10 Qs

ICT as Social Change

ICT as Social Change

12th Grade

10 Qs

Test_Bai14_HeSTVB

Test_Bai14_HeSTVB

10th Grade

10 Qs

AVALIAÇÃO JOGO CARTAS

AVALIAÇÃO JOGO CARTAS

9th Grade

7 Qs

Kuis Webinar Cerdas Bertelekomunikasi OTP Fraud

Kuis Webinar Cerdas Bertelekomunikasi OTP Fraud

6th Grade - Professional Development

10 Qs

Quiz 1.2 Operating system

Quiz 1.2 Operating system

10th Grade

10 Qs

AP CPS - Algorithmic Complexity

AP CPS - Algorithmic Complexity

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Robin Wiethüchter

Used 35+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Media Image

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.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?