1/18
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Algorithm
a finite set of instructions that accomplish a task
steps to solve a problem
ex: calculate grade avg, run ac until it reaches 72, and calculate shortest route
Iteration
a repetitive portion of an algorithm which repeats a specified number of times or until a given condition is met
Repeating statements “n” times
For loops and while loops
“Repeat for all values in this list”
Distributed Computing
a model in which multiple devices run programs
heavy duty processing
More data
Run the same program
Results sent to parent computer
Parallel Computing
a model in which programs are broken into small pieces, some of which are run simultaneously
cuts time and runs faster
Code is broken into smaller sections
Sequential Computing
a model in which programs run in order, one command at a time
Order of step of an algorithm
Decision/decidable Problem
a problem with a yes/no answer (e.g., is there a path from A to B?)
Heuristic
provides a "good enough" solution to a problem when an actual solution is impractical or impossible
quick and sufficient
Optimization Problem
a problem to find the "best" solution among many (e.g., what is the shortest path from A to B?)
Selection Statements
If statements
True or false question
Yes or no