Unit 5 - Algorithms & Procedural Abstraction

0.0(0)
Studied by 6 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/22

flashcard set

Earn XP

Description and Tags

Last updated 1:12 AM on 11/18/22
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

23 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
decidable problems
problems in which an algorithm can be constructed to answer 'yes' or 'no' for all inputs (e.g., 'is the number even?').
5
New cards
decision problem
a problem that has a yes or no answer
6
New cards
distributed computing
a computational model in which multiple networked computers are used to run a program
7
New cards
efficiency
how well an algorithm uses time and memory/space resources, CPU and RAM.
8
New cards
heuristic algorithm
finds an approximate solution for a hard problem; helpful for finding a solution in a reasonable amount of time
9
New cards
instance of a problem
includes specific input. For example, sorting is a problem, and sorting the list (2,3,1,7) is an instance of the problem.
10
New cards
intractable problems
practically impossible to solve in a
11
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.
12
New cards
more efficient
this usually means it runs faster or uses less space.
13
New cards
optimization problem
the goal of finding the best solution among many
14
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
15
New cards
parameters
are input variables for a procedure.
16
New cards
reasonable time
polynomial time
17
New cards
sequential computing
a computational model in which operations are performed in order, one at a time on one processor or computer
18
New cards
sorting algorithm
puts a list into alphabetic or numeric order.
19
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
20
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
21
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.
22
New cards
undecidable problems
have no algorithm that can be constructed that always leads to a correct yes-or-no answer
23
New cards
unreasonable time
exponential time

Explore top notes

note
Study Guide Unit 1
Updated 413d ago
0.0(0)
note
To Kill A Mocking Bird-Chapter 1
Updated 1202d ago
0.0(0)
note
Chapter 8 - Emotions & moods
Updated 1339d ago
0.0(0)
note
Primitive Types
Updated 1074d ago
0.0(0)
note
Chapter 2- England's Colonies
Updated 1406d ago
0.0(0)
note
APUSH Timeline (copy)
Updated 325d ago
0.0(0)
note
Pre-Adolescent Development (10-14)
Updated 1145d ago
0.0(0)
note
Study Guide Unit 1
Updated 413d ago
0.0(0)
note
To Kill A Mocking Bird-Chapter 1
Updated 1202d ago
0.0(0)
note
Chapter 8 - Emotions & moods
Updated 1339d ago
0.0(0)
note
Primitive Types
Updated 1074d ago
0.0(0)
note
Chapter 2- England's Colonies
Updated 1406d ago
0.0(0)
note
APUSH Timeline (copy)
Updated 325d ago
0.0(0)
note
Pre-Adolescent Development (10-14)
Updated 1145d ago
0.0(0)

Explore top flashcards

flashcards
Business Finance WW4. AU4
26
Updated 900d ago
0.0(0)
flashcards
Commerce Unit 2
22
Updated 1053d ago
0.0(0)
flashcards
Gen psych exam 1 fall 2024
93
Updated 541d ago
0.0(0)
flashcards
SPAN 261H Final Exam
67
Updated 1198d ago
0.0(0)
flashcards
Semester 1: Charlemos
21
Updated 59d ago
0.0(0)
flashcards
Exam 2 History Review
34
Updated 1136d ago
0.0(0)
flashcards
Femur
34
Updated 479d ago
0.0(0)
flashcards
Business Finance WW4. AU4
26
Updated 900d ago
0.0(0)
flashcards
Commerce Unit 2
22
Updated 1053d ago
0.0(0)
flashcards
Gen psych exam 1 fall 2024
93
Updated 541d ago
0.0(0)
flashcards
SPAN 261H Final Exam
67
Updated 1198d ago
0.0(0)
flashcards
Semester 1: Charlemos
21
Updated 59d ago
0.0(0)
flashcards
Exam 2 History Review
34
Updated 1136d ago
0.0(0)
flashcards
Femur
34
Updated 479d ago
0.0(0)