CMIS 102 – Functions
In this homework, you will design a program to perform the following task:
Design and write a program, using functions, that calculates the area and perimeter of a rectangle whose dimensions (length and width) are provided by a user.
There are 4 components of your submission including:
- Program Description- A detailed, clear description of the program you are building.
- Analysis- Demonstrates your thought process and steps used to analyze the problem. Be sure to include the required input and output and how you will obtain the required output from the given input? Also, include your variable names and definitions. Be sure to describe the necessary formulas and sample calculations that might be needed. Talk about how your design will allow any number of students and final grades to be possible inputs.
- Test plan – Prepare at least 3 sets of input data (Test data) along with their expected output for testing your program. Your test data can be presented in the form of a table as follows (note: feel free to adapt to your design)
- Pseudocode- Provide pseudocode of your overall design that fulfills the requirements of the project
All of these components should be placed in word document for submission.
Example application test data:
Test Case # |
Input |
Expected Output |
1 |
Length =4.0, Width=8.0 |
Area = 32 |
2 |
Your input data |
Your expected output |
3 |
Your input data |
Your expected output |
Submission requirements:
Your completed assignment should be saved as Word document.