Preview

Project Management

Good Essays
Open Document
Open Document
734 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Project Management
Programming Logic and Design, 6th Edition

Chapter 4

Exercises

2. Chocolate Delights Candy Company manufactures several types of candy. Design a flowchart or pseudocode for the following:

a. A program that accepts a candy name (for example, “chocolate-covered blueberries”), price per pound, and number of pounds sold in the average month, and displays the item’s data only if it is a best-selling item. Best-selling items are those that sell more than 2,000 pounds per month.

Answer:
A sample solution is as follows:

Pseudocode:

start Declarations string name double pricePerPound double poundsSold double POUNDS_MIN = 2000 display “Enter the name of the candy: ” get name display “Enter the price per pound of this candy in Dollars: ” get pricePerPound display “Enter the number of pounds of this candy that was sold: ” get poundsSold if poundsSold > POUNDS_MIN then display “This is a best selling candy! Name: “, name, “Price per pound: “, pricePerPound, “Pounds sold:”, poundsSold endif stop Flowchart:

4. The Summerville Telephone Company charges 10 cents per minute for all calls outside the customer’s area code that last over 20 minutes. All other calls are 13 cents per minute. Design a flowchart or pseudocode for following:

a. A program that accepts data about one phone call: customer area code (three digits), customer phone number (seven digits), called area code (three digits), called number (seven digits), and call time in minutes (four digits). Display the calling number, called number, and price for the call.

Answer:
A sample solution is as follows:

Pseudocode:

start Declarations int custAreaCode int custPhoneInt int calledAreaCode int calledPhoneInt int minutes int price int LOW_RATE = 0.10 int HIGH_RATE = 0.13 int TIME_LIMIT = 20 display “Enter customer area code: ” get custAreaCode display “Enter customer phone

You May Also Find These Documents Helpful

  • Powerful Essays

    Tootsie Roll Case Study

    • 2927 Words
    • 12 Pages

    "Profile of the U.S. Candy Industry | Title | NCA." Profile of the U.S. Candy Industry | Title | NCA. N.p., n.d. Web.…

    • 2927 Words
    • 12 Pages
    Powerful Essays
  • Good Essays

    Project Management

    • 694 Words
    • 3 Pages

    References: Brown, C. (2011). Requirements risk. Business Analysts Articles: Business Analysis and Systems Analysis. Retrieved from http://www.modernanalyst.com/Resources/Articles/tabid/115/articleType/ArticleView/articleId/212/Requirements-Risk-Management.aspx.…

    • 694 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    5 | $158,334.00 | 8 | $91,435.05 | 1 | $90,281.10 | 3 | $90,051.25 | 4 | $75,498.75 | 2 | $54,262.70 | 3. What are the best-selling products by Total Sales? Query1 | Item Description | Total Sales |…

    • 662 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Project Management

    • 440 Words
    • 2 Pages

    1. Project managers frequently face competing constraints. Identify these common constraints and describe approaches that project managers can use to make the trade-offs required to succeed…

    • 440 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Project Management

    • 2565 Words
    • 9 Pages

    - Project stakeholders are individuals and organizations that are actively involved in the project, or whose interests may be affected as a result of project execution or project completion. They may also exert influence over the project's objectives and outcomes.…

    • 2565 Words
    • 9 Pages
    Powerful Essays
  • Better Essays

    Project Management

    • 844 Words
    • 4 Pages

    The projects environment as it relates to cultural /social is one of healing, health and wellbeing of the population or community. The expansion of the facility will impose little impact on the environment as we will be using an existing building and all green practices and policies will be instituted when possible.…

    • 844 Words
    • 4 Pages
    Better Essays
  • Satisfactory Essays

    Project Management

    • 289 Words
    • 2 Pages

    You are the project manager for the project you selected and identified in the prior assignments. Using your Microsoft Project software, sketch out your action plan. Use the action plan to develop the work breakdown schedule (WBS) as follows:…

    • 289 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    project management

    • 2580 Words
    • 7 Pages

    Prepare a five to seven paragraph response proposing leadership styles you would recommend for the Denver Airport Project. Please choose a combination (two or three) of the eight leadership styles presented in the Thompson textbook (Chapter 11: Leadership: Managing the Paradox). Please note that you are to also use three other sources from the internet or the DeVry online library. All sources must be cited.…

    • 2580 Words
    • 7 Pages
    Good Essays
  • Good Essays

    Chromatography

    • 873 Words
    • 4 Pages

    Note: Repeat the steps for each kind of candy. Be sure to include the color and kind of candy on your label.…

    • 873 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Telephone systems have many different features this allows us to handle and manage calls in a professional manner.…

    • 3206 Words
    • 13 Pages
    Good Essays
  • Good Essays

    Currency Conversion Test

    • 737 Words
    • 6 Pages

    If Option 4 Write "Thank you for using the Currency Conversion. Have a nice day."…

    • 737 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    Avaya

    • 6436 Words
    • 26 Pages

    Aura® Messaging which they can access via a dedicated pilot number. The sample network is…

    • 6436 Words
    • 26 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Python - Menu Program

    • 1437 Words
    • 6 Pages

    #Marius Mazuolis #14-12-2012 #assignment Menu Program #------------------------------------- #open file and read data assining it to 2 dimension list def openFile(fileName): bufferFile = open(fileName) bufferTxt = bufferFile.read() bufferFile.close() bufferLines = bufferTxt.split("\n") bufferTable = [] ln=0 for line in bufferLines: if len(line) > 0: if ln != 0: dataLine = line.split(",") dataLine[0] = dataLine[0].capitalize() bufferTable = bufferTable + [dataLine] else: dataLine = line.split(",") for dt in dataLine: i = dataLine.index(dt) dataLine[i] = dt.upper() bufferTable = bufferTable + [dataLine] ln+=1 return bufferTable #------------------------------------- #------------------------------------- #function to check if number less than 10 to add 0 in front #(send 9 receive 09)…

    • 1437 Words
    • 6 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Taxi Management System

    • 418 Words
    • 2 Pages

    Online Tracking : Online Tracking would enable the user to track vehicle’s Current Location. The vehicle’s position would be displayed on a detailed digital map. This would be central monitoring for vehicles…

    • 418 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Enable textboxes (txt item num, text descry, text price, text qnty) To add new product/item.…

    • 781 Words
    • 4 Pages
    Powerful Essays

Related Topics