title of the program with a welcome. 2. A description of how the program will be used. 3. User has 5 currencies (Canadian dollars‚ Mexican Pesos‚ English Pounds‚ Yen‚ and Francs) to choose from to convert to dollar amount or vice versa. 4. Program displays the dollar amount the chosen currency is equivalent to. 5. User has an option to quit the program or restart any with any other currency to convert. Input-Process-Output Chart Complete the following Input-Process-Output chart for the application
Premium United States dollar Currency Dollar
select 1 of 5 international currency types. (Canadian dollars‚ Mexican pesos‚ English pounds‚ Japanese yen‚ and French francs) 3. Program converts foreign currency to U.S. dollars if values provided are valid. 4. Program displays the equivalent dollar amount. 5. Program returns to main menu‚ user has option to enter another conversion or quit the program. ~Input-Process-Output Chart~ Input Process Output Menu Options: User selects 1 of 6 Display Menu Currency Type (Integer) 1 - 5 International
Premium
Currency Conversion Design Assignment—Hierarchy Chart Complete a hierarchy chart for the application by typing into the textboxes below. Main Module Display_Results Module Get_Int_Value Module Display_MenuModule Convert_Currency Module Currency Conversion Development Assignment—Flowcharts Complete the flowcharts for the assignment by typing into the textboxes below. Control Flow Diagram—Main Control ------------------------------------------------- Begin Do you want to
Premium
IT 210-Final Currency Conversion Program Florence Sanders IT/210 Fundamentals of Programming with Algorithms and Logic September 16‚ 2012 Ed Addison Application-Level Requirements List 1. User screen that prompts user 2. Display prompts main user title screen 3. Main user screen provides short description explaining use of program 4. Calculations of currency is executed with valid inputs 5. Provides option to clear input fields Input | Process | Output |
Premium United States dollar Canadian dollar Currency
Currency Conversion Pseudocode Main Module { Declare ExchangeRate as real; Declare VariableCurrency as String; Declare UnitedStatesValue as real; Declare AmountVariable as real; Call Input DataModule; EndMainModule; InputDataModule; Write "Welcome to International Currency Conversion"; Write "Please choose Currency Type" Write "International Currency Types:" Display "1. Japanese Yen."; Display "2. French Francs."; Display "3. Mexican Peso."; Display "4. Quit." Write "Enter Amount
Premium United States dollar Currency
user. 2. User selects the type of currency they wish to convert. 3. User enters the amount of currency they wish to convert. 4. Currency is converted using established conversion rates. 5. Completed conversion amount is displayed for the user. IPO Chart Input | Process | Output | (Keyboard) User enters selection | Get type of foreign currency | ForeignCurrencyType (string) | (Keyboard) User enters amount | Get amount of foreign currency | ForeignCurrency (float) | Rate (float)ForeignCurrency
Premium United States dollar Pound sterling Currency
Currency Conversion Design Currency Conversion Design **********Begin Test Procedure*********** ------------Menu Error Testing------------ Test Case 1: Inputs: CurrencyType = “U” Expected Output: Invalid currency selection. Please try again Test Case 2: Inputs: CurrencyType = “0” Expected Output: Invalid currency selection. Please try again Test Case 3: Inputs: CurrencyType = “9” Expected Output: Invalid currency selection. Please try again ------------End Menu Error Testing------------
Premium
Assignment: Currency Conversion Design Currency Conversion Design Analysis Process: 1. Display Menu 2. Get Foreign Value 3. Convert Currency 4. Display Results Input: 1. Currency Type (integer: Currency Type) 2. International Value (real: International Value) 3. U.S. Value (real: U.S. Value) Output: 1. Currency Type (integer: Currency Type) 2. International Value (real: International
Premium United States dollar Currency Pound sterling
Currency Conversion Test Procedure Display Menu Test Cases Test Case 1: Valid Selection = Canadian Dollars Inputs: Menu Selection = 1 Expected Outputs: “Do you want to continue with the conversion: Y = Yes‚ N = No” Currency Type = 1 Test Case 2: Invalid Selection = Russian Rubels Inputs: Menu Selection = > 5 Expected Outputs: “Invalid menu selection‚ please pick a different selection.” Test Case 3: Quit = N Inputs: Quit = N Expected Outputs: “Do you want to continue
Premium United States dollar Currency Pound sterling
IT210 Currency Conversion Test Values Currency Conversion Test Values Input Expected Output Comments Selection = TEST Error Message Invalid input Selection = c “Let’s get started.” Prompt country selection Selection = e “Are you sure you wish to exit?” Prompt validation message Selection = y “Thank you for using the Currency Conversion Program. Goodbye.” Terminate program Selection = n “Select a country from the following options:” Prompt country selection Country
Premium United States dollar