Skip to main content
Lesson 8 - Structured Programming, Control Structures, if-else Statements, Pseudocode
ZIPPDF (letter)
Lesson MenuPreviousNext
  
Algorithm Development and Pseudocode page 5 of 15

  1. An algorithm is a solution to a problem. Computer scientists are in the problem-solving business. They use techniques of structured programming to develop solutions to problems. Algorithms will range from the easier "finding the average of two numbers" to the more difficult "visiting all the subdirectories on a hard disk, searching for a file."

  2. A major task of the implementation stage is the conversion of rough designs into refined algorithms that can then be coded in the implementation language of choice.

  3. Pseudocode refers to a rough-draft outline of an answer, written in English-like terms. We will probably use phrases and words that are close to programming languages, but avoid using any specific language. Once the pseudocode has been developed, translation into code occurs more easily than if we had skipped this pseudocode stage.

  4. Stepwise refinement is the process of gradually developing a more detailed description of an algorithm. Problem solving in computer science involves overall development of the sections of a program, expanding each section with more detail, later working out the individual steps of an algorithm using pseudocode, then finally writing a code solution.

  5. The handout, H.A.8.3, Pseudocode and Algorithm Development, will present a thorough example of this process. You should read this now.


Lesson MenuPreviousNext
Contact
 ©ICT 2003, All Rights Reserved.