Unit 5 - Algorithms & Procedural Abstraction

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/15

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

16 Terms

1
New cards

arguments

specify the values of the parameters when a procedure is called.

2
New cards

binary search

a search algorithm that repeatedly divides a sorted list to narrow in on the searched-for item

3
New cards

brute force

solve by trial and error; trying every possible option

4
New cards

distributed computing

a computational model in which multiple networked computers are used to run a program

5
New cards

heuristic algorithm

finds an approximate solution for a hard problem; helpful for finding a solution in a reasonable amount of time

6
New cards

intractable problems

practically impossible to solve in a

7
New cards

linear or sequential search

an algorithm that checks ever element in a list from the start to the end of the list to find an item.

8
New cards

parallel computing

a computational model where a problem or program is broken into multiple smaller sequential computing operations some of which are performed simultaneously in parallel. This is usually on one computer with multiple processors, but it could also use multiple computers

9
New cards

parameters

are input variables for a procedure.

10
New cards

reasonable time

polynomial time

11
New cards

sequential computing

a computational model in which operations are performed in order, one at a time on one processor or computer

12
New cards

sorting algorithm

puts a list into alphabetic or numeric order.

13
New cards

speedup

For a parallel solution, this is measured in the time it took to complete the task sequentially divided by the time it took to complete the task when done in parallel

14
New cards

The Halting Problem

The undecidable problem of determining whether a computer program will produce an answer at some point or loop forever on a given input

15
New cards

The Traveling Salesman Problem

Given a list of cities and the distances between them find the shortest path visiting each city once and returning to the start.

16
New cards

undecidable problems

have no algorithm that can be constructed that always leads to a correct yes-or-no answer