Preview

Homework 1

Satisfactory Essays
Open Document
Open Document
386 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Homework 1
CMIS102 Homework Assignment 1 (Worth 13% of your grade)

Student Name: Heather Elliott

Class/Section: 1202CMIS1026391

Professor Name: Nicolae Tapus

Assignment due date: 1/29/12

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

Write “What is the length of the room?”

Input RoomLength

Write “What is the width of the room?”

Input RoomWidth

Perform Calculations module

Declare SquareFootage as Float

Set SquareFootage = RoomLength * RoomWidth

Set TotalSquareFootage = LivingRoom + Kitchen + BedRoom + BathRoom

Output Results module

Write “The total square footage of the Kitchen is: “ + Kitchen

Write

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Nt1310 Unit 3

    • 659 Words
    • 3 Pages

    Program description: I calculated 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 wrote pseudo code statements to declare 4 Integers and labeled them homesqft, room1, room2, room3, and room4. Each room will have its length and width to calculate its area.…

    • 659 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Step 2: Think of good variable names for the following pieces of data that will need to be stored with in this program.…

    • 777 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The length of this garden is 16 feet and the width is 3 feet. There are not other answers because 16 and 3 are the only numbers that can both be added to equal 19 and multiplied to equal 48. When solving this problem I wrote down the formulas for perimeter and area. We were given both the perimeter and area, 38 ft and 48 ft. I plugged this into the formula P=38= 2(l+w) then divided 38 by 2 and found that 19= l+w. Then I wrote the formula for area A=48=lxw. Then I found the two numbers that added to be 19 and multiplied to be 48.…

    • 108 Words
    • 1 Page
    Satisfactory Essays
  • Powerful Essays

    Geometry Practice Quizz

    • 3469 Words
    • 14 Pages

    7. Lina is covering a wall in her attic with wallpaper. The wall is trapezoid-shaped with top and bottom bases of 14 feet and 20 feet. The height of the wall is 8 feet. How much wallpaper will she need to cover the wall?…

    • 3469 Words
    • 14 Pages
    Powerful Essays
  • Satisfactory Essays

    Homework 3

    • 830 Words
    • 4 Pages

    Molecule x blocked the ion channel receptor site so acetylcholine could not attach therefor not allowing the muscle to ultimately contract.…

    • 830 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Mr. Gershwin is trying to find the right size grand piano to fit into his Room. The size of the room in his apartment is represented by a rectangle whose sides are described by the expressions 4x – 4 and 8x – 8.…

    • 288 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Read through all of the tasks carefully, so that you know what you will need to do to complete this assignment.…

    • 1187 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    homework7

    • 1639 Words
    • 7 Pages

    1. Give limited people to access the data. (set up authorizations.) Make sure only people who needs what information and who have rights to edit what information.…

    • 1639 Words
    • 7 Pages
    Satisfactory Essays
  • Good Essays

    homework 1

    • 2685 Words
    • 11 Pages

    c. D) The bowed shape indicates that opportunity cost at first increases at a decreasing rate, and then begins to increase at an increasing rate.…

    • 2685 Words
    • 11 Pages
    Good Essays
  • Good Essays

    Homework 1A

    • 763 Words
    • 3 Pages

    1. How effective was Ko in defining and framing a vision for Motorola Penang? In what ways were her efforts similar to and different from the example of Charles Schwab citied earlier?…

    • 763 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Using feedback from your professor and classmates, revise Part 1 and develop the solution and identify the advantages of the solution. Note: The disadvantages or challenges with your answers will be in Part 3.…

    • 312 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Err in Health

    • 3151 Words
    • 13 Pages

    A) It is your responsibility to read the assignment carefully and make sure you understand what you need to do and what you should hand in. If you are not sure, check with your tutor.…

    • 3151 Words
    • 13 Pages
    Powerful Essays
  • Good Essays

    Data in Housing Worksheet

    • 766 Words
    • 4 Pages

    1. Run a regression between price and area (sqft) for data in “housing ” worksheet.…

    • 766 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Homework 1

    • 833 Words
    • 4 Pages

    Victor Fuchs (1996) lists the following questions in an article in The Wall Street Journal. Identify whether the following questions involve positive or normative analysis. All the questions deal with a Republican plan to reform Medicare, the public health insurance program for the elderly. A. How many Medicare beneficiaries will switch to managed care? B. How much should the younger generation be taxed to pay for the elderly? C. Should seniors who use less care benefit financially, or should they subsidize those who use more care? D. How many Medicare beneficiaries will switch to medical saving accounts? E. What effect will these changes have on utilization?…

    • 833 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    AAR Memo

    • 342 Words
    • 2 Pages

    b. RECOMMENDATION: Keep this as part of the course as well. It was an excellent way to learn the topics and devote them to memory.…

    • 342 Words
    • 2 Pages
    Satisfactory Essays