1/8
PRELIMINARIES OF ALGORITHM
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
step-by-step procedure, which defines a set of instructions to be executed
in a certain order
Algorithm
Algorithm to ____an item in a data structure.
Search
Algorithm to ____ items in a certain order.
Sort
Algorithm to _____ item in a data structure.
Insert
Algorithm to _______ an existing item in a data structure.
Update
Algorithm to _______ an existing item from a data structure.
Delete
Algorithm should be clear and ___________. Each of its steps (or
phases), and their inputs / outputs should be clear and must lead to only one meaning.
Unambiguous
An Algorithm should have 0 or more well-defined _______.
Input
An Algorithm should have 1 or more well-defined outputs, and should match
the desired
Output