Free Essay

Calculate Square Footage

In:

Submitted By angelhines
Words 643
Pages 3
CMIS102 Homework Assignment 1 (Worth 13% of your grade)

Student Name: Angelica Hines
Class/Section: CMIS 102.1202.7983
Professor Name: Ronald McFarland
Assignment due date: 04/01/2012

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.
In this program the overall goal is to obtain the usable area in square feet in a house. The results or overall goal would be considered the required output. To obtain the required output we would need the necessary input. The necessary information regarding the house is that it contains a maximum of four rooms that are rectangular in shape. I will obtain the required output from the given input by multiplying length x width to find the number of square feet in each rectangular room. Once the combined square footage of each room is determined this will give me the amount of usable living space.
We would need to know each room length and width, then calculate each rooms area and then find the sum of all four rooms.
Area of Room 1= Length1 x Width1
Area of Room 2= Length2 x Width2
Area of Room 3= Length3 x Width3
Area of Room 4= Length4 x Width4
Area of Room 1 + Room 2 + Room 3 =Room 4 = Total Square footage B. Program Design – Following the directions in the assignment, clearly write up your problem design in this section and comment your pseudocode. Useable square footage of a house
Rooms- Total number of Rooms = 4
Area-Area=L x W of each room
Variables= Length, width, area Perform Calculations: Length x Width Room 1 = Area Length x Width Room 2 = Area Length x Width Room 3 = Area Length x Width Room 4 =Area
Output Results:
Area 1+ Area 2 + Area 3 + Area 4= (Total Square footage) C. Program Comments and Test Data – Following the directions in the assignment, include your test data and expected results in this section.

Welcome to Hines Homes Designs, Inc.; where we assist you with designing the interior of your home. We provide custom specifications, floor plans, interior decorating, staging and much more. Below is a program written to provide you with the exact square footage of your new four bedroom room home. The Hines’ welcome you home….
Main module 1. Start 2. Call Welcome Message moduleDeclare the variables 3. Declare WidthInches, LengthInches as Float 4. Declare WidthFeet, LengthFeet, SquareFeet as Float 5. Declare WidthFeet, LenghtFeet, SquareFeet as Float 6. //Get the values of the dimensions 7. Write “What are the length and width of the room in inches?” 8. Input LenthInches, WidthInches 9. // Convert dimensions from inches to feet 10. Set LengthFeet = LengthInches/12 11. Set WidthFeet = WidthInches/12 12. //Calculate the square footage 13. Set SquareFeet =WidthFeet * LengthFeet 14. //Output the result 15. Write “Room =” + SquareFeet + “square feet” 16. Perform Calculations module 17. Call Output Results module 18. Display “Enter Rooms Length and Width” 19. Display “Finding Area and total number of square feet” 20. Set Total Square feet = Sum of Area 21. Stop 22. End Program

Table 1. Include your test data table here
Test application and output data Input: Room length and width (in feet) | Expected output: Total square footage of house (in square feet) | Room 1 : length= 12 , width= 15 ;Room 2 : length= 10 , width= 15 ;Room 3 : length= 11 , width= 15 ;Room 4 : length= 14 , width= 15 ; | 705 | Room 1: length= 18 , width= 20 ;Room 2: length= 24 , width= 20 ;Room 3: length= 22 , width= 20 ;Room 4: length= 20 , width= 20 ; | 1680 | Room 1: length= 15 , width= 15 ;Room 2 : length= 30 , width= 20 ;Room 3 : length= 35 , width=15 ;Room 4 : length= 36 , width= 20 ; | 2070 |

Similar Documents

Free Essay

Cmis 102 Assignment 2

...Program Description: The program I’m creating is going to be utilized to determine the usable surface area of each room in a four-room house and then calculate the usable square footage of the house as a whole. Analysis: To start this program, I needed to come up with a plan or blueprint. I utilized the Modular Approach to break this down into smaller parts. The main module is the solution to the problem; determine the square footage of a four-bedroom house with the all rooms being rectangles. The program will perform the equation for the area of a rectangle (Area = Length * Width) for each room. Each sub-module will perform the equation and come up with a solution. Once the solutions are identified for each room, we must finish the task by finding the sum of the four rooms’ square footage to calculate the houses’ total square footage (Area RM1 + Area RM2 + Area RM3 + Area RM4 = Total Square Footage of House). Calculate the Total Square Footage of a four-bedroom house. Calculate the Total Square Footage of a four-bedroom house. Area of Room One Area of Room One PLUS PLUS Area of Room Two Area of Room Two PLUS PLUS Area of Room Three Area of Room Three PLUS PLUS Area of Room Four Area of Room Four Analysis (CONT): In this program, I will be using various variables with different definitions. The table below will list and identify the variables: VARIABLES | DEFINITION | LR1 | LENGTH OF ROOM ONE | WR1 | WIDTH...

