Big Idea 3: Algorithms and Programming - AP CSP

0.0(0)
studied byStudied by 13 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/11

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

12 Terms

1
New cards

Sequencing

The steps in which code occurs in a program (like steps in a recipe)

2
New cards

Selection

Determines which path a program takes while running

3
New cards

Iteration

The repetition of steps in a program until a certain value is met

4
New cards

Linear Search

Checks each element sequentially to find a value

5
New cards

Binary Search

Repeatedly splits groups of elements in half to find a value

6
New cards

Reasonable Time

A run time for an algorithm that doesn't increase faster than a polynomial function (like 10x, x², etc). An unreasonable run time would increase superpolynomially (like 2^x or x!).

7
New cards

Heuristic

A technique that helps an algorithm find a good solution in a hard problem

8
New cards

Undecidable

A problem that is so logically difficult, we can’t ever create an algorithm that would be able to answer "yes or "no" for all inputs

9
New cards

Library

A collection of procedures that are useful in creating programs

10
New cards

API

Application Programming Interface: a library of procedures

11
New cards

Modularity

Seperate parts of a program that are each responsible for a specific aspect. They all make up a whole program

12
New cards

Traversal

The iteration over items in a list