Problem Solving Process
Introduction
The best workflow when learning how to program is to NOT open your coding environment and start writing code. The first thing you should do is go through the logical Problem Solving Process.
Problem Solving Process
- Understand the Problem
- Clearly define the expected outcome
- Clearly define/gather all data
- List major tasks in an organized sequence
- Write pseudocode or draw a detailed flowchart (algorithm) or pseudo-code
- Test the logic
- Write the code
Example Problem
Create a simple calculator. Your calculator will accept two numbers inputted by a user, perform the four basic arithmetic operations (+, -, ×, ÷), and display the results.
This problem will be worked through in class.