Invitation: Chapter 2 Flashcards
Definition of Pseudocode
an informal design notation used solely to express algorithms. includes instructions to carry out the three basic sequential operations: computation, input and output
3 qualities of good pseudocode
its intent is clear, it is effectively computable, and it is unambiguous
definition of sequential algorithm
a “straight line” algorithm that executes its instructions in a straight line from top to bottom and then stops.
Name two types of control operations, one conditional, and one iterative
conditional: if/then/else
iterative: while/do
definition of variable
a named storage location that can hold a data value
definition of library
a collection of useful, pre-written algorithms