Preview

Assignment: Currency Conversion Test Procedure Essay Example

Satisfactory Essays
Open Document
Open Document
585 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Assignment: Currency Conversion Test Procedure Essay Example
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 4: Please make a valid menu selection” “Hit any character or number to continue”
Menu is redisplayed

Get_Int_Value Test

Test Case 1: Valid International Value = 100.0 Inputs: 100.0 Expected Outputs:
International Value = 100.0

Test Case 2: Valid International Value = 0.0 Inputs: 0.0 Expected Outputs:
International Value = 00.0

Test Case 3: Invalid International Value = -15 Inputs: -15 Expected Outputs:
Error 1: Invalid input—Negative Number
Strike any character or numeric key to continue

Test Case 4: Illegal International value = character input
Input: ”L”
Expected Outputs:
Error 2: Illegal Input, Strike any character or numeric key to continue Convert Currency Test

Test Case 1: Valid International Currency = Canadian Inputs: Currency_Type = 1 Int_Value = 100.0 Expected Output:
U.S._Value = 104.67

Test Case 2: Valid International Currency = Mexican Inputs: Currency_Type = 2 Int_Value = 100.0 Expected Output:
U.S._Value = 8.52

Test Case 3: Valid International Currency = Euro Inputs: Currency_Type = 3 Int_Value = 100.0 Expected Output:
U.S._Value = 144.82

Test Case 4: Valid International Currency = Japanese Inputs: Currency_Type = 4 Int_Value = 100.0 Expected Output:
U.S._Value = 1.18

Test Case 5: Valid International Currency = Chinese Inputs: Currency_Type = 5 Int_Value = 100.0 Expected Output:
U.S._Value = 15.30

Test Case 6: Invalid International

You May Also Find These Documents Helpful

  • Satisfactory Essays

    A. Firms with lower effective tax rates were found to have a higher proportion of leased debt to total assets than did firms with higher effective tax rates. Some lease agreements are in-substance long-term installment purchases of assets that have been structured to gain tax or other benefits to the parties. Since leases may take different forms, it is necessary to examine the underlying nature of the original transaction to determine the appropriate method of accounting for these agreements. That is, they should be reported in a manner that describes the intent of the lessor and lessee rather than the form of the agreement.…

    • 621 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    MGT 370 Test 3

    • 368 Words
    • 2 Pages

    Question 6. 6. In its absolute form, the exchange rate determination theory of Purchasing Power Parity: (Points : 1)…

    • 368 Words
    • 2 Pages
    Good Essays
  • Good Essays

    For this week’s Assignment we are given a word problem involving buried treasure and the use of the Pythagorean Theorem. We will use many different ways to attempt to factor down the three quadratic expressions which is in this problem. The problem is as, ““Ahmed has half of a treasure map, which indicates that the treasure is buried in the desert 2x + 6 paces from Castle Rock. Vanessa has the other half of the map. Her half indicates that to find the treasure, one must get to Castle Rock, walk x paces to the north, and then walk 2x + 4 paces to the east. If they share their information, then they can find x and save a lot of digging. What is x?”…

    • 1180 Words
    • 5 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

    In this assignment, I will be describing the different types of customers you may meet at a superstore and writing about their needs and expectations.…

    • 830 Words
    • 4 Pages
    Good 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

    PRG/420 Week 3

    • 1025 Words
    • 5 Pages

    /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package commission2; import java.lang. *; import java.text. DecimalFormat; import java.util.…

    • 1025 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    He needed to report done by a specific day but did not allow time to complete.…

    • 408 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    With this economic downturn we have had to deal with lay offs which has affected our unemployment rate. We went from a company that usually has about a 3.5% unemployment rate to a company that has over a 6% unemployment rate. This has caused us to have to pay…

    • 760 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    The business cycle includes the tendency for output to rise and fall in the short term. When output fluctuates around an economy's secular trend, business cycles occur.…

    • 1024 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    Interest rates is the percentage that is adding to principal amount being borrowed. Our economy has businesses that are started by investors that have capitol to lend for a cost. Businesses need to lease buildings, buy products to have on hand, and pay staff to operate the business. Small businesses have more short-term interest rates that are more appealing to investors to stand behind with less risk. It depends on how the economy views the uncertainties that will determine how they will react to business plans that are presented to them to invest in. The interest rate this year has been the highest ever on record observed by the Federal Open Market Committee. The average rate from 1980 until 2012 is 6.3 and the economy has lowered some rates to open up some doors for the United States to grow. The (FMOC) decides the best interest rate to keep an even flow in our economy to grow an prosper to consider the best future for the citizens of our country. Some investor gamble on how the rates are going to rise or fall over a period of time when considering what investment will be the best to take interest in to make profits.…

    • 658 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    The BUSN115 final exam is 3 pages long. It is a timed exam worth 250 points that you may enter only once. You have 3.5 hours to complete the exam. It consists of 30 multiple choice questions worth 5 points each. There are 5 essay questions worth 20 points each. Be sure to save and save often while you are working on the exam, and submit the exam when you are finished.…

    • 1361 Words
    • 6 Pages
    Satisfactory Essays
  • Powerful Essays

    B. It shows the amount consumers are willing and able to purchase at various prices, holding other factors constant.…

    • 3766 Words
    • 16 Pages
    Powerful Essays
  • Good Essays

    What is the "current macroeconomic situation" in the U.S. (e.g. is the U.S. economy currently concerned about unemployment, inflation, recession, etc.)? What fiscal policies and monetary policies would be appropriate at this time?…

    • 621 Words
    • 3 Pages
    Good Essays