Preview

Assignment: Currency Conversion Test Procedure

Satisfactory Essays
Open Document
Open Document
362 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Assignment: Currency Conversion Test Procedure
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 = Canadian
Inputs:
Currency Type = 1
Currency Amount = 50
Expected Output:
US Dollar = 73.4

Test Case 2: Valid International Currency = Mexican
Inputs:
Currency Type = 2
Currency Amount = 60
Expected Output:
US Dollar = 570.51

Test Case 3: Valid International Currency = English
Inputs:
Currency Type = 3
Currency Amount = 65
Expected Output:
US Dollar = 106.8145

Test Case 4: Valid International Currency = Japanese
Inputs:
Currency Type = 4
Currency Amount = 70
Expected Output:
US Dollar = 7344.4

Test Case 5: Valid International Currency = E.U euro
Inputs:
Currency Type = 5
Currency Amount = 85
Expected Output:
US Dollar = 65.246

Test Case 6: Valid International Currency = Quit
Inputs:
Currency Type = 6
Expected Output:
End program

Conversion Error Testing

Test Case 1: Valid International Currency = Canadian
Inputs:
Currency Type = 1
Currency Amount = 0
Expected Output:
Invalid Amount

Test Case 2: Valid International Currency = Mexican
Inputs:
Currency Type = 2
Currency Amount = -150
Expected Output:
Invalid Amount

Test Case 3: Valid International Currency = English
Inputs:
Currency Type = 3
Currency Amount = 1,000,000,999
Expected Output:
Invalid Amount

Test Case 4: Valid International Currency = Japanese
Inputs:
Currency Type = 4
Currency Amount = -15
Expected Output:
Invalid Amount

Test Case 5: Valid International Currency = Euro
Inputs:
Currency Type = 5
Currency Amount = -300
Expected Output:
Invalid Amount

Output Testing
Test Case 1: Valid International

You May Also Find These Documents Helpful

  • 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

    Suppose that, instead of preparing a lump sum today, Mike will deposit a fixed amount of money every year for the next 12 years in the same bank account. The first deposit will start at the end of this year. How much amount must he deposit per year?…

    • 1422 Words
    • 7 Pages
    Good Essays
  • Good Essays

    It210 Week 4 Psuedocode

    • 584 Words
    • 3 Pages

    Program Pseudocode Currency_Convertor Main Module Delcare USDollars As Float Declare Rate1 As Float Declare Rate2 As Float Declare Rate3 As Float Declare Rate4…

    • 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
  • 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

    C3 Coursework

    • 2611 Words
    • 11 Pages

    In this coursework I am going to investigate numerical methods of solving equations. The methods I will use are:…

    • 2611 Words
    • 11 Pages
    Good Essays
  • Satisfactory Essays

    2. The graph shows the vertical displacement y, in centimeters, that a weight bouncing from a spring would achieve if there were no friction, for a given number of seconds, x.…

    • 252 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    | How should the cost of borrowing funds to acquire or construct property, plant, and equipment be accounted for under IASB rules, as revised in 2007?Answer…

    • 819 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 1 Test Part 2

    • 512 Words
    • 2 Pages

    2. Al and Ike decide to drive to Sandy Shores Lake. As they leave home in Summerville, they notice that the car odometer reads 12,544 miles. When they stop at Winterton to have lunch, they notice that the odometer reads 12,671 miles, and they see this road sign: Sandy Shores Lake 48 miles. What is the distance from Summerville to Sandy Shores Lake?…

    • 512 Words
    • 2 Pages
    Satisfactory 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
  • Satisfactory Essays

    Accounting Test 1

    • 504 Words
    • 6 Pages

    QUESTION 1 1. Annie's Attic has the following account balances for the dates given: Cash, Sept 1 $40,000 Cash, Sept 30 60,000 Accounts receivable, Sept 1 10,000 Accounts receivable, Sept 30 14,000 Owner's equity, Sept 1 ? Owner's equity, Sept 30 ? Supplies, Sept 1 30,000 Supplies Sept 30 24,000 Accounts payable, Sept 1 6,000 Accounts payable, Sept 30 ?…

    • 504 Words
    • 6 Pages
    Satisfactory Essays
  • Powerful Essays

    Finance 261 Mock Test

    • 2276 Words
    • 10 Pages

    Answer ALL questions. There are 20 questions each worth 1 mark. All questions carry equal marks. Formulae are included in Appendix 1. Calculators are permitted. Detach the answer sheet and fill in YOUR NAME and ID number Ensure that you hand in the answer sheet before you leave the room…

    • 2276 Words
    • 10 Pages
    Powerful Essays
  • Good Essays

    Part I: MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.…

    • 2582 Words
    • 11 Pages
    Good Essays
  • Good Essays

    econ 461 test 1

    • 3530 Words
    • 65 Pages

    Refer to the figure above. With free trade, the total value of imports would equal…

    • 3530 Words
    • 65 Pages
    Good Essays
  • Good Essays

    finc853

    • 912 Words
    • 4 Pages

    B. Suppose an American exporter has just received a payment of € 100,000, how many dollars will result upon conversion?…

    • 912 Words
    • 4 Pages
    Good Essays