# It210 Checkpoint Week 2

Submitted By yf23
Words 333
Pages 2
The manager of the Super Supermarket would like to be able to compute
the unit price for products sold there. To do this, the program should
input the name and price of an item and its weight in pounds and ounces.
Then it should determine and display the unit price (the price per ounce)
of that item and the total cost of the amount purchased. You will need the
following variables:
ItemName (a String) Pounds (a Float) Ounces (a Float)
PoundPrice (a Float) TotalPrice (a Float) UnitPrice (a Float)
You will need the following formulas:
UnitPrice = PoundPrice/16
TotalPrice = PoundPrice*(Pounds + Ounces/16)
Analysis

Process:
1. Display a program title.
2. Prompt for the item name.
3. Prompt for the price of the item.
4. Prompt for the weight in pounds.
5. Prompt for ounces.
6. Convert pounds to ounces and add it to the input ounces.
7. Divide total price by ounces.
8. Display the price per ounce.
Input:

Item Name (string: item Name)
Item Price (real: price)
Item Weight in pounds (integer: pounds)
Fractional ounces (integer: ounces)

Output:

Unit price (real: unit Price)

Design

Main Module

Declare item Name as String
Declare price as real
Declare pounds in integer
Declare ounces as integer
Declare unit Price as real
Write Unit Price Program
Write This program computes the unit price for an item
Call Input Data Module
Call Perform Calculations Module
Call Output Results Module
End Program

End Main Module

Input Data Module

Write What is the items name
Input item Name
Write How much does the items cost?
Input price
Write What is the weight in pounds (no fractions) ?
Input pounds
Write What are the fractional ounces?
Input ounces

End Input Data Module

Perform Calculations Module

Set ounces = 16 + pounds + ounces
unitPrice = price/ounces

End Perform Calculations Module

Output…...

### Similar Documents

#### It210 Week 4 Sunday

...Wk 4 Sunday Test Day 7 Daniel [Danny] R. Lehrman CRT205 2/10/13 Dr. Laurene Madern FOX News 2/8/13 8:00 PM-9:00 PM. MSNBC news 2/8/13 10:00 PM to 10:45 PM. Note: I watched at my neighbor’s house. We only buy TV during the football season, and we only get the basic package so I can buy the NFL package. Basic Dish TV does not have FOX or MSNBC. I focused to focus on these two segments from each channel. On FOX News, The Bill O’Reilly Factor segment, the discussion of gun rights laws is clearly slanted toward legal ownership of guns. I don’t enjoy hate type of humor or information. Bill attempts to substantiate the Conservative parties views toward gun control with the standard NRA-Conservative argument that Americans should bear the right to own arms, arms of any type. Not limited to sporting guns or collectables. His comments are sarcastic and confusing because they are vague, with no clear and factual point made. The fact is that Bill O’Reilly said nothing new as far as conservative views and gun rights are concerned. He continued to justify his argument by saying “guns don’t kill people, people kill people”. His argument is specious in design because it is a rationalization. People, in fact, use guns. Bill went as far as mentioning Hitler, and Nazi Germany’s very strict gun control laws. German soldiers took the guns from the Jewish people, and then turned on a defenseless people. Gun laws said to be made with “good” intentions that took guns out of...

Words: 800 - Pages: 4

#### It210

...Associate Program Material Appendix G Sequential and Selection Process Control Structure In the following example, the second line of the table specifies that tax due on a salary of \$2,000.00 is \$225.00 plus 16% of excess salary over \$1,500.00 (that is, 16% of \$500.00). Therefore, the total tax is \$225.00 + \$80.00, or \$305.00. Salary Range in Dollars Base Tax in Dollars Percentage of Excess 1. 1 0.00-1,499.99 0.00 15 % 2. 2 1,500.00-2,999.99 225.00 16 % 3. 3 3,000.00-4,999.99 465.00 18 % 4. 4 5,000.00-7,999.99 825.00 20 % 5. 5 8,000.00-14,999.99 1425.00 25 % Input Processes Output First Name Last Name Salary 1. Get User Input First Name Last Name Salary Salary 2. Find Range Category Salary Range Salary Range Percentage of Excess Base Tax 3. Find Base Tax and Percentage of Excess Percentage Excess Total Base Tax Salary Percentage Excess Total Base Tax 4. Find Gross Salary Gross Salary First Name Last Name Salary Gross Salary 5. Display Gross Salary First Name Last Name Salary Gross Salary Main Module Declare Name as string Declare SalaryAmt as real Declare Base as real Declare Excess as real Declare Salary as real Declare ReRun as string Call Input Data Module Call Range Module Call Salary1 Module Call Salary2 Module Call Salary3 Module Call Salary4 Module Call Salary5 Module Call Output Module End Main Module Input Data Module Write, “Insert......

