Flowchart Repetition Problem Solving
What are computers good at? What are computers good at doing? Are they smarter than us? NO! Are they faster than us? YES! Well, in doing calculations Why do we use computers? Because they can do calculations very quickly Because they can do repetitive tasks very quickly and accurately What are computers good at?
Try this flowchart Scenario: Making Pudding The instructions on a pudding packet are the following: Pour pudding mix into 2 cups of milk Put on stove on low fire Stir continuously until there are no lumps and pudding is thick When there are no lumps and the pudding is thick, turn off fire and put pudding into fridge to cool Wait about an hour and serve! Try this flowchart
The following structure is referred to as a loop or repetition structure Conditio n Action to be repeated no yes Repetition or Loops
Sometimes when we want to do something more than once, it is necessary to use a counter Draw a flowchart that will display “Hello world!” 10 times on the screen Using a counter