Sunteți pe pagina 1din 4

Axia College Material

Appendix F

Application-Level Requirements
Application-Level Requirements List

1. The first display should have some general information, which will include the title.

2. Application has a display that helps the user form specified information to input.

3. There should be explanatory material.

4. Application should include comments in the program to allow other programmers the
ability to understand your language.

5. The ability to clear the inputs and start the calculations over.

Input-Process-Output Chart

Complete the following Input-Process-Output chart for the application using a structured
programming approach.

Input Process Output


Currency Type Get User Input Currency Type
Currency Amount Currency Amount
Exchange Rate Exchange Rate
Currency Type Foreign Currency Type/Value
Currency
Value
Enter Currency Amount Calculate Total Currency Amount

Foreign Currency Amount Convert to U.S. U.S. Currency Amount


Dollar
Currency Type Display Results Conversion of Foreign Currency into
Currency Amount U.S. Dollars
Exchange Rate

Hierarchy Chart

IT 210
Complete a hierarchy chart for the application above by typing into the textboxes below.

Main Module

Display Menu Currency Convert Display


Value Currency Results

IT 210
Requirements

Problem: Currency Conversion

Description: The Currency Conversion application is a menu-driven program that allows users to
select one of five international currency types, input the amount of a foreign currency, and then
convert the foreign currency to dollars. The program displays the equivalent dollar amount and
returns the user to the menu until he or she enters another conversion or quits the program.

International currency type (menu selection)

         Canadian dollars (rate: 1 U.S. dollar = 1.4680 Canadian dollars)


         Mexican pesos (rate: 1 U.S. dollar = 9.5085 pesos)
         English pounds (rate: 1.6433 U.S. dollars = 1 pound)
         Japanese yen (rate: 1 U.S. dollar = 104.9200 yen)
         French francs (rate: 1 U.S. dollar = 6.2561 francs)

Application-Level Requirements List

1.     The program will present a series of user screens that prompts the user for specified input.
2.     The main user screen will display an application title.
3.     The main user screen will display a short description telling the user how to use the program.
4.     The calculation of the currency will be executed only after all the valid input values are
provided.
5.     The program will allow the user to clear all input fields and recomplete the calculation.

Input-Process-Output Chart
Input Process Output
Name:   Display Menu Name: Currency Type
Type:   Type: Integer
Range: Range: 1-6
   
Name: International Value Get Foreign Value Name: International Value
Type: Real Type: Real
Range: 0-1,000,000 Range: 0-1,000,000
   
Name: International Value Convert Currency Name: US Value
Type: Real Type: Real
Range: 0-1,000,000 Range: >0
   
Name: Currency Type
Type: Integer
Range: 1-6
   
Name: Currency Type Display Results Name: Currency Type
Type: Integer Type: Integer
Range: 1-6 Range: 1-6
       
Name: International Value Name: International Value
Type: Real Type: Real

IT 210
Range: 0-1,000,000 Range: 0-1,000,000
       
Name: US Value Name: US Value
Type: Real Type: Real
Range: >0 Range: >0
 

IT 210

S-ar putea să vă placă și