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
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 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
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
Input Module 3. Conversion Module 4. Output Module 5. Display Module/End Module Input-Process-Output Chart |Input |Process |Output | |Currency Selection |Get user input |Currency Type | |Canadian Dollars |Convert currency to US |US Dollar
Premium United States dollar Currency
Assignment: Currency Conversion Test Procedure Purpose of Assignment Students generate a set of test inputs and expected results for the Currency Conversion program. Display Menu Test Cases Test Case 1: Valid Menu 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: Valid Menu Selection = Quit Inputs: Menu Selection =
Premium Currency Output Input
Assignment: Currency Conversion Test Procedure Test Procedure: Begin Test Procedure Menu Error Testing Test Case 1: Inputs: Currency Type = “5” Expected Output: Invalid currency selection. Please try again Test Case 2: Inputs: Currency Type = “9” Expected Output: Invalid currency selection. Please try again Test Case 3: Inputs: Currency Type = “88” Expected Output: Invalid currency selection. Please try again Currency Conversion Testing Test Case 1: Valid International Currency = Canadian
Premium United States dollar Currency
Currency Conversion Design Appendix H Currency Conversion Design Assignment—Hierarchy Chart Complete a hierarchy chart for the application by typing into the textboxes below. Associate Program Material Appendix I Currency Conversion Development Assignment—Flowcharts Complete the flowcharts for the assignment by typing into the textboxes below. Control Flow Diagram—Main Control Control Flow Diagram—Display Menu Control Flow Diagram—Get_Int_Value
Premium United States dollar Currency Dollar