This ione class that I am not doing so great in and have been very confused from day 1 any help would be greatly appreciated, as I am at risk of failure??!?!?!
1 Canadian Dollar 1 US Dollar = 1.468 Canadian Dollar
2 Mexican Peso 1 US Dollar = 9.5085 Mexican Peso
3 English Pound 1.6433 US Dollar = 1 English Pound
4 Japanese Yen 1 US Dollar = 104.92 Japanese Yen
5 French Franc 1 US Dollar = 6.2561 French Franc
1. Identify the program statements that are executed regardless of the value of X. [Hint: these are sequential statements that are not within a decision structure.
2. What will be printed if 65 is entered from the Input X statement?
3. What will be printed if 81 is entered from the Input X statement?
4. There are two errors within this program? What are they?
5. Provide three input test values that test the normal operation of this program segment. Please use actual values.
6. Provide two input test values that test the abnormal operation of this program segment. Please use actual values.
1. Test Cases for Display Menu Module
Test Case 1: Valid CurrencyType
Input:
CurrencyType = 1 (Canadian)
Expected Output:
CurrencyType = 1
Test Case 2: Valid CurrencyType
Input:
CurrencyType = <enter here>
Expected Output:
<enter here>
Test Case 2: Invalid CurrencyType
Input:
CurrencyType = <enter here>
Expected Output:
<enter here>
2. Test Cases for Get Input Module
Test Case 1: Valid CurrencyValue
Input:
CurrencyValue = <enter here>
Expected Output:
CurrencyValue = <enter here>
Test Case 2: Invalid CurrencyValue
Input:
CurrencyValue = <enter here>
Expected Output:
<enter here>
3. Test Cases for Convert Currency Module
Test Case 1: Conversion #1
Input:
CurrencyType = <enter here>
CurrencyValue = <enter here>
Expected Output:
<enter here>
Test Case 2: Conversion #2
Input:
CurrencyType = <enter here>
CurrencyValue = <enter here>
Expected Output:
<enter here>
4. Test Cases for Display Results Module
Test Case 1: Results #1
Input:
Nation = <enter here>
Currency = <enter here>
CurrencyValue = <enter here>
USDollars = <enter here”
Expected Output:
<enter here>
Test Case 2: Results #2
Input:
Nation = <enter here>
Currency = <enter here>
CurrencyValue = <enter here>
USDollars = <enter here>
Expected Output:
<enter here>
arose523 0 Newbie Poster
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.