LESSON 2

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/8

flashcard set

Earn XP

Description and Tags

PRELIMINARIES OF ALGORITHM

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

9 Terms

1
New cards

step-by-step procedure, which defines a set of instructions to be executed

in a certain order

Algorithm

2
New cards

Algorithm to ____an item in a data structure.

Search

3
New cards

Algorithm to ____ items in a certain order.

Sort

4
New cards

Algorithm to _____ item in a data structure.

Insert

5
New cards

Algorithm to _______ an existing item in a data structure.

Update

6
New cards

Algorithm to _______ an existing item from a data structure.

Delete

7
New cards

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

8
New cards

An Algorithm should have 0 or more well-defined _______.

Input

9
New cards

An Algorithm should have 1 or more well-defined outputs, and should match

the desired

Output