Unit 10: Algorithms

studied byStudied by 5 people
0.0(0)
get a hint
hint

algorithm

1 / 17

18 Terms

1

algorithm

a finite set of instructions that completes a task

New cards
2

iteration

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

New cards
3

problem

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

New cards
4

selection

deciding which steps to do next

New cards
5

sequencing

putting steps in an order

New cards
6

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

New cards
7

efficiency

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

New cards
8

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

New cards
9

reasonable time

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

New cards
10

unreasonable time

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

New cards
11

decision problem

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

New cards
12

heuristic

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

New cards
13

optimization problem

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

New cards
14

undecidable problem

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

New cards
15

distributed computing

a model in which programs are run by multiple devices

New cards
16

parallel computing

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

New cards
17

sequential computing

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

New cards
18

speedup

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

New cards

Explore top notes

note Note
studied byStudied by 246 people
Updated ... ago
4.0 Stars(4)
note Note
studied byStudied by 13 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 13 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 9 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 56 people
Updated ... ago
4.3 Stars(3)
note Note
studied byStudied by 119 people
Updated ... ago
5.0 Stars(5)
note Note
studied byStudied by 8 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 14 people
Updated ... ago
5.0 Stars(2)

Explore top flashcards

flashcards Flashcard106 terms
studied byStudied by 1 person
Updated ... ago
5.0 Stars(1)
flashcards Flashcard178 terms
studied byStudied by 53 people
Updated ... ago
5.0 Stars(2)
flashcards Flashcard82 terms
studied byStudied by 22 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard44 terms
studied byStudied by 9 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard36 terms
studied byStudied by 1 person
Updated ... ago
5.0 Stars(1)
flashcards Flashcard45 terms
studied byStudied by 9 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard39 terms
studied byStudied by 4 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard62 terms
studied byStudied by 15 people
Updated ... ago
5.0 Stars(1)