APCSP.Review - Algorithms

Build your Mastery score
multiple choiceMultiple Choice & FRQ
call kaiCall Kai
Card Sorting

1/16

17 Terms

1
New cards

Algorithm

a step-by-step set of instructions implemented by a program to develop and express solutions to a computational problem

2
New cards

Sequencing

ordering the steps of an algorithm; one of three different types of algorithms

3
New cards

Boolean condition

a decision in an algorithm based on either true or false

4
New cards

Selection

using a condition to to control the logical path taken by an algorithm; one of three different types of algorithms

5
New cards

Iteration

a loop or repeated behavior in an algorithm; one of the three different types of algorithms

6
New cards

Pseudo code

words used to organize thoughts to help plan writing code; helps programmers translate specifications into code

7
New cards

Natural language

a human language such as English, Spanish, German, etc.; as opposed to artificial terms used in programming languages

8
New cards

Run Time

the period during which a computer program is executing

9
New cards

Reasonable time

a way to analyze an algorithm in terms of the number of steps required to solve a problem; an algorithm is given this designation if the number of steps the algorithm takes is less than or equal to a polynomial function of the size of the set.

10
New cards

Solvable problem

a problem that can be solved exactly using an algorithm

11
New cards

Unsolvable problem

a problem that cannot be solved exactly using an algorithm

12
New cards

Heuristic solution

algorithmic approach applied to improve an algorithm that is based on finding solutions among all available options using a general set of rules; may result in approximate solutions instead of exact solutions; may be helpful to find solutions in reasonable time; may be helpful to find approximate solutions to unsolvable problems

13
New cards

Undecidable problem

problem in which no algorithms can be constructed to answer "yes" or "no" for all inputs

14
New cards

Decidable problem

problem in which an algorithm can be constructed to answer "yes" or "no" for all inputs

15
New cards

Empirical analysis

an evidence-based approach to the study and interpretation of information

16
New cards

Linear search

a search algorithm that finds a target by looking at each item, one at a time, until the end of the set is reached or the target is found

17
New cards

Binary search

a search algorithm that finds a target in a sorted list by starting in the middle. If the target is less than than the middle term, the algorithm then looks at the middle of the lower half. The process of narrowing the search by halves continues until the target is found or until it is determined that the target does not exist in the list.