AP Comp Sci Principles assessment- Unit 6

studied byStudied by 5 people
0.0(0)
Get a hint
Hint

Problem

1 / 17

18 Terms

1

Problem

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

New cards
2

Algorithm

a finite set of instructions that can accomplish a task

New cards
3

Sequencing

putting steps in an order

New cards
4

Selection

deciding what steps to do next

New cards
5

Iteration

doing some steps over and over

New cards
6

Efficiency

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

New cards
7

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

New cards
8

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

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

reasonable

New cards
12

2^n

unreasonable

New cards
13

Heuristic

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

New cards
14

Undecidable Problem

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

New cards
15

Sequential Computing

programs run in order, one command at a time

New cards
16

Parallel Computing

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

New cards
17

Distributed Computing

programs are run by multiple devices

New cards
18

Speedup Time

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 3 people
... ago
5.0(1)
note Note
studied byStudied by 9 people
... ago
5.0(1)
note Note
studied byStudied by 31 people
... ago
5.0(1)
note Note
studied byStudied by 67 people
... ago
4.0(1)
note Note
studied byStudied by 373 people
... ago
4.0(1)
note Note
studied byStudied by 23 people
... ago
5.0(1)
note Note
studied byStudied by 10 people
... ago
4.0(1)
note Note
studied byStudied by 6111 people
... ago
4.8(22)

Explore top flashcards

flashcards Flashcard (71)
studied byStudied by 196 people
... ago
5.0(3)
flashcards Flashcard (61)
studied byStudied by 9 people
... ago
5.0(1)
flashcards Flashcard (61)
studied byStudied by 19 people
... ago
5.0(2)
flashcards Flashcard (125)
studied byStudied by 16 people
... ago
5.0(1)
flashcards Flashcard (54)
studied byStudied by 26 people
... ago
5.0(1)
flashcards Flashcard (31)
studied byStudied by 6 people
... ago
5.0(1)
flashcards Flashcard (37)
studied byStudied by 44 people
... ago
4.8(5)
flashcards Flashcard (25)
studied byStudied by 1 person
... ago
5.0(1)
robot