Computer Science Unit 10 notes

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 accomplish a task

3
New cards

Sequencing

putting steps in an order

4
New cards

Selection

deciding which 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 checking each element in order until the desired value is found

8
New cards

Binary Search

a search algorithm starting in the middle and eliminating half the data until the desired value is found

9
New cards

Reasonable Time

algorithms with polynomial efficiency or lower running in a reasonable amount of time

10
New cards

Unreasonable Time

algorithms with exponential or factorial efficiencies running in an unreasonable amount of time

11
New cards

Heuristic

provides a "good enough" solution when an actual solution is impractical or impossible

12
New cards

Decision Problem

a problem with a yes/no answer

13
New cards

Optimization Problem

a problem aiming to find the "best" solution among many

14
New cards

Undecidable Problem

a problem with no algorithm always providing a correct yes/no answer

15
New cards

Sequential Computing

programs running one command at a time in order

16
New cards

Parallel Computing

breaking programs into small pieces, running some simultaneously

17
New cards

Distributed Computing

running programs on multiple devices

18
New cards

Speedup

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