Sie sind auf Seite 1von 17

Unit 12 - Assignment 3  

P4, M3 will be graded on your actual program. 

​ Test the program for the functionality using the test plan and against 
2C.P5​
the original requirements ​and repair any faults. 
 

For 2C.M4:​ learners should compile/run (depending on the programming language 


being used) and test their program ​using the test data ​(If you don’t use data in your 
test I can’t award you this)​.  

They should correct any errors found in the code and​ produce evidence to show 
any changes made to the program.  
 
Learners should work with others to obtain feedback on the quality and 
functionality of their program, and use this to improve the program. 
 
He wants 
 
● Good usability (labels changing based on which ​currency is being converted 
to​ is selected). E.g., If they are converting to Euros I want a Euro symbol next 
to the final answer 
● British Pounds being in either convert from or convert too in a transaction, he 
isn’t interested in the other possible transactions (e.g Euro to Yen) and if they 
have been selected that means there must have been an error. 
●  
 
Finally he would like the currency converter to: 
● Save a transaction to a text file 
● Calculate 0.5% of any conversion made, this represents the commision to 
travel shop charges for their business. This final figure should be what is 
displayed to the user, when a conversion is saved is should save the original 
conversion amount and the commission in the text file.  
 
Test details _Test  
 
In a separate document 
 

Part 2 
 
 
 

 
 
Explanation of what didn’t work and how it was fixed 
When converting from Pound to Yen and vice versa nothing 
appeared in the total box like it should have. It took me ages 
looking through the code to realise that I had used two different 
Yen signs in the code and the combo boxes so they did not 
match. There are two available  
Yen symbols that are really similar, once I changed the 
signs to match all the code, everything worked. 
 
Screen of what didn’t work  
 
 
 
 
 
 
Screen of the Application working 
 
 
Explanation of what didn’t work and how it was fixed 
I could not get the amount to have a maximum number of a 
million. What I had done wrong was to surround the number with 
speech marks which turned it into a string and not a number, 
once I had removed the speech marks it worked fine. 
 
 
Screen of what didn’t work  
 

 
 
 
 
 
 
 
Screen of the Application working 
 
 

 
 
 
 
 
 
 
 
 
 
 
 
 
Explanation of what didn’t work and how it was fixed 
The Help form would not load and I couldn’t understand why, 
looking at the code I had the value set to false instead of true, 
having it set to false makes the form invisible. I set it to true which 
made it visible and working fine. 
 
Screen of what didn’t work  

 
 
 
 
 
 
Screen of the Application working 

 
 

Part 3 - Feedback 
If your Peer reviewer gives you more than one thing to improve, You need to create 
more of these than the one I’ve got below. 
 
Notes my peer reviewer gave me specific to my Currency Converter. 
 
 
 

The above email is a recommendation from one of my peers, 


below I will show what they are on about and how I went about 
fixing it. 
 
Screens of Before
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

As you can see from the picture above you could click inside the 
drop down menu and delete the text inside 
 
Screen of After 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
I changed the combo boxes to a drop down list which grays them 
out as you can see in the picture, this means they cannot be 
edited. This gives the converter better usability because it does 
not allow the user to alter the combo box in anyway, it makes the 
selection of currencies easier to do without any mistakes being 
made. 

Part 4 
D4 ​-​For the D3 criterion i’m going to ask you to make all the changes to your 
form suggested by Gareth (See “Ass 3 tasks, criteria and teachers notes” for 
details) and Document them (Screens of your form and the text file 
afterwards) as well as a brief outline of what you did and how you did it and 
what the point of you doing it is from the company's perspective.  
 
Currency Symbols  
The pictures below show that when we are converting to a certain 
currency we have the currency symbol we are converting to 
before the total. This is important because it clearly shows the user 
the currency they are working with. This is good for the business 
because it will allow the business to have a record of the total with 
the correct symbol next to it when they come to saving the text 
file later on. 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Only convert to and from GBP 
 
 
 
 
 
 
 
 
 
 
If the user tries to convert something other than to or from GBP 
then this error comes up to say you cannot do it. This is because 
the company only wants to do this conversion. This will help if 
anyone gets confused and enters a conversion they are not 
allowed to do, they will get a clear message explaining what they 
have done wrong. 
 
Saving as a text file 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
First, the user can display the conversion into the text box, where 
they can add notes if they wish before saving, alternatively, they 
can keep adding each conversion throughout the day to the text 
box and save it at the end of the day. This is better than what the 
company was doing before because they had to cut and paste 
their conversion into a file which resulted in mistakes being made. 
This text box takes the conversion straight from the conversion so 
there are no human mistakes which save the company time and 
money. 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
When the user clicks save they get the option to save the file 
where they want and name it as they please. This gives the 
company full control over not only where but what the text file 
should be saved as. 
 
 
 
 
 
Commision 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
As the above picture shows there is a commission box to display 
what commision the company has earned for this transaction and 
then a box with the final amount after the commission has been 
deducted. This gives the user and customer a clear indication of 
what they have to pay and what they will receive. This is good 
because the customer is clear on what charges they will be 
paying and the company is clear on how much they are making 
for each transaction. 
 
 
 
 
 
 
  
 
 
 
 
 
 
 
 
 
 
The conversion is saved in a text file that clearly shows everything 
that is needed. 
 
Gareth's feedback: 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
What I changed: 
 
I added a new label to explain to 
people that the XE logo is actually 
a button that takes you to the XE 
website. It was not clear before. 
This makes the converter more 
efficient because it gives the user a clear indication of what the 
button does and gives them clear instructions to press it for the 
current rates. 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
I have added a message box that appears if the user presses 
display conversion when there is no conversion been made. I did 
this by entering an if statement into the code saying if the total 
box is empty which means a conversion has not been made then 
display the message box, else display the conversion. This makes 
the converter more reliable because it lets the user know that they 
have not made a conversion which is a mistake they may have 
made without realising.  
 
 

Das könnte Ihnen auch gefallen