ALGORITHMS

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

1/31

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 9:41 AM on 3/3/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

32 Terms

1
New cards
Algorithm
A finite sequence of well-defined steps used to solve a problem where each step is clear and the process eventually stops.
2
New cards
Finite
Having an ending; the algorithm must stop after a limited number of steps.
3
New cards
Well-defined steps
Clear and precise instructions that are not ambiguous.
4
New cards
Input
The data or values given to an algorithm.
5
New cards
Output
The result or solution produced by the algorithm.
6
New cards
Definiteness
The property that each step of an algorithm must be clearly and precisely defined.
7
New cards
Correctness
The property that an algorithm produces the correct output for every valid input.
8
New cards
Finiteness
The property that an algorithm must terminate after a finite number of steps.
9
New cards
Effectiveness
The property that each step of an algorithm must be simple enough to be carried out exactly and in a finite amount of time.
10
New cards
Generality
The property that an algorithm works for all valid inputs of a given problem type and not just a specific case.
11
New cards
Mathematical Model
A representation of a problem using mathematical concepts which requires an algorithm to generate a solution.
12
New cards
Pseudocode
An informal and language-independent way of writing algorithms that resembles programming code but is not tied to a specific programming language.
13
New cards
Procedure
A named sequence of steps that performs a specific task in pseudocode.
14
New cards
Flowchart
A visual diagram that represents the steps of an algorithm using symbols and arrows.
15
New cards
Start/Stop Symbol
An oval shape in a flowchart that indicates the beginning or end of an algorithm.
16
New cards
Process Symbol
A rectangle in a flowchart that represents an instruction or action to be executed.
17
New cards
Decision Symbol
A diamond shape in a flowchart that represents a condition that splits the flow into different paths.
18
New cards
Input/Output Symbol
A parallelogram in a flowchart that represents data entry or display of results.
19
New cards
Arrow (Flow Line)
A line in a flowchart that indicates the direction of execution.
20
New cards
Control Structure
A structure that determines the order in which instructions in an algorithm are executed.
21
New cards
Conditional Control
A control structure that executes steps based on whether a condition is true or false.
22
New cards
If-Then Statement
A conditional control structure that executes a block of code only if a condition is true.
23
New cards
If-Then-Else Statement
A conditional control structure that executes one block if the condition is true and another block if it is false.
24
New cards
Loop Control
A control structure that repeats a set of steps multiple times.
25
New cards
For-Do Loop
A loop that repeats a set of instructions a known number of times.
26
New cards
While-Do Loop
A loop that repeats instructions as long as a specified condition remains true.
27
New cards
Repeat-Until Loop
A loop that executes a set of instructions first and then repeats until a specified condition becomes true.
28
New cards
Loop Counter
A variable used to keep track of how many times a loop has executed.
29
New cards
Tracing an Algorithm
The process of manually following each step of an algorithm with specific inputs to observe how variables change and verify correctness.
30
New cards
Minimum-Finding Algorithm
An algorithm that compares elements in a set to determine the smallest value.
31
New cards
Decision Making
The process in an algorithm where a condition determines which path of execution to follow.
32
New cards
Repetition
The repeated execution of a set of instructions using loops.