Cmis102 Assignment 1

CMIS102 Homework Assignment 1 (Worth 13% of your grade).
Problem definition: Calculate the usable area in square feet of house. Assume that the house has a maximum of four rooms and that each room is rectangular. A. Problem Analysis – Following the directions in the assignment, clearly write up your problem analysis in this section. This program will compute the area of a house that has four rectangular rooms. The output is the value of the total area (total_area) of the house and is to be calculated by area/length/width input (A1, A2, A3, A4, L1, L2, L3, L4, W1, W2, W3, and W4) variables declared as float variables. The program will utilize the standard mathematical formula of obtaining the area of a rectangle:
A = L*W. As well, the formula will be coded in the program as

Area=length*width (A=L*W) respectively for each room.
L1 = length of the first room, as float W1 = width of the first room,
as float A1=L1*W1 L2 = length of the first room, as float W2 = width of the first room,
as float A2=L2*W2 L3 = length of the first room,
as float W3 = width of the first room, as float A3=L3*W3 L4 = length of the first room,
as float W4 = width of the first room,
as float A4=L4*W4 B.
Program Design – Following the directions in the assignment, clearly write up your problem design in this section, and comment on your pseudocode. Raptor software will be used in designing and testing this program. The three fundamental tasks of creating a program will be incorporated:

 Input Data: Use of Raptor to add Input and Assignment symbols will allow users to input data when running the program. The Main and Input_Data modules will heavily use the Input and Assignment symbols in Raptor. In the Input_Data_module, variables will be assigned and declared. As well, the Main module will execute the entire program by calling the completed sub-charts.
 Calculate formula: Use formulas to attain total_area of the house by calculating the area of each of the four rooms. Total_area = A1 + A2 + A3 + A4 to get the sums of all areas we must calculate the formula for each room A1 = L1*W1 A2 = L2*W2 A3 = L3*W3 A4 = L4*W4
 Obtain Output: The program will display the result of total_area from process and calculation in the previous two steps.

Comment: “This program computes the total area of a four-bedroom house in square footage.
Call Input_Data_module Call Calculations_module Call Output_Data_module End Input_Data_Module:
Write:

“Length of the first room” (L1)
Write “Width of the first room” (W1)
Write “Length of the second room” (L2)
Write “Width of the second room” (W2)
Write “Length of the third room” (L3)
Write “Width of the third room” (W3)
Write “Length of the fourth room” (L4)
Write “Width of the fourth room” (W4)

Call Calculations_module End Perform Calculations module: Declare A1, A2, A3, and A4;
as float
Set A1 = L1*W1 Set A2 = L2*W2 Set A3 = L3*W3 Set A4 = L4*W4
Set total_area = (A1+A2+A3+A4)
End Output Data module: Write “The total area of the house is:” + total_area End C. Program Comments and Test Data – Following the directions in the assignment, including your test data and expected results in this section. Table 1. Include your test data table here
TEST RUN OF DATA INPUT INTO PROGRAM

Input:
Length & Width (in feet)

Expected Output:
Footage of house (in feet)

Test Run 1.

Area of Rectangle
A=L*W

Room 1
L=10, W=5
50=10*5

Room 2
L=10, W=5
50=10*5

Room 3
L=10, W=5
50=10*5

Room 4
L=10, W=5
50=10*5

Total Area=A1+A2+A3+A4
200 sq ft.

Test Run 2

Area of Rectangle
A=L*W

Room 1
L=12, W=6
72=12*6

Room 2
L=12, W=6
72=12*6

Room 3
L=12, W=6
72=12*6

Room 4
L=12, W=6
72=12*6

Total Area=A1+A2+A3+A4
288 sq ft.

Test Run 3

Area of Rectangle
A=L*W

Room 1
L=20, W=10
200=20*10

Room 2
L=20, W=10
200=20*10

Room 3
L=20, W=10
200=20*10

Room 4
L=20, W=10
200=20*10

Total Area=A1+A2+A3+A4
800 sq ft.

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our Guarantees

Money-back Guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism Guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision Policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy Policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation Guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more