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

An algorithm's runtime that doesn't increase faster than a polynomial function of the input size

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