Thursday, February 2, 2012

Activity 3.1.2 Flowcharts

a. Create a flowchart that portays the following:
- pick up an object from a bin
- test the object's weight
- does the object weigh 50 kg or more? If yes, drop the object in a bin called HEAVY
- If no, drop the object in a bin called LIGHT
- Repeat this process three times

b. Create a flowchart that portrays the following:
- pick up an object from a bin
- test the object's weight
- does the object weigh 50 kg or more? If yes, drop the object in a bin called HEAVY
- If no, drop the object in a bin called LIGHT
- Repeat this process ten times

c. Creat a flowchart that portrays the following:
- choose a number between 1 and 10
- is the number odd? if yes, add 1
- if no, add 0
- divide the number by 2
- is the number 1? if yes, stop
- if no, loop back to the second step
1. Flowcharting is similar to using a map to plan a route for a trip because on a map you need to follow certain roads and highways to reach your destination. In flowcharting, the START is your starting location, the pathway on the flowchart is the pathway on the map that you are taking, and the END is when you finally reach your destination.
2. Describe a process that you perform every day. Develop a flowchart that illustrates the process.


No comments:

Post a Comment