Words: 843 - Pages: 4

Free Essay

House Square Footage Calculator

...objective of this program is to calculate the square footage of a house with up to 3 rooms. The program will ask the user to enter the width and length of each room in feet. The expected output will multiplying the length and width of each room and then summing the square footage of each room to yield the total square footage of the house. Program name: House Square Footage calculator Analysis: We will use sequential statements All variables will be float We will define these variables: Total_SqFt Room_1_L Room_2_L Room_3_L Room_1_W Room_2_W Room_3_W Input: The user will be prompted to enter the room dimension for each room individually (up to three rooms) “Enter Length and Width of room 1” “Enter Length and Width of room 2” “Enter Length and Width of room 3” Ouput: The output will be defined as the total square footage of the house and will use the input provided by the user to calculate output with this formula: The Square footage of the house will be calculated by this formula: SqFt = (Room_1_L x Room_1_W) + (Room_2_L + Room_2_W) + (Room_3_L x Room_3_W) The output message will display a message “Total Square foot of the house is: SqFt” Test Plan Three test cases will be done Test Case # | Input | Expected Output | 1 | Room1: length=10, width=14; Room 2: length=9, width=10; Room 3: length=12, width=12; | 374 square feet | 2 | Room1: length=5, width=9; Room 2: length=15, width=20; Room 3: length=6, width=12; | 417 square feet | | | 3 | Room1:...

Words: 850 - Pages: 4

Premium Essay

Rentable Square Feet: Understanding The Common Area Factor

...Usable vs Rentable Square Feet: Understanding the Common Area Factor Why pay rent for more space that you do not fill? The measurement of office space square footage for rent purposes is a commercial real estate concept that is commonly misunderstood by tenants and real estate professionals alike. The usable square footage, along with the tenant’s proportionate share of common areas in the building are factored in to determine the amount of rent in most office leases. For this reason, it is important for you to understand the difference between usable and rentable square footage along with the common area factor before you sign the bottom line. You want to know what you are going to be paying for and how much space you are actually going to...

Words: 739 - Pages: 3

Free Essay

Cmis102 Hw1

...the following task: Calculate the usable area in square feet of a house. Assume that the house has a maximum of four rooms, and that each room is rectangular. I. Problem Analysis 1.) To find the usable area in square feet of a house, what is the necessary input needed to solve the problem? -Each room needs to be declared so that the program will know where each measurement belongs. Room#1 will be WidthFeet1 and LengthFeet1. -Use the command of “input” which will allow the user to input the values the program will need to calculate. -Use the command of “write” to let the user know what value is needed, i.e., Write “What is the length of room one in feet?” To ask the user “What is the length of room one in feet?” Use that statement and function for each room. 2.) To find the usable area in square feet of a house, what are the necessary outputs needed to solve the problem? -Use the “write” command to give the user information about the data collected and computed. Example: Write “The usable square footage of the house is:” + TotalSquarefeet -I want to display to the user the areas of each room and total usable space. -I will use “+TotalSquarefeet” to show the user the value of the data 3.) To find the total usable living space in square feet of a house, what are the steps needed to solve the problem? -In order to solve this problem, I need to know how to calculate the area of a rectangle. This formula is square feet= length*width ...

Words: 776 - Pages: 4

Free Essay

Cmis 102 Hw 1

...Student Name, CMIS102, Professor Name Due Date: 21SEP2014 Calculating the usable square feet of up to four rooms Program Description - This program is designed to calculate the usable square feet of up to four rooms. It asks for an input for the number of rooms and the length and width of each room in feet. It then outputs in a readable format the sqft of each room and the total usable square feet. I also attempted to write the program in C at the bottom. Analysis - For this program I wanted to be able to calculate the exact number of usable square feet of up to four rooms without asking for unnecessary inputs so I decided to go with an if statement format. I decided I would need the number of rooms, length, and width of each room from the user. The formula for square feet (length * width). Variables - number_of_rooms, room1_l, room1_w, room1_sqft, room2_l, room2_w, room2_sqft, room3_l, room3_w, room3_sqft, room4_l, room4_w, room4_sqft, total Testing - test1 2,10,10,12,3 "The square footage of room 1 is 100" "The square footage of room 2 is 36" "The total usable square footage of the house is 136" test2 1,4,5 "The square footage of room 1 is 20" test3 6.2,3,24,00001,222 error Psuedocode main input number_of_rooms if number_of_rooms is 1 input room1_l input room1_w compute room1_sqft as room1_l * room1_w write "The square footage of room 1 is"room1_sqft"\n" else if number_of_rooms is 2 input room1_l input room1_w ...

