Khan Academy AP CSP Vocab Big Idea 3 - Algorithms and Programming

0.0(0)
studied byStudied by 0 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 sequential execution of steps in an algorithm or code in a program (like steps in a recipe)

2
New cards

Selection

A Boolean condition to determine which of two paths are taken in an algorithm or program

3
New cards

Iteration

The repetition of steps in an algorithm or program for a certain amount of times or until a certain condition is met

4
New cards

Linear search

An algorithm that iterates through each item in a list until it finds the target value

5
New cards

Binary search

An algorithm that searches a sorted list for a value by repeatedly splitting the list in half

6
New cards

Reasonable time

A run time for an algorithm that doesn't increase faster than a polynomial function of the input size. An unreasonable run time would increase superpolynomially

7
New cards

Heuristic

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

8
New cards

Undecidable problem

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

Application Programming Interface (API)

A library of procedures and a description of how to call each procedure

11
New cards

Modularity

The separation of a program into independent modules that are each responsible for one aspect of the program's functionality

12
New cards

Traversal

Iteration over the items in a list