Preview

It210 Week 6 Currency Conversion

Powerful Essays
Open Document
Open Document
1052 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
It210 Week 6 Currency Conversion
Jason Sparks April 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 Type >= 5 and Currency Type <=25 then
Set = false
Else if currency Type = 26
Display = Quitting Currency Conversion
Display = Error 4 Invalid Menu Selection
End Display Menu
Display Menu Test Produce
As the user is deciding which they would like to select an international currency type. When the user enters a number between 5 and 26 corresponding with a currency type, then the program is set to false. If 26 is selected the program displays “Quitting Currency Conversion.” But if the user does not enter a number between 5 and 26 the program displays “Error 4: Invalid Menu Selection” and the set it true.
Test Case 1
Input: user enters 5 for Canadian Dollars
Set = false
Test Case 2
Input: user enters 6 for Mexican Pesos
Set = false
Test Case 3
Input: user enters 7 for English Pounds
Set = false
Test Case 4
Input: use enters 8 for Japanese Yen
Set = false
Test Case 5
Input: user enters 9 for French Francs
Set = false
Test Case 6
Input: user enter 10 for Quit
Set = false
Test Case 7
Input: user enters 11
Output: display “Error 4: Invalid Menu Selection”
Set = true
Get International Value
Declare value as integer
Declare set as Boolean
Set = true
While = true
Display “Enter a currency value”
Input International Value
If International Value > 0 and International Value <=1000000
Set = false
Display “Error 1: Invalid Input- Negative Number”
Set = true
End if

You May Also Find These Documents Helpful

  • Powerful Essays

    4. The calculation should be executed only after all the valid input values are provided.…

    • 1488 Words
    • 6 Pages
    Powerful Essays
  • Powerful Essays

    If Currency Type >= 1 AND currency Type <= 5 then Set continue = false Else if currency Type = 6 Display “Quitting Currency Conversion” Continue = false Else Display “Error 1: Invalid menu selection.” Continue = true End If End While End Display Menu Get International Value Declare value as integer Declare continue as…

    • 1386 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    You are entering the currency converter Quit ? You are exiting the currency converter Get user input Yes No Calculate Foreign currency to dollars Display equal value U.S dollar amount End -------------------------------------------------…

    • 585 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    lower your attack surface, Windows 2008 Server Core would be installed on a group of your servers.…

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

    Write a 200- to 300-word response that answers the following: Based on the article by Nott (2008), what are some business uses for inserting a canvas within a Microsoft…

    • 652 Words
    • 3 Pages
    Good Essays
  • Good Essays

    It 244 Week 1 Checkpoint

    • 721 Words
    • 3 Pages

    Mark S Merkow, Jim Breithaupt. (2006). Information Security. Principles and Practices- Chapter 4. Retrieved from Mark S Merkow, Jim Briethaupt, IT244-Intro to IT Security.…

    • 721 Words
    • 3 Pages
    Good Essays
  • Better Essays

    Your company is deciding to expand to the following countries, and you and two other managers will have to visit these countries to set up operations. You have $1,500.00 to convert in each currency. The corresponding exchange amount is computed and shown in the following table.…

    • 1011 Words
    • 5 Pages
    Better 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
  • Satisfactory Essays

    moaclabsonline

    • 891 Words
    • 5 Pages

    5. Click Next to accept the default values for the Language to install, Time and currency format, and Keyboard or input method parameters. The Install now screen appears.…

    • 891 Words
    • 5 Pages
    Satisfactory Essays
  • Good Essays

    Nt1330 Unit 1 Quiz

    • 2196 Words
    • 9 Pages

    "To have Microsoft Excel always use a specific currency symbol, change the currency symbol selected in Regional Settings in Control Panel before you start Excel."…

    • 2196 Words
    • 9 Pages
    Good Essays
  • Satisfactory Essays

    The three dimensions to business problems are Organizational, Technological and People. With Organizational dimension comes outdated business processes, political conflict, complexity of task and inadequate resources to name a few. Technological dimension problem comes with outdated software, inadequate database capacity, rapid technological change and others. People dimension problems are lack of employee training, legal and regulatory compliance, indecisive management and lack of employee support and participation. Three dimensions in my current workplace are people; there is a lack of basic knowledge concerning applications such as Microsoft Office and in house database applications. Another example is Technology; there are workstations and servers that have been outdated for years, just as certain applications such as Adobe Acrobat and Microsoft Office are behind in versions. With the organization part, I have noticed there are many political issues between managers and employees there is a no respect for either party. To add, there is no a guideline or documentation on the procedures for tasks to be executed; this is when new employees arrive there is major chaos.…

    • 257 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    econ1000 testbank ch01

    • 11901 Words
    • 73 Pages

    C) the study of how producers decide what inputs to hire and what outputs to produce…

    • 11901 Words
    • 73 Pages
    Powerful Essays
  • Satisfactory Essays

    Chapter 8

    • 3515 Words
    • 18 Pages

    2) It is safe to say that most determinants of the spot exchange rate are also affected by changes in the spot rate. i.e., they are linked AND mutually determined.…

    • 3515 Words
    • 18 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Blade Case - Chapter 7

    • 798 Words
    • 4 Pages

    Determine whether the cross exchange rate between the Thai baht and Japanese yen is appropriate. If it is not appropriate, determine the profit you could generate for Blades Inc, by withdrawing $100,000 from Blades’ checking account and engaging in triangular arbitrage before the rates are adjusted.…

    • 798 Words
    • 4 Pages
    Satisfactory Essays