Reference no: EM1367298
The objective of each assignment is to give you a chance to apply the design concepts and techniques learned in the chapters covered. It is important that you understand each step as you layout the assignment. It is not a question of "imitating" the examples in the text or copying them, but understanding the examples and using that understanding to complete the assignment. You should continuously ask yourself, "Why am I doing this?" The answer should not be, just because the example does it.
Sales Tax Program
Design a program that will ask the user to enter the amount of a purchase. The program should then compute the state and county tax. Assume the state sales tax is 4 percent (.04) and the county tax is 2 percent (.02). The program should display the amount of the purchase, the state sales tax, the county sales tax, the total sales tax, and the total of the sale (which is the sum of the amount of the purchase plus the total sales tax).
The objective of the assignment is to develop the program using modular design covered in Chapter 3 in addition to using the design techniques covered in Chapter 2.
Before starting Assignment 2, make sure you have studied and understand software requirements. You may want to do a "dry run" on paper using your own purchase amount. This will make sure that you understand the requirements.
Show the use of modules in pseudocode, as a basis for you assignment. However, use appropriate module names. Do not use step(1), step(2) etc. used in the example. Make sure you understand the other examples "In the Spotlight" on pages 95-97, 100-103, and 105-108 which demonstrate the use of passing arguments/data between modules.
1) Develop a list of major steps to follow to get input, process, and output the desired information
(software requirements).
2) Refine the list to include individual refined steps (algorithm).
3) Develop a structure (hierarchy) chart with a main module, submodules, the parameter variables, and
reference in the reference variables in the parentheses as needed.
4) Write the pseudocode for each module of the structure chart.
5) Create the corresponding flowcharts.
6) Set up the hand trace chart to test the logic of your pseudocode.
The structure chart and flowcharts can be developed using Microsoft Word. There is an organization chart feature for the structure chart and a draw and flowchart feature also. Use the Microsoft Help to learn how to access and use these features.
Potential health problems through case-studies
: The diagnosing, care and treatment of human responses to actual and/or potential health problems through case-studies, research studies and findings.
|
Create program that asks user to enter series of numbers
: Create a program which asks the user to enter a series of 20 numbers. The program must determine whether number is valid by comparing it to following list of valid charge account numbers:
|
Determine the dollar price of the cars
: The United State imports Japanese cars with a domestic price of 5,000,000 yen and the yen or dollar exchange rate is 120 on January 1, 2003.
|
Activity based teaching strategies
: Describe how you could incorporate some activity based teaching strategies into a traditional classroom or clinical setting.
|
Create list of major steps to follow to get input
: Create a list of major steps to follow to get input, process, and output desired information (software requirements). Refine the list to include individual refined steps (algorithm).
|
Preferred stock valuation
: Authorized and available shares Aspin Company charter authorizes issuance of 2,000,000 shares of common stock. Currently, 1,400,000 shares are outstanding and 100,000 shares are being held as treasury stock.
|
Determine the factors that affect dollar yen exchange rate
: n the flexible exchange rate system, discuss the effects of the following events on the exchange rate between U.S. dollar and Japanese Yen: Please indicate whether US$ will appreciate or depreciate.
|
By what percentage must the tension in the string be changed
: A hot (70°C) lump of metal has a mass of 250g and a specific heat of 0.25 cal/g°C. John drops the metal into a 500 g calorimeter containing 75g of water at 20°C.
|
Concept to analyze nursing profession
: Give a brief example of a concept to analyze in our nursing profession (example: caring, healing, comfort, diversity). Briefly outline the steps in the analysis of this concept.
|