From the text we see:
Definition 1.1 [Algorithm]: An algorithm is a finite set of instructions that, if followed, accomplishes a particular task. In addition, all algorithms must satisfy the following criteria:
See text for these conventions. They should not be all too surprising as they are similar to most high-level programming syntax rules.
Algorithm could mean a Function (returned value) or Procedure (no returned value but "side effects" that achieve some purpose).
The book is written with the pseudocode. Note that my notes may contain the Pseudocode conventions or I might accidently fall into Java code. For example, most likely there will be times where I will write code and in assignments not have the colon (:=), or sometimes use an arrow. You are graduate students. Please use your own expertise to comprehend simple slips concerning pseudocode .
Suppose you had the SelectionSort identified in the text (Example1.1). Check out how the text will "walk-through" the conceptualization (Algorithm 1.1 and 1.2)through proof of the algorithm (Thm. 1.1). In addition, the OO code would look something like this:
Design of Algorithms
Analysis of Algorithms
Implementation and Program Testing
Pseudocode Conventions
case
{
: <condition 1> : <statement 1>
  .
  .
  .
: <condition n> : <statement n>
: else : <statement n+1>
}
Use of return
Example of Algorithms
Recursive Algorithms