Words: 945 - Pages: 4

Free Essay

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.

...Student Name: Neal Fowler Class/Section: CMIS 102 Section 6385 Professor Name: Marie Arvi Assignment due date: 6 January 2014 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: What is the required output? Total square footage of a house (in square feet) What is the necessary input? Room 1, 2, 3, and 4 length and width. How will we obtain output from input? Each room length and width input multiplied. Next all four rooms total add together for output. B. Program Design: 1. Input data: Input the variables Rm1L, Rm1W, Rm2L, Rm2W, Rm3L, Rm3W, Rm4L, Rm4W 2. Perform calculations: where… Rm1sqft = Rm1L * Rm1W, Rm2sqft = Rm2L * Rm2W, Rm3sqft = Rm3L * Rm3W, Rm4sqft = Rm4L * Rm4W, where… Housesqft = Rm1sqft + Rm2sqft + Rm3sqft + Rm4sqft 3. Output results: Display the total square feet (Housesqft) of the house // House Measurement Computation // Programmer: Neal Fowler Main module // Declare Variables Declare Rm1L Declare Rm1W Declare Rm2L Declare Rm2W Declare Rm3L Declare Rm3W Declare Rm4L Declare Rm4W Declare Rm1sqft Declare Rm2sqft Declare Rm3sqft Declare Rm4sqft Declare Housesqft Write “Home Measurement Program” Write “This program computes the total” Write “square feet (living space) of a house.” Call Input Data module Call Perform Calculations module Call Output Results module End Program Input Data module ...

Words: 472 - Pages: 2

Free Essay

Cmis 102 Homework 1

...Program Description: This program will calculate all of the useable area (in square feet) in a house. This specific house contains four rooms, all of which are rectangular in shape. Analysis: My goal in creating this program is that it successfully calculates the useable square footage in a house that contains four rooms. The values which are required to perform the calculations will be the length of room 1 times the width of room 1(in feet). This will give the area of room one, which will in turn become the useable area for this particular room. The same length times width (L x W) formula will then be used for all subsequent rooms. After the area for all four rooms has been found, the sum of the area of each room will be the final output for useable square feet. The output values are as follows: * L1: The length for room 1 * W1: The width for room 1 * L2: The length for room 2 * W2: The width for room 2 * L3: The length for room 3 * W3: The width for room 3 * L4: The length for room 4 * W4: The width for room 4 * T1: Total square feet for room 1 * T2: Total square feet for room 2 * T3: Total square feet for room 3 * T4: Total square feet for room 4 * Total_SqFt: Total useable square footage in the house Test Plan: Test Case # | Input | Expected Output | 1 | Room 1 - Length:20 Width:14Room 2: - Length:16 Width:12Room 3: - Length:22 Width:16Room 4: - Length:12 Width:10 | Square Feet: 944 | 2 | Room 1 - Length:17...

Words: 653 - Pages: 3

Free Essay

Data

...1 (Worth 13% of your grade) Student Name: Jorge Mazuera Class/Section:1202CMIS102 6380 Professor Name: Dr. Noni Bohonak Assignment due date: 08/31/2014 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. Problem= We are trying to find out what the square footage of each room of a house and the square footage of the entire house. The input would include the length and width of each room and the formula to find the answer. The output would need to include the square footage of each room and the total square footage of the house. If all the code is properly executed, we will be able to input any sized room and quickly be able to find the square footage. B. Program Design – Following the directions in the assignment, clearly write up your problem design in this section and comment your pseudocode. Main module Declare EntireHouse As String Declare LivingRoom, As Float Declare Kitchen As Float Declare BedRoom As Float Declare BathRoom As Float Write “Square Footage Program” Write “This program computes the square footage of individual rooms and” Write “the total area of houses” Call Input Data module Call Perform Calculations module Call Output Results module End Module Input Data Module ...

Words: 283 - Pages: 2

Free Essay

Housesqft Cmis102

