design a program
Table of Contents Week 6 Homework 4
Homework 4
Instructions
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.
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
Perimeter = 24
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 and submitted to your LEO assignment area no
later than the due date listed in the syllabus. Your document should be neat, well-written with minimal
grammatical and spelling errors. Your name should be clearly listed on the first page along with the class/section,
professor and due date. Your document should contain page numbers at the bottom of each page. Single or double
Due September 27 at 11:59 PM Starts Sep 21, 2015 12:00 AM
space line formatting is acceptable.
You should name the file yournamehw4.docx (or yournamehw4.doc). So if my name was Julie Smith, I would name
my document juliesmithhw4.docx.
Submissions
You have not submitted anything to this assignments folder
Drop files here, or click below!
Upload Record Audio Choose Existing
Task: Submit your file to Assignments Assessment
HWRevised
Activity Details