Premium Essay

It 210 Program Checkpoint

In:

Submitted By surfincal
Words 290
Pages 2
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

A. Process:
1. Get user input.
2. Calculate and Display unit price per ounce
3. Calculate and Display total cost of amount purchased

B. Input:
ItemName (a String)
Pounds (a Float)
Ounces (a Float)
PoundPrice (a Float) C. Output: UnitPrice (a Float) TotalPrice (a Float)

Design

Main Module Declare ItemName as String Declare Pounds as Float Declare Ounces as Float Declare PoundPrice as Float

Get User Input Calculate unit price per ounce Display unit price per ounce Calculate total cost of amount purchased Display total cost of amount purchased End Main Module Input Data Module Write, “What is the Item Name?” Input ItemName

Write, “What is the Item’s weight in pounds?” Input Pounds

Write, “What is the Item’s weight in ounces?” Input Ounces

Write, “ What is Item’s cost per pound?” Input PoundPrice End Input Data Module

Preform Calculations Module
UnitPrice = PoundPrice/16
TotalPrice = PoundPrice*(Pounds + Ounces/16) End Preform Calculations Module

Output Results Module Write, “ The item is:” + ItemName Write, “ The price of the item per ounce is:” + UnitPrice Write, “ The total cost

Similar Documents

Free Essay

Hsm 210 Tutorials Learn by Doing/Hsm210Tutorials.Com

...HSM 210 Entire Course FOR MORE CLASSES VISIT www.hsm210tutorials.com HSM 210 week 1 Check Point Deinstitutionalization of the Mentally Ill HSM 210 week 1 Discussion Question 1 & 2 HSM 210 week 2 Checkpoint Researching Human Services Agencies HSM 210 week 2 Assignment Contemporary Problems HSM 210 week 3 Discussion Question 1 & 2 HSM 210 week 4 Checkpoint Differentiating Between Public and Private Organizations HSM 210 week 4 Assignment Examining Government Regulations HSM 210 week 5 Exercise Critical Thinking Exercises HSM 210 week 5 Discussion Question 1 & 2 HSM 210 week 6 Assignment Prevention HSM 210 week 6 Checkpoint Determining levels of prevention HSM 210 week 7 Checkpoint Comparing Values HSM 210 week 7 Discussion Question 1 & 2 HSM 210 week 8 Assignment Characteristics and Skills HSM 210 week 8 Checkpoint Evaluating Communication Strategies HSM 210 week 9 Capstone DQ HSM 210 week 9 Final Substance Abuse and the Native American Population ******************************************************** HSM 210 week 1 CheckPoint Deinstitutionalization of the Mentally Ill FOR MORE CLASSES VISIT www.hsm210tutorials.com Check Point: Deinstitutionalization of the Mentally Ill One of the most significant historical events to impact the evolution of human service work was the deinstitutionalization of the mentally ill in the 1960s. Your text examines some positive and negative outcomes of deinstitutionalization...

Words: 1374 - Pages: 6

Free Essay

It/210

...CheckPoint: Algorithm Verification Kelley Stevens IT/210 February 10, 2012 Dennis Wood CheckPoint: Algorithm Verification 1.     What will be printed if the input is 0? You fail 2.     What will be printed if the input is 100? Your grade is 100, You did great 3.     What will be printed if the input is 51? Your grade is 51, You did OK 4.     What will be printed if the user enters “Wingding”? It would cause an error 5.     Is this design robust? No If so, explain why. If not, explain what you can do to make it robust. You would need to add lines to deal with things such as if an invalid integer was input, then have the program display “error” “please enter a new score” 6.     How many levels of nesting are there in this design? 4 7.     Provide a set of values that will test the normal operation of this program segment. 1 and 99 Defend your choices. 1 is the test for the lowest function and 99 will test the highest function. These numbers will run throughout the program and will test all stages to verify the program is running properly 8.     Provide a set of test values that will cause each of the branches to be executed. 10 will test stage 1, 60 will test stage 2, 75 will test stage 3, and 90 will test stage 4 9.     Provide a set of test values that test the abnormal operation of this program segment. J, #, -2, and 1000...

Words: 253 - Pages: 2

Free Essay

Researching Human Services Agencies