...CMIS102 Homework Assignment 1 (Worth 13% of your gradeProblem 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. The primary goal is to calculate the square footage of a 4-room house. In order to do this, we need to know each room’s length and width, then calculate the area of each room and lastly find the sum of the area of each of the four rooms.  * Area of Room1=length1*width1 * Area of Room2=length2*width2 * Area of Room3=length3*width3 * Area of Room4=length4*width4 Total Number of Square Feet = Area of Room1+ Area of Room2+ Area of Room3+ Area of Room4 B. Program Design – Following the directions in the assignment, clearly write up your problem design in this section and comment your pseudocode. We need to output the value of the total area of the house after finding and summing the areas of each room. For this to be possible, we will define the input and output variables. Variables Length of Room 1 = length1 (Float) (followed to) Length of Room 4 = length4 (Float) Width of Room 1 = width1 (Float) (followed to) Width of Room 4 = width4 (Float) Additional Variables Area = length*width Area1 = length1 * width1 (float variable) Area2 = length2 * width2 (float variable) Area3 = length3 * width3...

Words: 640 - Pages: 3

Free Essay

Cmis Hw 1

...Matt Lubisich CMIS 102 6983 Introduction to Problem Solving and Algorithm Design (2148) Due Date: 21 September 2014 I will be designing a program that will calculate the amount of usable square feet in a 4 bedroom house. The program will take the individual dimensions of each living space and calculate the overall amount of usable square feet. The Input will be each room and will be labeled as Room 1 through 4. Then we will multiply the length times the width of each room. Next we will add the totals of the 4 rooms to get the expected output which is the usable square feet. Test Case # | Input | Expected Output | Test 1 | Room 1: length=15, width=15;Room 2: length=11, width=13;Room 3: length=12, width=12;Room 4: length=10, width=11; | 622 square feet | Test 2 | Room 1: length=16, width=15;Room 2: length=12, width=14;Room 3: length=14, width=10;Room 4: length=13, width=11; | 691 square feet | Test 3 | Room 1: length=14, width=16;Room 2: length=13, width=13;Room 3: length=11, width=12;Room 4: length=10, width=12; | 645 square feet | Pseudocode //This program takes the square footage of 4 rooms to determine the usable square footage of a living space. //Declare variables Declare Room 1, Room 2, Room 3, Room 4, sum As Integer //Initialize variables Set Room 1 = X * Y or length times width Set Room 2 = X * Y or length times width Set Room 3 = X * Y or length times width Set Room 4 = X * Y or length times width Set sum = Room 1 + Room 2 + Room 3 +...

Words: 293 - Pages: 2

Free Essay

Homework

...Assignment 1 (Worth 13% of your grade) Student Name: Class/Section:CMIS102 / Data-type, input/output Professor Name: Assignment due date: 11/4/2012 Program Analysis In this program the overall goal is to obtain the overall square feet in a four bedroom house. In order to calculate the correct output we will need the correct input. I will obtain the required output from the given input by multiplying length x width to find the number of square feet in each room and then add the amount of the four rooms together. • Room1 = Room1Length * Room1Width • Room2 = Room2Length * Room2Width • Room3 = Room3Length * Room3Width • Room4 = Room4Length * Room4Width • TotalSquareFeet = Room1 + Room2 + Room3 + Room4 Input data: Input the variable Room1Length, Room1Width, Room2Length, Room2Width, Room3Length, Room3Width, Room4Length and Room4Width Calculations: TotalSquareFeet = Room1 + Room2 + Room3 + Room4 Program Design Main Module Declare Room1 As Float Declare Room2 As Float Declare Room3 As Float Declare Room4 As Float Write “Total Square feet Program” Call Input Data module Call Perform Calculations module Call Output results module End Program Input Data Module //Get the value of the dimensions Write “What is the length of the first room?” ...

Words: 421 - Pages: 2

Free Essay

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.

...CMIS102 Homework Assignment 1 Student Name: Clarence Loveless Class/Section: CMIS102 Professor Name: Nickolas Pitocco Assignment due date: 13 Sept 13 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 1. What is the usable living area of 4 room house (output) 2. What is the length of room 1 (length1) - input 3. What is the width of room 1 (width2) – input 4. What is the sq footage of room1 (sqft1)– float variable 5. What is the length of room 2 (length2) - input 6. What is the width of room 2(width2) – input 7. What is the sq footage of room2(sqft2) – float variable 8. What is the length of room 3(length3) – input 9. What is the width of room 3(width3) - input 10. What is the sq footage of room3(sqft3) – float variable 11. What is the length of room 4 (length4)- input 12. What is the width of room 4 (width4)– input 13. What is the sq footage of room4(sqft4) – float variable 14. Add each sq footage together for total living area – float variable Formulas – sq footage=length*Width Total living area=sq footage1+sqfootage2+sqfootage3+sqfootage4 B. Program Design – Following the directions in the assignment, clearly write up your problem design in this section and comment your pseudocode. Input date...

Words: 478 - Pages: 2

Free Essay

Area of Usable Room

...Program that will calculate the number of square feet (living space) in a 4-room house. Problem Analysis In this Program , the aim is to calculate the square feet of a 4 –room house So we need to know each room’s length and breadth, then calculate each room’s area and the find the sum of those Area of Room1=length1*breadth1 Area of Room2=length2*breadth2 Area of Room3=length3*breadth3 Area of Room4=length4*breadth4 Total Number of Square Foots = Area of Room1+ Area of Room2+ Area of Room3+ Area of Room4 Program Design Pseudocode Start Declare the variables i,j as interger length[4], breadth[4],area[4] as double array sum as double Display “Enter the Rooms length and Breadth” For i= 1 to 4 do Accept length[i], breadth[i] Next i Display “Finding Area and total number of square foots” Set sum=0 For i= 1 to 4 do Area[i]= length[i]* breadth[i] Sum=sum+Area[i] Next i Display “Total number of square foots”, sum Stop Program Comments and Test Data Test data and Output Example application test data: Input: Room length and width (in feet) Expected output: Total square footage of house (in square feet) Room1: length=10, width=14; Room 2: length=9, width=10; Room 3: length=12, width=12; Room 4: length=11, width=9 473 Room1: length=20, width=10; Room 2: length=15, width=10; Room 3: length=20, width=10; Room 4: length=30, width=10 850 Room1: length=20, width=15; Room 2: length=10, width=5; Room 3: length=30...

Words: 276 - Pages: 2

Free Essay

Commercial Real Estate

...Alexander Barnett F455 Final Exam 10/27/14 321 West 44th Street, straddling Midtown and the Lower Manhattan, this property is a great location in New York City, close to the world famous Times Square. There is a new movement of tech start-ups moving to the “Silicon Alley” area, the entrepreneurial bubble that emulates California’s Silicon Valley, noted the Green Oak presenter. This location is a great buy with flexible floor plans and a lot of “creative space”. Recently there have been major capital improvements in renovating the common area, upgrading window treatments and the modernization of all elevators. The building is 80 years old and therefor good to see the building upgraded. There is flexibility for tenants as well as floor plans; there are currently 3 retail tenants and 7 major office renters. By examining the stacking plan, I can see there is great variety in the arrangement of square footage as well as the lease terms. There is 86% occupancy and based on industry dynamics, I expect for this number to grow. Recent leases were completed at $40/square foot whereas prior leases were valued at $31/square foot. The Green Oak representative/speaker also noted in his presentation that there was potential for terraces as well as a plan to make a usable rooftop. This will increase the value of the property. After performing a financial and sensitivity analysis, despite the high leverage, I think it is a great opportunity for Green Oak The project, with an exit strategy...

Words: 971 - Pages: 4

Premium Essay

Messignment 1

...Week 8 Assignment 1 Keila Stinson Strayer University MAT 540 Dr. Negash Begashaw March 2, 2015 In the case study regarding Julia’s food booth a solution needs to be determined as to if investing in a booth to sell food during Tech football games is a sound investment. Julia is considering leasing a booth to sell food outside of Tech stadium at home football games to generate revenue in order to finance her final year at the school. After all of her expenses are paid Julia wants to bring in a profit of $ 1,000 per game. If she can accomplish this then she feels that it will be worth the money to invest in a booth. The fixed cost associated with leasing the booth would include $1,000 per game for booth rental and $600 to lease a warming oven for the six home football games. Julia’s has $1,500 available cash, which she will use to purchase and prepare the food for the first game. For the remaining home games she plans on using funds generated from the previous game to purchase her ingredients. In order to help Julia determine if she should lease a booth a linear programming model should be formulated and solved. The first step in setting up the model is to determine the variables. The variables for this case include: x1 =Pizza, x2 = Hotdogs, and x3= BBQ sandwiches. These variables are the three food choices Julia wishes to sell at her booth. Julia’s objective function in this case is to maximize profit (maximize Z). Julia’s objective function in this case equates...

Words: 1055 - Pages: 5