ALGORITHMS Flashcards
(8 cards)
1
Q
What is an algorithm?
A
A set of steps for solving a certain problem.
2
Q
What are the characteristics of an algorithm?
A
Finite, Precise, Unambiguous, Proper flow, Terminated.
3
Q
What are the 3 control structures in a flow of any program?
A
Sequence, Decision, Repetition.
4
Q
What can algorithms be expressed in?
A
Natural Language, Flowcharts, and Pseudocode.
5
Q
What is a flowchart?
A
A visual way to show steps involved in an algorithm
6
Q
What is pseudocode?
A
An algorithm that uses English-like phrases which can easily be converted to code.
7
Q
Pseudocode words for input?
A
Input, Read, Get, Obtain, Store.
8
Q
Pseudocode words for output?
A
Output, Display, Show, Print, Write.