...Reid-Taylor Professor Milicent Driver HSM/210 February 3, 2014 Checkpoint: Researching Human Service Agencies In the Baltimore City area two of the most popular human service agencies include the Housing Authority of Baltimore City and Department of Social Services. The Housing Authority of Baltimore City focuses on the homeless and low income demographic by providing housing needs to low income families within the inner society to help promote self-sufficiency through providing safe, affordable, and decent housing to its tenants. The Department of Social Services meets various food, income, childcare, and family support needs by serving the elderly, homeless, low income, and disabled demographic. Over time society has influenced both agency’s decisions to meet the needs of the demographic needs by helping to identify what the current socio-economic needs are in each community. The difference I observed in the ways each agencies attempts to meet human needs is that The Department of Social Services offers immediate help, while the Housing Authority does not. Overall each agency is somewhat successful in meeting the needs of its demographic group. Both agencies are federally funded and with the surplus of demand for social service assistance programs offered by each agency are often discontinued or on “freeze’. For example, the Housing Authority has no longer been accepting applications for its housing choice voucher program formerly known as section 8 due to the number...

Words: 320 - Pages: 2

Free Essay

Hsm210 Week 6 Checkpoint

...HSM 210 WEEK 6, Checkpoint Determining Levels of Prevention Resources: Ch. 8 of Human Services in Contemporary America and Appendix E Post a 200- to 300-word response to the following: Analyze the scenarios in Appendix E and describe the level of prevention each scenario addresses. Do you think the prevention strategy used in the scenario is effective? If not, what would you do differently? The situation in scenario A is a very effective situation. I would have sent the wife to the same preventative program to learn how to rebuild her confidence. I believe situation A is categorized as a tertiary prevention effort since the woman needs to rehabilitate and return. I would have also tried to send services to the husband too to help him manage his anger as a plus. The second situation is a primary prevention because they are trying to prevent a dysfunction, such as teen pregnancy from occurring. I believe the situation could have been handled a lot differently. I believe the human services could work with the Planned Parenthood facility and help them raise funds to stay open. This would take care of an unlimited amount of services to the girls, which would be better than the limited facility that we’d offer. The third situation is a secondary prevention because it is preventing the homeless people from going hungry and getting too terribly sick. I agree strongly with the effectiveness of the preventative measures used in the example. At first I was thinking of...

Words: 284 - Pages: 2

Premium Essay

Accounting Information

...Accounting Information Systems Maxell XACC/210 August 08, 2014 Donna Tennyson Accounting Information Systems Companies or businesses have different information systems to assist in conducting the corporations’ daily financial operations. The various types of accounting systems employed by accounts receivable, payroll, accounts payable, and accounting in general are vast. These include common ones such as UltiPro, ADP Payroll services, and QuickBooks Payroll. Paychex Inc. is a payroll and human resource service company which serves many businesses in the US. The company services include payroll services, 401(k) plans, group health insurance, HR Administration & Compliance, time and labor management. QuickBooks payroll is used for calculating taxes, filing and paying taxes, and payroll. Companies can also switch to running QuickBooks payroll manually, in a similar fashion to hybrid software. Indeed, manual payroll requires the calculation and filing and paying of your own taxes. Another software is Microsoft excel which is an automated spreadsheet package that can be used for keeping, consolidating and handling data. Other processes that excel programs are used for includes: charting, or graphing data to support users in recognizing data movements, sorting and clarifying data to find specific information. QuickBooks software is developed and marketed by Intuit to perform various accounting task across the different departs of a business. One can gain from Intuit with...

Words: 1082 - Pages: 5

Free Essay

C++ Objects Solutions

...C++ LOCATION OF VIDEONOTES IN THE TEXT Chapter 1 Designing a Program with Pseudocode, p. 19 Designing the Account Balance Program, p. 24 Predicting the Output of Problem 30, p. 24 Solving the Candy Bar Sales Problem, p. 25 Using cout to Display Output, p. 32 Assignment Statements, p. 59 Arithmetic Operators, p. 61 Solving the Restaurant Bill Problem, p. 72 Using cin to Read Input, p. 75 Evaluating Mathematical Expressions, p. 81 Combined Assignment Operators, p. 102 Solving the Stadium Seating Problem, p. 151 Using an if Statement, p. 162 Using an if/else Statement, p. 172 Using an if/else if Statement, p. 175 Solving the Time Calculator Problem, p. 236 The while Loop, p. 249 The for Loop, p. 263 Nested Loops, p. 277 Solving the Ocean Levels Problem, p. 299 Defining and Calling Functions, p. 306 Using Function Arguments, p. 316 Value-Returning Functions, p. 326 Solving the Markup Problem, p. 380 Creating a Class, p. 391 Creating and Using Class Objects, p. 393 Creating and Using Structures, p. 436 Solving the Car Class Problem, p. 480 Accessing Array Elements, p. 487 Passing an Array to a Function, p. 517 Two-Dimensional Arrays, p. 526 Solving the Chips and Salsa Problem, p. 567 Performing a Binary Search, p. 580 Sorting a Set of Data, p. 587 Solving the Lottery Winners Problem, p. 616 (continued on next page) Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 LOCATION OF VIDEONOTES IN THE TEXT Chapter 10 Pointer Variables...

