27‚ 2013 IT210/ Wk 6 Conversion Currency Conversion Procedure Currency Conversion Test Procedure Display Menu Declare as Boolean Set = true While = true Display = International Currency Conversion Program Display = Make a Selection Display = International Currency Types Display = Canadian Dollars Display = Mexican Pesos Display = English Pounds Display = Japanese Yen Display = French Francs Display = Quit Display = Enter a Selection Input Currency Type If Currency
Premium United States dollar Pound sterling 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
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
Application-Level Requirements List 1. The program screen should display the 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
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
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
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
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
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