Unit 10: Algorithms

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/17

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

18 Terms

1
New cards

algorithm

a finite set of instructions that completes a task

2
New cards

iteration

a repetitive portion of algorithm which repeats a specified number of times or until a given condition is met

3
New cards

problem

a general description of a task that can or cannot be solved with an algorithm

4
New cards

selection

deciding which steps to do next

5
New cards

sequencing

putting steps in an order

6
New cards

binary search

a search algorithm that starts at the middle of a sorted set of numbers and removes half the data, repeating the process until the desired element is found or all elements have been eliminated

7
New cards

efficiency

a measure of how many steps are needed to create an algorithm

8
New cards

linear search

a search algorithm which checks each element in a list, in order, until the desired value is found or all elements in the list have been checked

9
New cards

reasonable time

algorithms with a polynomial efficiency or lower (constant, linear, square, cube, etc.) are said to run in a reasonable amount of time

10
New cards

unreasonable time

algorithms with exponential or factorial efficiencies are examples of algorithms that run in an unreasonable amount of time

11
New cards

decision problem

a problem with a yes/no answer (ex. is there a path from A to B?)

12
New cards

heuristic

provides a “good enough” solution to a problem where an actual solution is impractical or impossible

13
New cards

optimization problem

a problem with the goal of finding the “best” solution among many (ex. what is the shortest path from A to B?)

14
New cards

undecidable problem

a problem for which no algorithm can be constructed that is always capable of providing a yes-no answer

15
New cards

distributed computing

a model in which programs are run by multiple devices

16
New cards

parallel computing

a model in which programs are broken into small pieces, some of which are run simultaneously

17
New cards

sequential computing

a model in which programs run in order, one command at a time

18
New cards

speedup

the time used to complete a task sequentially divided by the time to complete a task in parallel