Words: 11246 - Pages: 45

Premium Essay

Molson Canada Social Media Marketing

...References………………………………………………………………………... 16 1 Executive Summary Molson Canada has been facing negative reactions their recent social media marketing initiative, Cold Shots Campus Challenge. Parties claimed that this Facebook contest promoted irresponsible drinking behaviours among university students. As a result, Molson pulled the contest one week before the scheduled deadline. Now, Molson must evaluate the use of social media, specifically Facebook, in its marketing strategy. The available alternatives are to revamp the Facebook initiative, to focus on static webpages or to focus on traditional marketing strategies. The recommendation is to revamp the Facebook initiative over a period of three months with ongoing monitors and checkpoints. The projected cost of this recommendation is $75,500 initially, with recurrent annual costs of $36,000 per year. The advantage of this recommendation is that it can be easily expanded to include other types of social media, such as micro blogging, video sharing, photo sharing and online forums if the response to this project is positive. 2 I. Key Issues Molson Canada faces four key issues moving forward from November 2007. The first issue is related to brand image. Brand image is the most important and urgent issue (see Chart 1) because of the negative feedback Molson received as a result of the Cold Shot Campus Challenge Facebook initiative. Molson is seen as promoting irresponsible drinking behaviour. In order to rectify the...

Words: 3320 - Pages: 14

Premium Essay

Nt2640

...NT2640 IP Networking INSTRUCTOR GUIDE Onsite Credit hours: 4.5 Contact /Instructional hours: 34 Theory, 22 Lab Prerequisite: NT1210 Introduction to Networking or equivalent Course Revision Table Change Date Updated Section Change Description Change Rationale Implementation Quarter 07/18/2011 All New Curriculum New Curriculum September 2011 02/19/2013 All Updated labs across the course to map the 2nd edition of lab manual Immediately 02/27/2013 Midterm and Final Examination Answer Keys Added examination keys Immediately 03/18/2013 Answer Keys for Midterm and Final Updated some answers to address the accuracy March 2013 04/19/2013 Assignment labels on Pages 43, 52, 61, 78, 87, 97, 106 and 132. Added labels to identify additional assignments in affected units Clarification of additional assignments March 2013 Table of Contents COURSE OVERVIEW 5 Catalog Description 5 Goals and Expectations 5 Learning Objectives and Outcomes 6 Career Impact 6 INSTRUCTIONAL RESOURCES 7 Required Resources 7 Additional Resources 7 COURSE MANAGEMENT 9 Technical Requirements 9 Test Administration and Processing 9 Replacement of Learning Assignments 10 Communication and Student Support 10 Academic Integrity 10 GRADING 11 COURSE DELIVERY 13 Instructional Approach 13 Methodology 13 Facilitation Strategies 14 UNIT PLANS 15 Unit 1: The TCP/IP Model, LANs, WANs, and IP Networks 15 Unit 2: TCP/IP Network, Transport...

Words: 22068 - Pages: 89

Free Essay

Supplychain

...CALLING TO USA If you want to call the US directly, purchase an international phone card (kokusai denwa kaado) (国際電話カード) at the convenience store for ¥1000 ($10). This will give you about 10-15 minutes of phone time. IF you have AT&T, MCIWorldCom or Sprint Calling Cards from the USA, put in a ¥10 coin in the phone (green in color, a public phone) and dial the following numbers: AT&T 005-39-111+area code+number 0066-55-111+area code+number 0044-11-111+area code+number MCI 00539-121 0034-811-811 0066-55-121 0044-11-121 SPRINT 00539-131 AT&T can dial direct with the above. MCI and SPRINT, will get you to an operator. TRANSPORTATION On the Tokyo part of trip, will we primarily take three companies for transportation. They are Toei (都営), Tokyo Metro (東京メトロ) and Japan Railways (JR). Roppongi station is known as H04 (H for Hibiya) or E23 (E for Toei Oedo). These are the two lines that you can take to get to other destinations in Tokyo. Toei (都営) This is the transportation system that is owned by the Tokyo Metropolitan Government. Toei owns the Arakawa line and also 4 subway lines. Toei Shinjuku (都営新宿線) (light green or S), Toei Mita (都営三田線) (deep blue or I), Toei Asakusa (都営浅草線) (pink or A) and the Toei Oedo line (都営大江戸線) (maroon or E) are the subway lines. Tokyo Metro (東京メトロ) This is the primary subway system in Tokyo. Yurakucho line (有楽町線)(gold or Y), Marunouchi line (丸の内線) (red or M,m), Tozai line (東西線) (light blue or T), Ginza line...

