Preview

Currency Conversion Test Procedure

Satisfactory Essays
Open Document
Open Document
640 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Currency Conversion Test Procedure
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 with the conversion: Y = Yes, N = No” Test Case 4: Quit = Y Inputs: Quit = Y Expected Outputs: “Are you sure you want to quit: Y = Yes, N = No”
Test Case 5: Quit Verified = Yes Inputs: Quit = Y Expected Outputs: End
Test Case 6: Quit Verified Inputs: Quit = N Expected Outputs: Return to menu list: “Choose a menu selection”
Test Case 7: Conversion Verified: Y = Yes Inputs: Continue with conversion = Y Expected Outputs: Call get-int-value module
Test Case 8: Coversion Verified: N = No Inputs: Continue with conversion = N Expected Outputs: Return to menu list: “Choose a menu selection”
Get-Int-Value Test Cases
Test Case 1: Legal input = 543 Inputs: 543 Output: valid input?
Test Case 2: Illegal Input= Banana Inputs: Banana Output: “Error: Illegal Value, please enter a legal value”
Test Case 3: Valid Input Input: 543 Expected Output: Call CurrencyConversion Module
Test Case 4: Invalid Input Input: -11 Expected output: “Error: Invalid input, please enter a valid value”
Currency Coversion Test Cases
Test Case 1: Valid International Currency = Canadian Dollars Inputs: Currency Type = 1 Int-Value= 150.00 Expected Output: convert currency US Value = Rate * Int-Value
Test Case 2 : Valid International Currency= Mexican Pesos Inputs: Currency Type = 2 Int-Value= 150 Expected Output: Convert currency US Value = Rate * Int-Value
Test Case 3: Valid International Currency = English Pounds Inputs: Currency

You May Also Find These Documents Helpful

  • Satisfactory Essays

    a1 script win213

    • 380 Words
    • 2 Pages

    If the user does not enter a numeric value the program should prompt for a numeric value…

    • 380 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    It/210 Final Exam

    • 1235 Words
    • 5 Pages

    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 converts the foreign currency to dollars. The program displays the equivalent dollar amount and returns the user to the menu until another conversion is inputted or quits the program.…

    • 1235 Words
    • 5 Pages
    Good Essays
  • Good Essays

    It210 Week 4 Psuedocode

    • 584 Words
    • 3 Pages

    = Yes || yes|| No || no Write: “That is not a correct entry!” Write: “Please enter Yes or No.” Input QuitNow…

    • 584 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    It 210 Appendix I

    • 623 Words
    • 3 Pages

    Axia College Material Appendix I Currency Conversion Development Assignment—Flowcharts Complete the flowcharts for the assignment above by typing into the textboxes below. Control Flow Diagram—Main Control [pic] Control Flow Diagram—Display Menu | | |[pic] | Control Flow Diagram—Get_Int_Value | | |[pic] | Control Flow Diagram—Convert Currency | | |[pic] | Control Flow Diagram—Display_Results |[pic] | PSEUDOCODE Main Module Declare Selection as an integer Declare CurrencyType as string Declare USDollar as real Declare ConvertedAmount as real Call Display/Selection Module Call Canadian Module Call Mexican Module Call English Module Call Japanese Module Call French Module Call Quit Module Call Output Module End Program…

    • 623 Words
    • 3 Pages
    Powerful Essays
  • Satisfactory Essays

    Appendix a It210

    • 305 Words
    • 2 Pages

    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 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.…

    • 305 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    PT1420week5exdkinney

    • 404 Words
    • 2 Pages

    If you want to display your currency values to two decimal places with a dollar sign and commas when applicable you would use the Format() function. This returns a Variant (convertible to a String) data type formatted to look the way you need. Programmers would also use the strFormat function to format values. For example:…

    • 404 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    It 210 Final Project

    • 733 Words
    • 3 Pages

    3. User data should be requested in clear and concise means. “Please Enter Amount of Foreign Currency (Whole amounts only please”…

    • 733 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Programing Problems

    • 721 Words
    • 3 Pages

    End User Input Module Unit Weight Module UnitWeight =ItemWeight*16 End Unit Weight Module Unit Price Module UnitPrice=ItemPrice/UnitWeight End Unit Price Module Total Price Module TotalPrice=UnitWeight*UnitPrice End Total Price Module…

    • 721 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Case 11-4 Functional Currency Determination — IFRS 2009: Sparkle Company is a Nigerian diamond mining company. (Nigerian currency is the Naira (NGN).) Sparkle is a joint venture, 50 percent owned by Shine and 50 percent owned by Brighten. Both Shine and Brighten are U.S.-based companies with US$ functional currency. This year, Sparkle had several transactions with its joint venture owners and outside parties. The details of Sparkle’s transactions are as follows: Loans    $1 million from Brighten. $1 million from Shine. NGN 300 million from a local bank.…

    • 435 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    understand the use of zero as a place holder, e.g. £1.05 is £1 and 5p…

    • 828 Words
    • 4 Pages
    Powerful Essays
  • Satisfactory Essays

    This Is a Paper

    • 469 Words
    • 2 Pages

    * The design is not robust as there are no statements for error handling and handling exceptions. To make this code more robust I would add error handling statements like the user can only enter numbers that are between 0 and 100. Also the user cannot enter any strings like winding and other data types, for other numbers and data types the system will display "invalid input. Please enter a number between 0 and 100." Also notice that it doesn't handle the case of entering 49. You need <= 49, as it is now, when you enter 49 all it will say is "how did u do?" same thing with entering 100 and for anything over 100.…

    • 469 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    As we have to find the optimal trading plan, hence we will “MINIMIZE” this objective function.…

    • 354 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Sovereignity- supreme & independent power or authority in government as possessed or claimed by a state or community. Being sovereign nations can be more indifferent to the interests of others. As long as nations exist, international economics will always need a separate body of analysis distinct from the rest of economies.…

    • 1106 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    Us dollar evaluation

    • 419 Words
    • 2 Pages

    The name of the article that I choose to do my article review on is called Imagining the Dollar Without Its Privilege. This is a very interesting article writing by Eduardo Porter for the New York Times on October 15, 2013. This article is all about the uncertainty of the worth of the U.S dollars and what it might mean to our nation and the rest of the world. A very interesting quote from this article made by George Soros is “the dollar is the weakest currency except for all others”. The article addresses concerns around the world about the U.S currency which has been downgraded for the first time in history by the rating industry Standard & Poor’s. The article talks about how the U.S dollars is the world reserve currency, which currently holds two-thirds of the world’s foreign reserves (mostly treasury bonds) and also half of the world foreign debt securities. Furthermore the article states that with all the internal issues the U.S is facing with Republicans in Congress threatening default as a leverage in order to eliminate Obamacare, the rest of the world are shifting in finding an alternative for the dollar. The article discusses some upside for the dollar losing its reserve status, stating that “the job of reserve currency is too big for the dollar to shoulder alone”, however it also goes into detail about some of the disadvantage of the dollar loosing value and the world shifting to a multipolarity, stating the world might be financially riskier.…

    • 419 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    indian currency

    • 4278 Words
    • 14 Pages

    The Indian rupee (symbol: INR; ISO code: INR) is the official currency of the Republic of India. The issuance of the currency is controlled by the Reserve Bank of India.[2]…

    • 4278 Words
    • 14 Pages
    Satisfactory Essays