AP Comp Sci Big Idea 3

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall with Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
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
Call with Kai

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 (like \[10n\], \[n^2\], etc). An unreasonable run time would increase superpolynomially (like \[2^n\] or \[n!\]).

7
New cards

Heuristic

A technique that helps an algorithm find a good solution in a hard problem (like always walking toward the north star when you are stuck in a forest)

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 (like the halting problem).

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 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

The iteration over the items in a list. A full traversal iterates over every item, while a partial traversal iterates over a subset of the items.