AP Comp Sci Principles assessment- Unit 6

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

Problem

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

2
New cards

Algorithm

a finite set of instructions that can accomplish a task

3
New cards

Sequencing

putting steps in an order

4
New cards

Selection

deciding what steps to do next

5
New cards

Iteration

doing some steps over and over

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

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

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

n²

reasonable

12
New cards

2^n

unreasonable

13
New cards

Heuristic

provides a “good enough” solution to a problem when an actual solution is impractical for impossible

14
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

15
New cards

Sequential Computing

programs run in order, one command at a time

16
New cards

Parallel Computing

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

17
New cards

Distributed Computing

programs are run by multiple devices

18
New cards

Speedup Time

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