979 Words4 Pages

Homework-1: "Calculate the usable area in square feet of a house with four rooms"
By
Khaled Mamun
CMIS 102: Introduction to Problem Solving and Algorithm Design
Spring-2015, Section-6393
Dr. Babajide Olatunbosun
Due Date: 25 Jan-2015
1. Problem / Overview:
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 in shape.
2. Program Description:
This program will determine the total usable area of a house in square feet. Following rules apply:
1. The house has four rectangular rooms
2. Each room is different in size
3. Calculate the area of each room separately
4. Add areas of all four rooms to figure out the total usable area of the house
3. Analysis:
1. Square feet of rectangular area = (width X length) or (width * length)
2. This program will use the following input variables for each room:
W: Width
L: Length
A: Area
3. Rectangular area for Room-1:
a. Following command will be executed to find the value of the designated variable: A1 = L1 * W1
4. Rectangular area for Room-2:
a. Following command will be executed to find the value of the designated variable: A2 = L2 * W2
5. Rectangular area for Room-3:
a. Following command will be executed to find the value of the designated variable: A3 = L3 * W3
6. Rectangular area for Room-4:
a. Following command will be executed to find the value of the designated variable: A4 = L4 * W4
7. Total usable area for House:
a. Following command will be executed to find the value of the designated variable: Sum = A1 + A2 + A3 + A4
4. Design / Pseudocode:
// Square Feet of a 4-Room House Program
// This program computes the square feet of a 4-room house
// Variables used:
// Width of room 1, W1
// Length of room 1, L1
// Width of

Related

## Cmis102 Assignment 1

924 Words | 4 PagesCMIS102 Homework Assignment 1 Class/Section: CMIS 102 Assignment due date: 3 Nov 2013 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 case, we need to compute the usable area in square feet of a four room house.

## Two Variable Inequality

862 Words | 4 PagesTwo-Variable Inequality Cassie Lane MAT222 Week 2 Assignment Instructor Alvarez Guillermo February 03, 2014 Two-Variable Inequality In week 2’s assignment we will be covering practical application of two-variable inequalities. I will be covering independent and dependent variables. In the first part of my assignment I will be working out problem #68 on page 539 (Dugopolski, 2012). The problem asks about Shipping restrictions. The accompanying graph shows all of the possibilities for the number of refrigerators and the number of TVs that will fit into an 18-wheeler.

## Peiries Electronics Case

399 Words | 2 PagesThen, redraw Figure 7-1 by placing the six (and additional) entities in this case on the diagram along with their associated attributes. (5 points) Answers will vary, I suggested List at least 2 attributes for each of the six entities and describe then in a short sentence or bullet statement. Then redraw PE Fig 7-1 to look like figure 7-21 on page 223. 3. Using your answer to Question 2, designate which attribute or attributes form the identifier for each entity type.

## Stat 1008 Assignment One

1227 Words | 5 Pages(d) There should be 6 variables in her data set, namely, Household Residents, Full Time Workers, Number of Children, Proportion of Females, Household Income and Visits made to centre. The features of each variable is summarized as follows: Form 1-1 Features of the Studied Variables Variable | Feature | | Continuous | Count | Ordinal | Nominal | Household Residents | N | Y | Y | N | Full Time Workers | N |

## Cmis 102 Hw 4

1160 Words | 5 PagesThe program asks user to input length and width of rectangle. Calculations: Variables used: length: (float) to store value of length of rectangle entered by user width: (float) to store value of width of rectangle entered by user Area: (float) to store area of rectangle Perimeter: (float) to store perimeter of rectangle Formula for Calculating Area of Rectangle Area = length * width Formula for Calculating Perimeter of Rectangle Perimeter = 2 *( length + width ) Sample Calculation Suppose we have following user input: Length =4.0 Width=8.0 Subprogram Calculate_Area (length,width,Area) Calculate_Area (4.0,8.0 ) Area = length * width = 4 * 8 = 32 Subprogram Calculate_Perimeter (length,width, Perimeter) Calculate_ Perimeter (4.0,8.0 ) Perimeter = 2 *( length + width ) = 2 *( 4 + 8 ) = 24 B. Program Design – Following the directions in the assignment, clearly write up your problem design in this section and comment

## Is415 Week5 Assignment1

378 Words | 2 PagesDefine at least two of them. What are the expert testimony guidelines? Referring to the scenario above, you will need to create a chain of custody form and fill in the entries from the time you take the laptop and thumb drive from Mr. Brown until the point you return the original evidence to him. Submission Requirements Format: Microsoft Word Font: Arial, Size 12, Double-Space Citation Style: Chicago Manual of Style Length: 3–5 pages Self-Assessment Checklist I have identified at least three of the case documents needed for testimony. I have provided at least two of the

## Mis 102 Case Study

385 Words | 2 PagesJames Earl Harris CMIS 102 Dr.Ola Due Date: 3/10/2013 Analysis: “Write a program that will calculate the number of square feet (living space) in a 4-room house” *What is the total living space of a 4-room house, TotalSpace (Float variable) *Data that needs to be given, Declare Room1 Room2 Room3 Room4 (Float variable) Room1= l * w Room2= l * w Room3=l * w Room4=l * w *Required output, TotalSpace = Room1+Room2+Room3+Room4 *To get calculate the square feet of the living space(TotalSpace) you would to add the square feet of each room(Room1 Room2 Room3 Room4).

## Nt2640 Unit 1

557 Words | 3 PagesThe remaining 28 bits are used for individual IP multicast addresses (Shimonski & Alpern, 2009). RFC 1918 is a standard that reserves several addresses within each of the classes A, B, and C and are commonly used for home,

## Mm207 Unit 3 Chapter 3 Project Form 2[1]

648 Words | 3 PagesTo receive full credit, work must be shown if applicable. Section 3.1: Basic Concepts of Probability and Counting 1. Lock combinations are made by using 4 digits. How many different lock combinations can be made if repetition of digits is allowed? (References: example 4 page 135, end of section exercises 13 - 16 page 142 and 35 – 36 page 144) (6 points) 2.

## Fetus: Sickle Cell Anemia

1698 Words | 7 PagesYou have to choose 4 questions and answer them. Please indicate the number of the question in order to identify it. Each question is 4 points worth. 1- What circumstances can a couple take in account when deciding what contraceptive method they will choose for family planning? 2- Choose two types of Contraceptive Methods.

### Cmis102 Assignment 1

924 Words | 4 Pages### Two Variable Inequality

862 Words | 4 Pages### Peiries Electronics Case

399 Words | 2 Pages### Stat 1008 Assignment One

1227 Words | 5 Pages### Cmis 102 Hw 4

1160 Words | 5 Pages### Is415 Week5 Assignment1

378 Words | 2 Pages### Mis 102 Case Study

385 Words | 2 Pages### Nt2640 Unit 1

557 Words | 3 Pages### Mm207 Unit 3 Chapter 3 Project Form 2[1]

648 Words | 3 Pages### Fetus: Sickle Cell Anemia

1698 Words | 7 Pages