Lesson 3.9 3.11 blog
When collaborating or working on group projects, two people might come up with two different ways to solve a problem, and that happens a lot.
Developing Algorithms
- When creating an algorithm, its good to outline its process before coding
- This ensures that it is sequenced correctly
-
You should represent the algorithm using a flowchart or natural language
- Visualization can help you better see the flow of the whole algorithm
- This may allow for the coding process to be more efficient and effective
-
simple existing algorithms can include
- determining min or max of two or more numbers
- computing the sum or average
- identifying if an integer is even or odd
- Using existing correct algorithms can help as building blocks to reduce development time, testing, and identification of errors