Asked by Mr Buckley916
3. Exercise: Peer Reviews of Currency Conversion Test Procedure
• Perform peer reviews of two classmates’ Currency Conversion Test Procedures, which your instructor will place in your Individual forum on Day 1.
•Complete the Appendix K form for each of the peer reviews.
•Post the completed Appendix K forms in your Individual forum as an attachment
If the answer to the item question is yes, put an X next to that item under the Yes column. If the answer is no, please add details next to that item under the respective Comments column.
APPEDIX C QUESTIONS>>>>>>>
Is the problem description clear, concise, and accurate?
Are the inputs to the program identified?
Are the outputs to the program identified?
Does the test input result in the expected output?
>>>>>>>
PEER REVIEWS
1)
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 = 2
Expected Outputs:
“Do you want to quit with the conversion, Y = Yes, N = No”
Currency Type = 2
Test Case 3: Invalid Menu Selection = 9
Inputs: Menu Selection = 9
Expected Output:
“Invalid Menu Selection”
Currency Type = 3
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 = 0.0
Test Case 3: Invalid International Value = -15
Inputs: -15
Expected Outputs:
International Value = Invalid
Test Case 4: Illegal International Value = character input
Inputs: A
Expected Outputs:
International Value = Illegal
Convert Currency Test
Test Case 1: Valid International Currency = Canadian
Inputs:
Currency Type = 1
Int. Value = 100.0
Expected Output:
U.S. Value = 99.39
Test Case 2: Valid International Currency = Mexican
Inputs:
Currency Type = 1
Int. Value = 100.0
Expected Output:
U.S. Value = 8.20
Test Case 3: Valid International Currency = English
Inputs:
Currency Type = 1
Int. Value = 100.0
Expected Output:
U.S. Value = 133.84
Test Case 4: Valid International Currency = Japanese
Inputs:
Currency Type = 1
Int. Value = 100.0
Expected Output:
U.S. Value = 1.07
Test Case 5: Valid International Currency = French
Inputs:
Currency Type = 1
Int. Value = 100.0
Expected Output:
U.S. Value = 133.84
Test Case 6: Invalid International Currency = 6
Inputs:
Currency Type = 6
Expected Output:
“Invalid Entry: Try Again, Y = Yes, N = No”
Display Results Test Cases
Test Case 1: Valid International Currency = Canadian
Inputs:
Currency Type = 1
Int. Value = 100.0
U.S. Value = 99.39
Expected Output:
The value of 100.0 Canadian dollars is 99.39 U.S. dollars
Test Case 2: Valid International Currency = Mexican
Inputs:
Currency Type = 1
Int. Value = 100.0
U.S. Value = 8.20
Expected Output:
The value of 100.0 Mexican dollars is 8.20 U.S. dollars
Test Case 3: Valid International Currency = English
Inputs:
Currency Type = 1
Int. Value = 100.0
U.S. Value = 133.84
Expected Output:
The value of 100.0 English dollars is 133.84 U.S. dollars
Test Case 4: Valid International Currency = Japanese
Inputs:
Currency Type = 1
Int. Value = 100.0
U.S. Value = 1.07
Expected Output:
The value of 100.0 Japanese dollars is 1.07 U.S. dollars
Test Case 5: Valid International Currency = French
Inputs:
Currency Type = 1
Int. Value = 100.0
U.S. Value = 133.84
Expected Output:
The value of 100.0 French dollars is 133.84 U.S. dollars
Test Case 6: Invalid International Currency = 6
Inputs:
Currency Type = 6
Expected Output:
“Invalid Entry: Try Again, Y = Yes, N = No”
Currency Conversion Integration Test
Test Case 1: Valid Selection = Canadian
Inputs:
Currency Type = 1
Int. Value = 100.0
U.S. Value = 99.39
Expected Output:
The value of 100.0 Canadian dollars is 99.39 U.S. dollars
Test Case 2: Valid Selection = Quit
Input:
Menu Selection = 2
Expected Output:
“Do you want to quit with the conversion, Y = Yes, N = No”
Currency Type = 2
Test Case 3: Illegal Currency Amount
Inputs:
Currency Type = 1
Int. Value = 10.0
U.S. Value = 20.76
Expected Output:
“Invalid Entry: Try Again, Y= Yes, N = No”
HERE IS NUMBER 2)
Assignment: Currency Conversion Test Procedure
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 Output
“Do you want to quit the currency conversion, Y = Yes, N = No” Currency_Type = 6
Test Case 3: Invalid Menu Selection = 9
Inputs: Menu Selection = 9
Expected Outputs:
“Error 4: Invalid menu selection”
“Please re-enter selection”
Currency_Type = 9
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 = 0.0
Test Case 3: Invalid International value = -15
Inputs: -15
Expected Outputs: Error 1: Invalid input--Negative Number
Test Case 4: Illegal International value = character input
Inputs: C
Expected Outputs: Error 2: Invalid input -- Character
Convert Currency Test
Test Case 1: Valid International Currency = Canadian
Inputs:
Currency_Type = 1
Int_Value = 100.0
Expected Output:
U.S._Value = 68.12
Test Case 2: Valid International Currency = Mexican
Currency_Type = 2
Int_Value = 100.0
Expected Output:
U.S._Value = 10.52
Test Case 3: Valid International Currency = English
Currency_Type = 3
Int_Value = 100.0
Expected Output:
U.S._Value = 270.05
Test Case 4: Valid International Currency = Japanese
Currency_Type = 4
Int_Value = 100.0
Expected Output:
U.S._Value = 0.953
Test Case 5: Valid International Currency = French
Currency_Type = 5
Int_Value = 100.0
Expected Output:
U.S._Value = 15.98
Test Case 6: Invalid International Currency = 6
Currency_Type = 6
Int_Value = null?
Expected Output:
U.S._Value = null
Display Results Test Cases
Test Case 1: Valid International Currency = Canadian
Inputs:
Currency_Type = 1
Int_Value = 100.0
U.S._Value = 68.12
Expected Output:
The value of 100.0 Canadian dollars is 68.12 U.S. dollars
Test Case 2: Valid International Currency = Mexican
Inputs:
Currency_Type = 2
Int_Value = 100.0
U.S._Value = 10.52
Expected Output:
The value of 100.0 Mexican pesos is 10.52 U.S. dollars
Test Case3: Valid International Currency = English
Inputs:
Currency_Type = 3
Int_Value = 100.0
U.S._Value = 270.06
Expected Output:
The value of 100.0 English pound is 270.06 U.S. dollars
Test Case 4: Valid International Currency = Japanese
Inputs:
Currency_Type = 4
Int_Value = 100.0
U.S._Value = 0.95
Expected Output:
The value of 100.0 Japanese yen is 0.95 U.S. dollars
Test Case 5: Valid International Currency = French
Inputs:
Currency_Type = 5
Int_Value = 100.0
U.S._Value = 15.98
Expected Output:
The value of 100.0 French francs is 15.98 U.S. dollars
Test Case 6: Invalid International Currency = 6
Inputs:
Currency_Type = 6
Int_Value = null
U.S._Value = null
Expected Output:
The international and U.S. value is null
Currency Conversion Integration Test
Test Case 1: Valid Selection = Canadian
Inputs:
Currency_Type = 1
Int_Value = 100.0
U.S._Value = 68.12
Expected Output
The value of 100.0 Canadian dollars is 68.12 U.S. dollars
Test Case 2: Valid Selection = Quit
Inputs:
Currency_Type = 6
Int_Value = null
U.S._Value = null
Expected Output
“Quitting Currency Conversion”
Test Case 3: Illegal Currency Amount
Inputs:
Currency_Type = 9
Int_Value = null
U.S._Value = null
Expected Output
Error 6: Illegal currency amount
Quit or re-enter your selection
• Perform peer reviews of two classmates’ Currency Conversion Test Procedures, which your instructor will place in your Individual forum on Day 1.
•Complete the Appendix K form for each of the peer reviews.
•Post the completed Appendix K forms in your Individual forum as an attachment
If the answer to the item question is yes, put an X next to that item under the Yes column. If the answer is no, please add details next to that item under the respective Comments column.
APPEDIX C QUESTIONS>>>>>>>
Is the problem description clear, concise, and accurate?
Are the inputs to the program identified?
Are the outputs to the program identified?
Does the test input result in the expected output?
>>>>>>>
PEER REVIEWS
1)
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 = 2
Expected Outputs:
“Do you want to quit with the conversion, Y = Yes, N = No”
Currency Type = 2
Test Case 3: Invalid Menu Selection = 9
Inputs: Menu Selection = 9
Expected Output:
“Invalid Menu Selection”
Currency Type = 3
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 = 0.0
Test Case 3: Invalid International Value = -15
Inputs: -15
Expected Outputs:
International Value = Invalid
Test Case 4: Illegal International Value = character input
Inputs: A
Expected Outputs:
International Value = Illegal
Convert Currency Test
Test Case 1: Valid International Currency = Canadian
Inputs:
Currency Type = 1
Int. Value = 100.0
Expected Output:
U.S. Value = 99.39
Test Case 2: Valid International Currency = Mexican
Inputs:
Currency Type = 1
Int. Value = 100.0
Expected Output:
U.S. Value = 8.20
Test Case 3: Valid International Currency = English
Inputs:
Currency Type = 1
Int. Value = 100.0
Expected Output:
U.S. Value = 133.84
Test Case 4: Valid International Currency = Japanese
Inputs:
Currency Type = 1
Int. Value = 100.0
Expected Output:
U.S. Value = 1.07
Test Case 5: Valid International Currency = French
Inputs:
Currency Type = 1
Int. Value = 100.0
Expected Output:
U.S. Value = 133.84
Test Case 6: Invalid International Currency = 6
Inputs:
Currency Type = 6
Expected Output:
“Invalid Entry: Try Again, Y = Yes, N = No”
Display Results Test Cases
Test Case 1: Valid International Currency = Canadian
Inputs:
Currency Type = 1
Int. Value = 100.0
U.S. Value = 99.39
Expected Output:
The value of 100.0 Canadian dollars is 99.39 U.S. dollars
Test Case 2: Valid International Currency = Mexican
Inputs:
Currency Type = 1
Int. Value = 100.0
U.S. Value = 8.20
Expected Output:
The value of 100.0 Mexican dollars is 8.20 U.S. dollars
Test Case 3: Valid International Currency = English
Inputs:
Currency Type = 1
Int. Value = 100.0
U.S. Value = 133.84
Expected Output:
The value of 100.0 English dollars is 133.84 U.S. dollars
Test Case 4: Valid International Currency = Japanese
Inputs:
Currency Type = 1
Int. Value = 100.0
U.S. Value = 1.07
Expected Output:
The value of 100.0 Japanese dollars is 1.07 U.S. dollars
Test Case 5: Valid International Currency = French
Inputs:
Currency Type = 1
Int. Value = 100.0
U.S. Value = 133.84
Expected Output:
The value of 100.0 French dollars is 133.84 U.S. dollars
Test Case 6: Invalid International Currency = 6
Inputs:
Currency Type = 6
Expected Output:
“Invalid Entry: Try Again, Y = Yes, N = No”
Currency Conversion Integration Test
Test Case 1: Valid Selection = Canadian
Inputs:
Currency Type = 1
Int. Value = 100.0
U.S. Value = 99.39
Expected Output:
The value of 100.0 Canadian dollars is 99.39 U.S. dollars
Test Case 2: Valid Selection = Quit
Input:
Menu Selection = 2
Expected Output:
“Do you want to quit with the conversion, Y = Yes, N = No”
Currency Type = 2
Test Case 3: Illegal Currency Amount
Inputs:
Currency Type = 1
Int. Value = 10.0
U.S. Value = 20.76
Expected Output:
“Invalid Entry: Try Again, Y= Yes, N = No”
HERE IS NUMBER 2)
Assignment: Currency Conversion Test Procedure
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 Output
“Do you want to quit the currency conversion, Y = Yes, N = No” Currency_Type = 6
Test Case 3: Invalid Menu Selection = 9
Inputs: Menu Selection = 9
Expected Outputs:
“Error 4: Invalid menu selection”
“Please re-enter selection”
Currency_Type = 9
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 = 0.0
Test Case 3: Invalid International value = -15
Inputs: -15
Expected Outputs: Error 1: Invalid input--Negative Number
Test Case 4: Illegal International value = character input
Inputs: C
Expected Outputs: Error 2: Invalid input -- Character
Convert Currency Test
Test Case 1: Valid International Currency = Canadian
Inputs:
Currency_Type = 1
Int_Value = 100.0
Expected Output:
U.S._Value = 68.12
Test Case 2: Valid International Currency = Mexican
Currency_Type = 2
Int_Value = 100.0
Expected Output:
U.S._Value = 10.52
Test Case 3: Valid International Currency = English
Currency_Type = 3
Int_Value = 100.0
Expected Output:
U.S._Value = 270.05
Test Case 4: Valid International Currency = Japanese
Currency_Type = 4
Int_Value = 100.0
Expected Output:
U.S._Value = 0.953
Test Case 5: Valid International Currency = French
Currency_Type = 5
Int_Value = 100.0
Expected Output:
U.S._Value = 15.98
Test Case 6: Invalid International Currency = 6
Currency_Type = 6
Int_Value = null?
Expected Output:
U.S._Value = null
Display Results Test Cases
Test Case 1: Valid International Currency = Canadian
Inputs:
Currency_Type = 1
Int_Value = 100.0
U.S._Value = 68.12
Expected Output:
The value of 100.0 Canadian dollars is 68.12 U.S. dollars
Test Case 2: Valid International Currency = Mexican
Inputs:
Currency_Type = 2
Int_Value = 100.0
U.S._Value = 10.52
Expected Output:
The value of 100.0 Mexican pesos is 10.52 U.S. dollars
Test Case3: Valid International Currency = English
Inputs:
Currency_Type = 3
Int_Value = 100.0
U.S._Value = 270.06
Expected Output:
The value of 100.0 English pound is 270.06 U.S. dollars
Test Case 4: Valid International Currency = Japanese
Inputs:
Currency_Type = 4
Int_Value = 100.0
U.S._Value = 0.95
Expected Output:
The value of 100.0 Japanese yen is 0.95 U.S. dollars
Test Case 5: Valid International Currency = French
Inputs:
Currency_Type = 5
Int_Value = 100.0
U.S._Value = 15.98
Expected Output:
The value of 100.0 French francs is 15.98 U.S. dollars
Test Case 6: Invalid International Currency = 6
Inputs:
Currency_Type = 6
Int_Value = null
U.S._Value = null
Expected Output:
The international and U.S. value is null
Currency Conversion Integration Test
Test Case 1: Valid Selection = Canadian
Inputs:
Currency_Type = 1
Int_Value = 100.0
U.S._Value = 68.12
Expected Output
The value of 100.0 Canadian dollars is 68.12 U.S. dollars
Test Case 2: Valid Selection = Quit
Inputs:
Currency_Type = 6
Int_Value = null
U.S._Value = null
Expected Output
“Quitting Currency Conversion”
Test Case 3: Illegal Currency Amount
Inputs:
Currency_Type = 9
Int_Value = null
U.S._Value = null
Expected Output
Error 6: Illegal currency amount
Quit or re-enter your selection
Answers
There are no human answers yet.
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.