Unit 6 - Algorithms Flashcards

1
Q

Problem

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Algorithm

A

A finite set of instructions that accomplish a task

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Sequencing

A

Putting steps in an order

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Selection

A

Deciding which steps to do next

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Iteration

A

Doing some steps over and over

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Efficiency

A

A measure of how many steps are needed to complete an algorithm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Linear search

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Binary Search

A

A search algorithm that starts at the middle of a sorted set of numbers and removes half of the data; this process repeats until the desired value is found or all elements have been eliminated

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Reasonable Time

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Unreasonable Time

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Parallel computing

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly