![]() ![]() |
![]() |
![]() Book Contents
Ch. 11
|
![]() |
JavaScript Decision Aid ExerciseYou have been asked to evaluate a Data Mart project. The initial cost of the Data Mart is $50,000 with indirect costs of $25,000. In year 2 of the project analysts estimate direct benefits of only $5,000, but indirect benefits of $10,000. In years 2 and 3 the project will involve $10,000 each year direct and indirect costs. The benefits of the projects won't really start to be realized until year 3 when $10,000 in direct benefits and $20,000 in indirect benefits will result. Additional indirect benefits will result in year 4 ($20,000), year 5 ($20,000), year 6 ($20,000), and year 7 ($10,000). What is your evaluation of this proposed project? What is your recommendation? Use the JavaScript decision aids at DSSResources.COM. They can be found at http://dssresources.com/subscriber/password/decisionaids/index.html. You may want to try the following decision aids:
Figure 11.6 - Cost/Benefit Analysis
JavaScript DSS Programming ExerciseDevelop a simple Web-Based DSS that converts from Fahrenheit temperatures to Centigrade temperatures. The formula for converting from Fahrenheit to Centigrade is Centigrade Temperature = 5/9 (Fahrenheit Temperature – 32). Use form tags to create input and output fields. Then, write the JavaScript program and include it on your web page. Title the page "Temperature Converter". In the head of the HTML page, include this JavaScript code. <script language="JavaScript"> JavaScript is very sensitive to returns and formatting. Be careful that you include all of the code. Create the form in the body of your HTML page and include a heading for the temperature converter. Use the following code. If you change variable names, make sure they correspond to the names in the JavaScript program.
<form method="post" name="form">
|
![]() |
![]() ![]() |
![]() | DSSResources.COMsm is maintained and all its pages are copyrighted (c) 1995-2002 by D. J. Power (see home page). Please contact power@dssresources.com. This page was last modified Wednesday, May 30, 2007. See disclaimer and privacy statement. |