Words: 3277 - Pages: 14

Premium Essay

Good

...AC14/AT11 Database Management Systems TYPICAL QUESTIONS & ANSWERS PART -I OBJECTIVE TYPE QUESTIONS Each Question carries 2 marks. Choosethe correct or the best alternative in the following: Q.1 Which of the following relational algebra operations do not require the participating tables to be union-compatible? (A) Union (B) Intersection (C) Difference (D) Join Ans: (D) Q.2 Which of the following is not a property of transactions? (A) Atomicity (B) Concurrency (C) Isolation (D) Durability Ans: (B) Q.3 Relational Algebra does not have (A) Selection operator. (C) Aggregation operators. (B) Projection operator. (D) Division operator. Ans: (C ) Q.4 Checkpoints are a part of (A) Recovery measures. (C ) Concurrency measures. (B) Security measures. (D) Authorization measures. Ans: (A) Q.5 Tree structures are used to store data in (A) Network model. (B) Relational model. (C) Hierarchical model. (D) File based system. Ans: (C ) Q.6 The language that requires a user to specify the data to be retrieved without specifying exactly how to get it is (A) Procedural DML. (B) Non-Procedural DML. (C) Procedural DDL. (D) Non-Procedural DDL. Ans: (B) Q.7 Precedence graphs help to find a 1 AC14/AT11 Database Management Systems (A) Serializable schedule. (C) Deadlock free schedule. (B) Recoverable schedule. (D) Cascadeless schedule. Ans: (A) Q.8 The rule that a value of a foreign key must appear...

Words: 20217 - Pages: 81

Premium Essay

Hhello

...STARTING OUT WITH Python ® Second Edition This page intentionally left blank STARTING OUT WITH Python ® Second Edition Tony Gaddis Haywood Community College Addison-Wesley Boston Columbus Indianapolis New York San Francisco Upper Saddle River Amsterdam Cape Town Dubai London Madrid Milan Munich Paris Montreal Toronto Delhi Mexico City São Paulo Sydney Hong Kong Seoul Singapore Taipei Tokyo Vice President and Editorial Director, ECS: Editor-in-Chief: Editorial Assistant: Vice President, Marketing: Marketing Manager: Marketing Coordinator: Vice President, Production: Managing Editor: Production Project Manager: Manufacturing Buyer: Art Director: Cover Designer: Cover Image: Media Editor: Project Management: Composition and Illustration: Printer/Binder: Cover Printer: Marcia Horton Michael Hirsch Stephanie Sellinger Patrice Jones Yezan Alayan Kathryn Ferranti Vince O’Brien Jeff Holcomb Kayla Smith-Tarbox Lisa McDowell Linda Knowles Joyce Cosentino Wells/JWells Design © Digital Vision Dan Sandin/Wanda Rockwell Sherill Redd, Aptara®, Inc. Aptara®, Inc. Edwards Brothers LeHigh-Phoenix Color/Hagerstown Credits and acknowledgments borrowed from other sources and reproduced, with permission, appear on the Credits page in the endmatter of this textbook. Copyright © 2012, 2009 Pearson Education, Inc., publishing as Addison-Wesley. All rights reserved. Manufactured in the United States of America. This publication...

Words: 76897 - Pages: 308

Premium Essay

Transsctions and Economics

