Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

using this information for this assignment: IPO MODEL: Inputs: Public Offering (IPO) amount, Number of shares offered, Price per share Process: Calculate total proceeds from

using this information for this assignment: IPO MODEL: Inputs: Public Offering (IPO) amount, Number of shares offered, Price per share Process: Calculate total proceeds from offering, Calculate total number of outstanding shares, Calculate market capitalization Outputs: Total proceeds from offering, Total number of outstanding shares, Market capitalization Initial IPO Chart: Inputs Process Outputs Public Offering (IPO) amount number of shares offered price per share Total Proceeds = IPO amount * Number of shares offered * Price per share Total number of outstanding shares = IPO amount / Price per share Market capitalization = Total number of outstanding shares * Price per share Total Proceeds Total number of outstanding shares Market capitalization Initial Flowchart: Start Inputs: Initial Public Offering (IPO) amount, number of shares offered, price per share Calculate total proceeds from offering. Calculate total number of outstanding shares. Calculate market capitalization. Outputs: Total proceeds from offering, total number of outstanding shares, market capitalization end. The goal of this project is to design an information systems solution for a business problem. Your organization is looking for an information system to help with project cost/benefit analysis so that it can compare alternatives. Having this system will help managers make better decisions. The basic program should ask the user to enter basic information about the project including the following: Materials Cost Labor Cost Overhead Cost Projected Savings or Increase in Revenue After gathering the inputs, the program should be able to calculate basic information about the project including: Total Project Cost (Sum of Materials, Labor, and Overhead Costs) Project Profit/Loss (Difference of Total Cost and Savings or Revenue Increase) Project Profit/Loss as a Percent of Total Cost (Profit/Loss / Total Project Cost) Over the course of the session you will build upon the project each week, adding features and functionality. Project Software Tools: This project will take advantage of the online BlockPy environment for development of the software (https://think.cs.vt.edu/blockpy/). You should also have access to a drawing tool such as Microsoft Visio (available in the Student Software Store or via the Citrix Virtual Lab, both are linked in the Course Resources/Student Resource Center area). Alternatives to Visio include Dia (http://dia-installer.de/index.html.en) or Draw.io (https://app.diagrams.net/). You should also have Microsoft Office which students can install for free at www.office.com (be sure to log in with your DeVry credentials to get the suite for free). If you wish to run the program you will develop locally on your own computer (optional), you can install Python at https://www.python.org/. Introduction It will be a good idea to have your IPO and flowchart from last week handy as a reference as you build this weeks initial version of the project cost/benefit analysis program. In this part of the project you will develop a working Python program using the online BlockPy tool. BlockPy is a drag-and-drop interface that lets you write Python code by connecting blocks together. Our program will: Ask the user for material cost, labor cost, overhead cost, and projected benefit. Calculate the total project cost, profit/loss, and percent profit/loss. Output the total project cost, profit/loss, and percent profit/loss. Requirements 1. Create Blockly Project Go to https://think.cs.vt.edu/blockpy/ (You can create an account if you want but its not required) Click Try Editor NOTE: It is highly recommended that you download your work to your computer frequently as you go so that you will not have to re-type all the code if something goes wrong. Make sure you are in Split view. This will show the block and code version of your program side-by-side. 2. Create your variables. Using the Variables section of the editor, click Create variable to create new variables. Enter the variable name, then click OK to add the variable to your project. You should create variables for: materialCost laborCost overheadCost projectBenefit totalProjectCost projectProfit projectProfitPercent 3. Add print statements for your program header. To print string output, combine the print block (from the Output category) with the string block (from the Values category). In the Output area, drag the print block to the design area. In the Values area, drag the string block to your print statement so that you can add the text of your program header. The program header should include: The name of your program. Your Course Number. Your Session (month and year for the course start). Your Name (as shown in Canvas). The results should be similar to the following: Now is a good time to download your file to save what you have so far as a backup. If you need to start again, use the upload button to upload your saved file. 4. Get user input. Prompt for and get the required input from the user. Set the appropriate variables to the input values so they can be used in calculations. For this part of your code, use the set block (in the Variables group) along with the input block (in the Input group). Be sure to add an appropriate prompt for the user to enter the data. Important!: The input() statement always returns a string. We will need to convert the input to a number using the float block (in the Conversion group). The results should now be similar to the following: Now is a good time to download your file to save what you have so far as a backup. If you need to start again, use the upload button to upload your saved file. 5. Perform calculations. Now that we have the necessary user input, we can do our calculations. For the calculations we will again use the set block (in the Variables group) but this time with a calculation block (in the Calculations group). For each side of the calculation, drag the appropriate variable to the left or right side of the operator (this can be tricky so watch for the left or right block area to highlight as you drag and drop). Note that to use more than two values in an expression, you will need to add additional calculation blocks. For example, to calculate the totalProjectCost, you can do the following. Add the other calculations so that the results look similar to the following. The full code should look like the following. Now is a good time to download your file to save what you have so far as a backup. If you need to start again, use the upload button to upload your saved file. 6. Display the output. Now that we have all the inputs needed and have done all the calculations, we can display the results to the user. Let us create a simple project summary report. To display multiple items on a single line we will use the Calculation block to add the values in our print statement. The combining of two strings is called concatenation and in Python uses the same + symbol used for adding numbers. We have to remember to use the str() function (in the Conversion group) to make sure that both left and right side of the + sign are strings. Create a summary report. It should look similar to the following, but you can be flexible with your formatting. Be sure to include your name in the report. The full code should look similar to the following: Now is a good time to download your file to save what you have so far as a backup. If you need to start again, use the upload button to upload your saved file. 7. Run and test your code. Now that the program is complete, give it a test with some different values. Click the Run button to run your program. Enter the values requested. You should then see your summary report. Deliverables Be sure to save your project file. We will use it as the starting point for the next Module. Submit a Word file that includes the following: Course Number Session (Month and Year of course start) Name (full name as shown in Canvas) Screen Shots of your block code (note, you may have to take several screen shots to get all your blocks) Screen shots of your Python code (note, you may have to take several screen shots to get all your code) Screen shots of your complete program test ((note, you may have to take several screen shots to get all the input and output for your test)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Analysis Using SQL And Excel

Authors: Gordon S Linoff

2nd Edition

111902143X, 9781119021438

More Books

Students also viewed these Databases questions

Question

What is a polytomous variable?

Answered: 1 week ago