CSP U10

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/16

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

17 Terms

1
New cards

Algorithm

a finite set of instructions that accomplish a task

2
New cards

Iteration

repetitive portion of an 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

putting steps in an order

5
New cards

Binary search

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

6
New cards

Efficiency

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

7
New cards

Linear search

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.

8
New cards

Reasonable time

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

9
New cards

Unreasonable time

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

10
New cards

Decision Problem

A problem with a yes/no answer

11
New cards

Heuristic

Provides a "good enough" solution to a problem when an actual solution is impractical or impossible.

12
New cards

Optimization Problem

A problem with the goal of finding the "best" solution among many.

13
New cards

Undecidable problem

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

14
New cards

Distributed Computing

A model in which programs are run by multiple devices

15
New cards

Parallel Computing

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

16
New cards

Sequential Computing

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

17
New cards

Speedup

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