Download presentation

Presentation is loading. Please wait.

Published byGael Tousey Modified over 9 years ago

2
Programming Tools for Solution Development Module 3 Lesson 2 Assignment: Notes

3
Solution Development Tools Create an algorithm using: –Pseudo Code –Flow Charts

4
What is an Algorithm? An algorithm is a formula or set of steps for solving a particular problem. This process can be very helpful in programming.

5
To be an algorithm: There must be: –A clear set of rules. –A clear stopping point.

6
We use algorithms every day. When you bake a cake, you are using an algorithm. You have a recipe with a set of steps to prepare and bake the cake, and a definite stopping point when the cake is done.

7
Let’s develop an algorithm: The recipe provides a written description of what needs to be done. This defines the problem to solve: How to bake a Chocolate Cake.

8
Next: Write the instructions in “pseudo code.” Pseudo code is written in “natural language.” It provides an informal way to describe an algorithm in words. This code shows your steps or algorithm to solve the problem using “pseudo code.”

9
Lastly, create a flow chart to depict the instructions for the recipe. The flow chart is a pictorial view of an algorithm. Can you read through the steps of the flow chart?

10
Here are the steps to bake the chocolate cake: Mix the ingredients Spread in Pan Bake at 350 degrees Check with fork –If not done: Bake at 350 degrees Check with fork –When ready: Remove from oven Let cool Eat

Similar presentations

© 2024 SlidePlayer.com Inc.

All rights reserved.

To make this website work, we log user data and share it with processors. To use this website, you must agree to our Privacy Policy, including cookie policy.

Ads by Google