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
IT 210 – 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 =
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
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
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 = 6 Expected Outputs: “Do you want to Quit‚ Y = Yes‚ N = No” Currency_Type = 6 Test Case 3: Invalid Menu Selection = 9 Inputs: Menu Selection = 9 Expected Outputs: “Error
Premium
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
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