...Transactions and Strategies Economics for Management This page intentionally left blank Transactions and Strategies Economics for Management ROBERT J. MICHAELS Mihaylo College of Business and Economics California State University, Fullerton Australia • Brazil • Japan • Korea • Mexico • Singapore • Spain • United Kingdom • United States Transactions and Strategies: Economics for Management Robert J. Michaels Vice President of Editorial, Business: Jack W. Calhoun Publisher: Joe Sabatino Sr. Acquisitions Editor: Steve Scoble Supervising Developmental Editor: Jennifer Thomas Editorial Assistant: Lena Mortis Sr. Marketing Manager: John Carey Marketing Coordinator: Suellen Ruttkay Marketing Specialist: Betty Jung Content Project Manager: Cliff Kallemeyn Media Editor: Deepak Kumar Sr. Art Director: Michelle Kunkler Frontlist Buyer, Manufacturing: Sandee Milewski Internal Designer: Juli Cook/ Plan-It-Publishing, Inc. Cover Designer: Rose Alcorn Cover Image: © Justin Guariglia/Corbis © 2011 South-Western, Cengage Learning ALL RIGHTS RESERVED. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means— graphic, electronic, or mechanical, including photocopying, recording, taping, Web distribution, information storage and retrieval systems, or in any other manner—except as may be permitted by the license terms herein. For product information and technology assistance, contact us at Cengage Learning Customer & Sales Support...

Words: 234748 - Pages: 939

Premium Essay

Altibase

...ALTIBASE Administration Administrator’s Manual Release 5.5.1 January 12, 2012 ALTIBASE Administration Administrator’s Manual Release 5.5.1 Copyright © 2001~2010 Altibase Corporation. All rights reserved. This manual contains proprietary information of Altibase Corporation; it is provided under a license agreement containing restrictions on use and disclosure and is also protected by copyright patent and other intellectual property law. Reverse engineering of the software is prohibited. All trademarks, registered or otherwise, are the property of their respective owners Altibase Corporation 10F, Daerung PostTower II, 182-13, Guro-dong Guro-gu Seoul, 152-847, Korea Telephone: +82-2-2082-1000 Fax: 82-2-2082-1099 E-mail: support@altibase.com www: http://www.altibase.com Contents Preface ............................................................................................................................................................................. i About This Manual ....................................................................................................................................................................................ii Audience........................................................................................................................................................................................ii Software Environment............................................................................

Words: 160935 - Pages: 644

Premium Essay

Biomass Energy in Ruse Region

...GENERAL OVERVIEW - BULGARIA Current Status of Biomass Energy There exists a large potential to utilize biomass as an energy source in Bulgaria. Bulgaria has a total land area of approximately 110,000 km2, of which some 6,200,000 ha, or approximately 60 percent of the overall land area, consists of arable and agriculture lands, and 3,903,000 ha, or approximately 30 percent, is forest cover. While information regarding the use and potential of biomass has been limited, there have been recent developments through pilot projects and preliminary evaluations that do begin to highlight Bulgaria’s full potential. Next to the country’s hydro resources, biomass accounts for a sizable share of Bulgaria’s final energy consumption, approximately 3.7 percent or 409,000 toe of the calculated 10,918,000 toe total consumption (Sofia Energy Center data report). Due to the lack of reliable nationwide assessments and data, it is estimated that in practice this number is much larger. The majority of the biomass energy consumption exists mainly in the rural areas, where fuelwood, followed by the residential consumption of wood briquettes produced from forestry wastes and sawmill byproducts amount to approximately 2 million m3 per year. In addition, wastes generated from agricultural and farming activities are produced in large quantities and exploitation of these wastes can prove to be significant source for energy generation. As the land of Bulgaria is rich and fertile, farming activities...

Words: 7352 - Pages: 30

Free Essay

It Is My Opinion, That When Dealing with Future Acquisitions, Financial and Accounting Analysis Is Simply Not Enough. Therefore, It Is My Recommendation That an Aggregate Analytical Approach Include Not Just Fundamental

...9 Formal Reports and Proposals he distinctions between formal and informal reports are often blurred. Nevertheless, a formal report is usually written to someone in another company or organization. Occasionally it is written for a senior manager in the same company, or for someone with whom the writer has little regular contact. Usually it is longer than an informal report and requires more extensive research. Unless you are a consultant, you are unlikely to be asked to write a formal report often. When you are, there may be a lot riding on it— including your reputation. The purpose of this chapter is to show you how to write a formal report and how to put together the kind of proposal that often precedes it. As Figure 9-1 shows, many of the elements of formal reports are the same as those for informal ones.You need to pay the same attention to headings, lists, and illustrations, for example. Although much of the advice in the previous chapter could be duplicated in this one, the emphasis here will be on those areas where there’s a difference. T Figure 9-1 Contrasting Features of Informal and Formal Reports Informal Formal Reader often internal often external or distant within organization Length • usually short • several sections • usually long (3 pages or more) • sections and subsections Tone • personal • contractions • more impersonal • no contractions Summary integrated on separate page Introduction ...

Words: 11089 - Pages: 45