Background: In an effort to review a what we’ve covered so far in class, from coming up with an algorithm, flowchart, pseudo-code, and user stories.
You are to work alone, and submit your file(s) via Moodle. If you have more than one, please zip the files up into one file that can be submitted. Thank you. (You do not need to submit a grading sheet.)
Task: Given the following User Story, create both a flowchart and a pseudo-code for the given task. It should only take about 30 minutes to complete.
User Story
A user wants to calculate the change in pressure as the temperature changes. Using the ideal gas law, the user should be able to input the values for a base line only needing to calculate the pressure. Assume the correct units are being used, and no conversion is necessary.
Then the user should input the value for the new temperature, to calculate how the pressure has changed. If the pressure is > 50 units different, then a warning message should display. Assume all other values stay the same.
Grading
Use the right formula for the ideal gas law? (5 pts)
Properly calculate the first and second pressures? (5 pts)
Use the right symbols to create a proper flowchart? (20 pts)
Write understandably so that others can create a program from your pseudo-code? (20 pts)
Homework: Flowcharts and Pseudo-code was originally found on Access 2 Learn