Words: 348 - Pages: 2

#### It210

...University of Phoenix Associates Program Material (revised by Albert Mink) Final Project Application-Level Requirements List Complete the following list of application-level requirements for the Metric Conversion program. The first requirement has already been entered for you. 1. The Metric Conversion Program will display a Main Menu to the user listing the available metric-to-U.S. measurement conversions available, along with an option to quit the program. 2. The Metric Conversion Program will confirm user entry is valid (1 to 5) or closes if entry is 6. 3. If entry 1 to 5 is entered the Metric Conversion Program will prompt for entry of metric measurement. 4. The Metric Conversion Program will verify the metric measurement is valid (0.0 to 10000.0) or prompt for valid entry. 5. The Metric Conversion Program will convert the entered metric measurement to corresponding amount using conversion formula. 6. The Metric Conversion Program displays converted amount. Input-Process-Output Chart Complete the following Input-Process-Output chart for the Metric Conversion program. The first process has already been entered for you. |Input |Process |Output | | |Display Main Menu |Main Menu | |Measurement Section...

Words: 1502 - Pages: 7

#### It 242 Week 2 Checkpoint

Words: 306 - Pages: 2

#### It210 Week 6 Assignment

Words: 704 - Pages: 3

#### Com 220 Week 2 Checkpoint

