Recent Feedback
Generate a set of test inputs and expected results for the Currency Conversion program.
Hi, Please upload your program. Without your program it will be impossible to generate the tests inputs and outputs.
Main Module
Declare selection as integer
Declare currencyType as Integer
Declare internationalValue as real
Declare USValue as real
Do While user wants to continue
Display Menu
Get International Value
Convert Currency
Display Results
End loop
Print exit message
End Main Module
Declare continue as Boolean
Set continue = true
While continue = true
Display "Welcome to the international currency conversion program"
Display "Please make a selection"
Display "International Currency Types:"
Display "1: Canadian Dollars"
Display "2: Mexican Pesos"
Display "3: English Pounds"
Display "4: Japanese Yen"
Display "5: French Francs"
Display "6: Quit"
Display "Enter a selection:";
Input currencyType
If currencyType >= 1 AND currencyType <= 5 then
Set continue = false
else if currencyType = 6
Display "Quitting Currency Conversion"
continue = false
else
Display ""Error 4: Invalid menu selection."
continue = true
end if
end While
End Display Menu
Declare value as integer
Display "Enter a currency value (positive number): "
Input internationalValue
if internationalValue > 0 AND internationValue <=(NNN) NNN-NNNNthen
Display ""Error 1: Invalid input--Negative Number"
end while
End Get International Value
Declare rate as real
Select Case of currencyType
case 1:
Set rate = 1.4680
case 2:
Set rate = 9.5085
case 3:
Set rate = .6085
case 4:
Set rate = 104,9;
case 5:
Set rate = 6.2561
default:
Set rate = 0.0
End Case
USValue = rate * internationalValue
End Convert Currency
Declare nation as string
Declare currency as string
case CANADIAN:
nation = "Canadian";
currency = "Dollars";
case MEXICAN:
nation = "Mexican";
currency = "Pesos";
case ENGLISH:
nation = "English";
currency = "Pounds";
case JAPANESE:
nation = "Japanese";
currency = "Yen";
case FRENCH:
nation = "French";
currency = "Francs";
nation = "No country";
currency = "";
if currency <> "" then
Display "The value of ", internationalValue, " " , nation, " ", currency, " is ",
usValue, " dollars"
Display "Error 5: Invalid currency type."
End Display Results
Ok. I will post my answer within a couple of hours.
I really appreciate your help! I have been sick and I am so lost in this class! Please let me know if there is anything else you need from me! I am not even sure if that code is correct.
Ok. I will take care of the code too. An initial glance indicates a lot of errors,
I am suppose to have 3 "display menu" test cases, 4 Get_Int_Value Test, 6 Convert Currency Test, 6 Display Results Test Cases, and 3 Currency Conversion Integration Test. These can be presented in a table. Hope this helps!
Ok. I would like you to upload your original question.(not the program) Also i hope you don't mind adding some bonus for the efforts involved.
Assignment: Currency Conversion Test Procedure
Objective of Assignment: Generate a set of test inputs and expected results for the Currency Conversion program.
Display Menu Test Cases12 Points Possible
Points Possible
Points Earned
Comments
Test Case 1:
4
Test Case 2:
Test Case 3:
Get_Int_Value Test16 Points Possible
Test Case 4:
Convert Currency Test 24 Points Possible
Test Case 5:
Test Case 6:
Display Results Test Cases24 Points Possible
Currency Conversion Integration Test14 Points Possible
5
OF COURSE!!! Bonus for SURE!!!
This is your present assignment.Right? I will do it ina tabular format. But i need the question for which you have wrote the Currency Conversion program/pseudocode.
I am not sure that I understand what you are looking for. Here is the original assignment for the currency conversion:
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 convert the foreign currency to dollars. The program displays the equivalent dollar amount and returns the user to the menu until he or she enters another conversion or quits the program.
International currency type (menu selection)
That is what all of this is suppose to lead to! However, I am affraid that one too many pills has made me completely lose my mind!!
Yes this exactly what i wanted the problem statement. Hope you have got some time for this assignment.
I make time!!! Don't worry!! BIG bonus for your help!!!
Hi Livesaver! How is it coming?
Hi there, Everything is fine.I will post the code and test table within the next 2 to 3 hours.
AWESOME! Will everybody be able to see this answer?
yes but you i will delete the answers after you receive them or you can also close this question after receiving the answer,.
Your pseudcode and test cases are complete.I have uplaoded both the word documents to a single zipped folder.CLICK HERE! to downlaod the answers.Hope this helps.Best regards,lifesaver
Good Morning,
THANK YOU!! THANK YOU!!!! THANK YOU!!! A couple of questions, if I close this, am I able to reopen this again to get the files? Also, is this the final pseudocode? Lastly, there is part of the test cases missing:
Good Morning. I would like you to wait for about 20 minutes before closing the question as i am not sure if you can reopen it. I will answer the remain test cases within few minutes. Also the pseudocode provided is complete and final.
OMG!!! You are my new hero!!!
There wasn't a major mistake in the test cases.A minor one. i combined the results of test cases of Convert_Currency Module Display Results module together.Convert_Currency Module function is to simply convert the valuesDisplay Results module function is to simply display the results.I converted and then showed the value together in one step instead of two.Anyway HERE!!! goes your final answer.You can now close the question after you accept my answer.Thanks.Hope this helps.lifesaver40021.5313226042
Experience: Several years of intensive programming and application development experience in various platforms.
Greetings,
Thank you so much! I just wanted to know if you got the bonus? Also, how do I close this question?
Thanks again!
Yes,I got the money and the bonus.Thanks. Don't worry.I will close the question.
Do you still have the code that you did for this question? I have a second part to it that I need some help with. I will open another question, but I just want to know if you still have the coding that you did.
Yes i do...
GREAT!! Do I need to open a new question for this, or post it here? It is due on Wednesday.
If its related to this question you can post it here itself.
It is related. I need the below information for the code that you created:
Application-Level RequirementsAt least 5 key requirements identified and describedInput Process Output Table4 inputs identified4 processes identified3 outputs identifiedDesignHierarchy chart w/5 modulesFlowchart for each modulePseudocode for each module (this is what you already did)Test cases for the program (this is what you already did)
Ok i will take a look at this latter.My first target is to finish you other assignment within the next two hours atleast.
Hi! I hope all is well! Is this something you are still working on for me?
Yes.Sure/I was ill and i couldn't finish your work.THough i am still recovering,Please give me two hours.I will do my job.
NO!! Please rest! Your health is much more important!!
Thank you but job is job.ANyway,i went to my friend whi is a doc and his medicine has worked.I can atleast work now.Full recovery will still require some time but i am in a posiition to complete your work now..I ahve already completed the application level requirements
Well how about a compromise? Let's plan on having it ready on Friday? Is that fair? I need you well! This is only my first computer class!
Thanks.I will go back to rest.I will complete the work befored thursday night..
Good Morning! How are you feeling? I spoke to customer service and I will be able to make sure you are paid for your help with this. Thanks again!
Feeling great now.DIdnot expect that i would recover so soon.Your work is almost complete.Application-Level Requirements(complete)At least 5 key requirements identified and describedInput Process Output Table(complete)4 inputs identified4 processes identified3 outputs identifiedDesignHierarchy chart w/5 modules(complete)Flowchart for each module(2 modules remaining)I would have completed it now but i have to go out now.I need 2 to 3 hours more to complete the remaining flowcharts.Hope its Ok with you?lifesaver40039.4836412037
That is great! I will be back online this evening! Hope that works for you! I am glad you are feeling better!
Syre.Your answer will be ready in 2 to 3 hours from now..
Eveything is complete now.I ahve uploaded all the parts to a single zipped folder.CLICK HERE! to downloadLet me know if you face any problems downloading the files.
Hi! Thank you for everything! I am waiting on a refund from this site to go through. Once it is done, I want to add a bonus for you. Thank you for all of your hard work!
Thanks. Take your own time and authorize the payment at your will.