Premium Essay

Homework1

In:

Submitted By techielv
Words 560
Pages 3
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. In order to determine the usable area of the house I must first find out what is the total square feet area of each of the four rooms. I know that to get the area of each room I have to multiply LengthFeet X WidthFeet and that will give me the area of a 1 Room. Then I must do this to all four rooms, therefore, the results of the total area of the four rooms will give me the usable area of the house. My output variables are: UsableAreaFeet (float variable), AreaOfRoomFeet (float variable). Input variables: Length (float variable) and Width (float variable) and AreaOfRoomFeet (float variable). Formulas need it: AreaOfRoomX=Length X Width Where X is rooms 1-4, UsableAreaFeet=AreaOfRoom1Feet + AreaOfRoom2Feet + AreaOfRoom3Feet + AreaOfRoom4Feet

B. Program Design – Following the directions in the assignment, clearly write up your problem design in this section and comment your pseudocode.

PseudoCode

Input Data Module:

Input: LengthFeet, WidthFeet, AreaOfRoomXFeet

Perform Calculations Module

Compute: AreaOfRoomXFeet Here the formula use will be AreaOfRoomX = Length X Width

Compute: UsableAreaFeet Here I will use the this equation: UsableArea = AreaOfRoom1 + AreaOfRoom2 + AreaOfRoom3 + AreaOfRoom4.

Output Results Module

AreaOfRoomXFeet and UsableAreaFeet

Refined Pseudocode:

MAIN MODULE

Declare LengthFeet as a float

Declare WidthFeet as a float

Declare AreaOfRoomXFeet as a float

Declare UsableAreaFeet as a float

Write “Usable Square feet program”

Write “What is the usable

Similar Documents

Premium Essay

Homework1

...MGMT 306 PRODUCTION AND OPERATIONS MANAGEMENT HOMEWORK 1 (Please submit the Scantron form) I. TRUE/FALSE (A for True; B for False) 1. All organizations, including service firms such as banks and hospitals, have a production function. True (What is operations management? moderate) 2. Operations management is the set of activities that create value in the form of goods and services by transforming inputs into outputs. True (What is operations management? easy) 3. The operations manager performs the management activities of planning, organizing, staffing, leading, and controlling of the OM function. True (What operations managers do, easy) 4. "How much inventory of this item should we have?" is within the critical decision area of managing quality. False (What operations managers do, easy) 5. Customer interaction is often high for manufacturing processes, but low for services. False (Operations in the service sector, moderate) 6. One reason for global operations is to gain improvements in the supply chain. True (A global view of operations, moderate) {AACSB: Multiculture and Diversity} 7. A product will always be in the same stage of its product life cycle regardless of the country. False (A global view of operations, moderate) {AACSB: Multiculture and Diversity} 8. Boeing’s development of the 787 Dreamliner is an example of a company obtaining a competitive advantage via product differentiation/innovation. True (Global company profile, easy) 9. An organization's strategy...

Words: 818 - Pages: 4

Premium Essay

It321 Homework1

...IT 321 04/15/2015 Homework 1 1. What does the command ip route 186.157.5.0 255.255.255.0 10.1.1.3 specify? D 2. When a router receives a packet with a destination address that is within an unknown sub network of a directly attached network, what is the default behavior if the ip classless command is not enabled? A 3. By default, how often does RIP broadcast routing updates? C 4. What is the maximum allowable hop count for RIP? B 5. Which command correctly specifies RIP as the routing protocol? B 6. What is the default value of the rip hold-down timer? D 7. In this line from the output of the debug ip rip command, what do the numbers within the parentheses signify? A 8. What could cause the message "RIP: bad version 128 from 160.89.80.43" to be displayed in the output of the debug ip rip command? A 9. How many subnets do you gain by subnetting 172.17.32.0/20 into multiple /28 subnets? C 10. How many hosts can be addressed on a subnet that has 7 host bits? B 11. How many hosts can be addressed with a prefix of /30? B 12. Which of the following subnet masks would be appropriate for a Class C address used for nine LANs, each with 12 hosts? C 13. What network best represents all private Class B networks? C 14. Which network best represents all multicast IP addresses?...

Words: 254 - Pages: 2

Premium Essay

Sdfgsdrfgs

...MIS209 Introduction to Management Science Homework1 Due Date: 30/10/2014 EXERCISE 1 Chandler Oil has 5000 barrels of crude oil 1 and 10,000 barrels of crude oil 2 available. Chandler sells gasoline and heating oil. These products are produced by blending together the two crude oils. Each barrel of crude oil 1 has a “quality level” of 10 and each barrel of crude oil 2 has a quality level of 5. Gasoline must have an average quality level of at least 8, whereas heating oil must have an average quality level of at least 6. Gasoline sells for $25 per barrel, and heating oil sells for $20 per barrel. We assume that demand for heating oil and gasoline is unlimited, so that all of Chandler’s production can be sold. Chandler wants to maximize its revenue from selling gasoline and heating oil. EXERCISE 2 The Janders Company markets various business and engineering products. Currently, Janders is preparing to introduce two new calculators: one for the business market called the Financial Manager and one for the engineering market called the Technician. Each calculator has three components: a base, an electronic cartridge, and a faceplate or top. The same base is used for both calculators, but the cartridges and tops are different. All components can be manufactured by the company or purchased from outside suppliers. The manufacturing costs and purchase prices for the components are summarized in Table 2. Table 2. Manufacturing costs and purchase prices for Janders calculator components ...

Words: 872 - Pages: 4

Premium Essay

Managerial Finance

...Managerial Finance FIN515 Homework1 Mini case (a) Corporate Finance Investors provide enough funding for corporations to make quality goods and services that are highly valued by costumers and enables growth of the corporation. So managers’ primary goal is to generate enough cash to distribute compensation to investors. Understanding corporate finance allows managers to make monetary decisions that achieve the goal of adding value for investors and thus contribute to a company’s competitiveness and profitability in long run. (b) Organizational Forms There are three types of organizational forms for companies to choose based on different expected speed of growth and the amount of owners. The easiest way to start a business is to begin as a proprietorship, which is owned by one person. It subjects to the minimum amount of government regulations and tax liability. However, the life proprietorship is limited to the life of owner. The owner is subject to unlimited liability. Also, founder is hard to raise capital for a proprietorship to meet growth requirements. If a company has two or more owners, it forms a partnership. Owners of partnership companies are also liable for all the debt. However, limited partnership allows limited owner liable to the amount he invested. Partnership is subject to less regulation and tax but harder to raise capital than corporation. Corporation is the only legal entity that is separated from owners and managers. Even though it is complicated...

Words: 1382 - Pages: 6