...This document of COM 220 Grammar Exercise 3 shows the solutions to the following questions: Commonly confused words 1. All over the world, people struggle to (ensure/insure) that wild animals do not damage their property. 2. As people move (farther/further) out into former wilderness areas, animals may become a bigger problem. 3. In some cases, wild animals (adapt/adopt) to humans rather easily. 4. In the northeastern United States, for example, many homeowners are searching for a repellent to keep (dear/deer) away. 5. Lion urine, deer blood, wolf hair, and soap have all been used as deer repellents, but the results (vary/very) from place to place and from deer to deer. 6. Bird lovers will try almost anything to protect feeders from rodents, but most repellents have little (affect/effect) on seed-loving squirrels. 7. Farmers in Zimbabwe must deal with wild elephants (who's/whose) raids threaten both villagers and crops. 8. Elephants are smarter (than/then) deer or squirrels. 9. The enormous elephants are also a (grate/great) threat to the safety of both the crops and people who grow them. 10. Farmers in Zimbabwe are now using a hot pepper repellent to (brake/break) elephants of the crop-raiding habit. Commonly confused words 1. Fares on most airlines can be a grate bargain. 2. If you're willing to travel in economy class and buy your ticket in advance, you can fly for very little money. 3. Off course, their is...

Words: 380 - Pages: 2

#### It210 Checkpoint Week 2

...The manager of the Super Supermarket would like to be able to compute the unit price for products sold there. To do this, the program should input the name and price of an item and its weight in pounds and ounces. Then it should determine and display the unit price (the price per ounce) of that item and the total cost of the amount purchased. You will need the following variables: ItemName (a String) Pounds (a Float) Ounces (a Float) PoundPrice (a Float) TotalPrice (a Float) UnitPrice (a Float) You will need the following formulas: UnitPrice = PoundPrice/16 TotalPrice = PoundPrice*(Pounds + Ounces/16) Analysis Process:   1. Display a program title.   2. Prompt for the item name.   3. Prompt for the price of the item.   4. Prompt for the weight in pounds.   5. Prompt for ounces.   6. Convert pounds to ounces and add it to the input ounces.   7. Divide total price by ounces.   8. Display the price per ounce. Input: Item Name (string: item Name) Item Price (real: price) Item Weight in pounds (integer: pounds) Fractional ounces (integer: ounces) Output: Unit price (real: unit Price) Design Main Module Declare item Name as String Declare price as real Declare pounds in integer Declare ounces as integer Declare unit Price as real Write Unit Price Program Write This program computes the unit price for an item Call Input Data Module Call Perform Calculations Module Call Output Results Module End Program End Main......

Words: 333 - Pages: 2

#### Acc 220 Week 2 Checkpoint

Words: 405 - Pages: 2

#### Acc 227 Week 2 Checkpoint Cvp Analysis

Words: 361 - Pages: 2

#### Acc 230 Week 2 Checkpoint Differentiating

Words: 556 - Pages: 3

#### Acc 260 Week 2 Checkpoint

Words: 571 - Pages: 3

#### Week 2 Checkpoint Mm522

...Week 2 Checkpoint MM522   1. Question : (TCO A, B, C) Describe a value proposition and provide an example. How important is value to the consumer? Answer: (Chapter 1, p. 13) A value proposition is a set of benefits that companies offer to customers to satisfy their needs. An intangible value proposition can be made tangible by offering a combination of products, services, information, and purchasing experiences.  2. Question : (TCO A, B, C) How would you describe relationship marketing? Why are these relationships so important to successful marketing? Answer: (Chapter 1, pp. 20–22) Relationship marketing aims to build mutually satisfying long-term relationships with key constituents (consumers, employees, marketing partners, and members of the financial community) in order to earn and keep their business. It is important to recognize the need to create prosperity for all these constituents and balance the returns for all key stakeholders.  3. Question : (TCO A, B, C) What are the similarities and differences between holistic marketing and integrated marketing communications? Answer: (Chapter 1, pp. 19–22) Holistic marketing recognizes the breadth and interdependencies of marketing program design, development, and implementation – “everything matters” in marketing. Integrated marketing communications recognizes the added value of a comprehensive marketing plan. A marketers’ task is to create marketing activities and assemble fully integrated marketing...

Words: 582 - Pages: 3

#### It210 Week 2 Appendix F

...Associate Program Material Appendix F Application-Level Requirements Application-Level Requirements List 1. The program will prompt the user for data input of type and amount of currency to be converted. 2. The program will prompt the user to input the type of the destination currency. 3. The program will locate and display the current currency rates for types listed by the user. 4. The program will perform calculations to convert value from one type of currency to another type of currency indicated by the user. 5. The program will display the calculated total amount of the currency desired using the total of the original currency. 6. The program will prompt the user to indicate if another conversion is desired. Input-Process-Output Chart Complete the following input-process-output chart for the application using a structured programming approach. |Input |Process |Output | |Origin currency |Get user input. |Origin currency | |Origin currency amount | |Origin currency amount | |Destination currency |Get user input. |Destination currency | |Value of...

Words: 262 - Pages: 2

#### Week 2 Checkpoint

...Week 2 Checkpoint/Organizational Data and Information Daniel Barr XBIS/219 July 6, 2012 Shawn Rieder Week 2 Checkpoint/Organizational Data and Information Based on the information located on the BIRT Sample Database website, the software allows the user the ability to track many aspects of the defined business. It includes eight different tables. Offices, employees, customers, orders, order details, payments, products, and product lines. By using this software program the user can generate reports based on the data entered. The website also includes an ER-diagram which shows the different departments or types of data and how they are tied to other departments. The software allows for data to be entered by multiple sources, such as different stores and incorporates that data and combines that information to give the company a better picture of the entire company. Of course, information generated by data entry is only as good as the data entered. It is critical that companies train employees to correctly enter data into the system. Incorrect data entered into the system will generate reports that will not be accurate. There are several options available for companies. One option would be to purchase software for data management. Another option which is steadily growing is hiring a firm to store your data as well as manage the data as well. References: UOP Library An Overview of Business Intelligence Technology. Communications Of The ACM [serial......

Words: 280 - Pages: 2