Search Header Logo
AP-CSP - November 24th

AP-CSP - November 24th

Assessment

Presentation

Computers

9th - 12th Grade

Medium

Created by

Matt Kumershek

Used 6+ times

FREE Resource

9 Slides • 4 Questions

1

AP-CSP - November 24th

Algorithm Efficiency &

Heuristics

Slide image

2

Algorithms - Unreasonable Time

Lesson 3

3

In the next video think about ...

  • What are the the differences between problems that run in a reasonable time and those that do not ?

  • What are ways we can describe the efficiency of an algorithm?

4

5

Multiple Choice

Question image

Which line best represents the time complexity n!

1

Orange

2

Blue

3

Green

4

Red

5

Pink

6

Multiple Choice

The O (n!) is so inefficient, there is no practical use for it

1

True

2

False

7

Multiple Choice

Which notation is consistent for every execution?

1

O (n)

2

O (n^2)

3

O (1)

4

O (2^n)

8

Multiple Choice

Which notation grows in proportion to the size of the input

1

O (n)

2

O (n^2)

3

O (1)

4

O (2^n)

9

Limits of Algorithms

Lesson 4

10

Objectives

  • Determine if an algorithm runs in unreasonable time.

  • Develop a heuristic to solve a problem.

  • Distinguish between decision problems and optimization problems.

  • Explain the existence of undecidable problems

11

Goto Canvas...

  • Find Unit 6 - Lesson 4 Assignment

  • Make a copy of the activity guide

  • Watch the video

  • Submit the activity guide to canvas.

Slide image

12

Lesson wrapup

Please look over the slide deck posted on canvas for Unit 6. Browse through Lesson 3 and 4. Make note of the key takeaways and definitions. Take notes on any definitions you come across....


that is all! have a great tgiving break!

13

Lesson wrapup

Please look over the slide deck posted on

AP-CSP - November 24th

Algorithm Efficiency &

Heuristics

Slide image

Show answer

Auto Play

Slide 1 / 13

SLIDE