Objectives Identify and define the steps of the


Objectives • Identify and define the steps of the programming process. • Utilize the programming process to solve a problem.

Objectives Coding is all about trial and error and learning from your mistakes. This process is called the programming process. The programming process has five steps: 1. Define 2. Design 3. Code 4. Test 5. Document/ Maintain

1. Define the Problem • • What problem are you trying to solve? What information needs to be gathered? What should be the output of the code? Who will use the program? These are just a few of the questions you should ask before you begin writing code.

2. Design the Program Create a plan of action. • Break the problem into smaller pieces. • Create your algorithms. • Decide when and how to use various control structures.

3. Code Write and Run Your Code • Stop and make corrections and adjustments, as needed. • Continue until your code runs as you intended.

4. Test Your Code • Make sure your code delivers the expected outcome. • No syntax or run-time errors • Correct and/or debug the code, if necessary.

5. Document/ Maintain Document and Maintain • The document step should happen throughout the process. • The programmer should be able to deliver both the Operator Documentation for the user and the Programmer Documentation for programmers handling maintenance. We will not be using this step in this course, but you should be aware that it is part of the process.
- Slides: 8