Sei sulla pagina 1di 5

Task 2a Read the scenario and describe what is the purpose of the program:

P2
150 words
minimum

The purpose of this program is to allow the client to load up the program and type
an input, this input shall be a certain amount of money in which the client needs to
enter into the program, it will then ask for the client to type a new input, this input
will be classed as the “exchange rate” which will then convert the said amount of
money to the other currency, it will also need to do the same thing in reverse, by
converting a different currency back into UK Pounds to do this

Task 2b P3 Produce a design for a program, including:

This business had stated that they were having issues with converting money
other to different currency’s so I am making a program that will solve this issue
by converting it for them, this will be able by entering the amount of money that
is needed, and then entering the exchange rate, which will then give an output
which shall be the answer.

Inputs:

Information to be What I will call it What type of


input information will I use it
as
Integer, Float or String
The amount of money Money Float
entered.
The exchange rate Exrate Float
entered.

Outputs:

Information to be What I will call it What type of


output information will I use it
as
Integer, Float or String
The answer to the Anrate float
converted money
Process – what I will do to the inputs to create the output:
The amount of money will be multiplied by the exchange rate, which will then be
shown by the “anrate”
Your suggestion for a solution:
My program will…

Allow the clients to convert the currency just by entering the amount of money,
and the exchange rate to get it converted, it will be quick, easy and simple to
use.

a list of any pre-defined functions/subroutines (command words?)


Print, input and float will show a message when the “anrate” is shown at the end
of the script, it makes the program seem more user friendly.

Test Plan
How can I test the program runs the way I want it to (what should I look for)?
I am going check all the code to make sure there are no errors within it.

How can I test the program gives the answers I expect (what should I look for)?

This is my test plan:

What I am Values I will use Expected result Actual Result


checking /action taken if
necessary
Does the program The program Yes the program
open? opens opens
Does the program The program Yes the program
close? closes, closes.
Are the Money =4 2 Yes they are
calculations Exrate =0.5
correct?
Is the “money” 23.2 23.2 It is working
input working
Is the “Exrate” 0.4 0.4 This is working.
input working
Is the “anrate” It shows the It does show the
output working? answer. answer.

Task 2b
cont. M2 Use a range of design tools to explain your solution. So:
Explain in pseudocode how the program will work:

Paste in here an image of your flowchart

2 other ways I could solve this problem are:


And:

Ensure your test data is completed fully above

Task 2c These are the reasons why I have decided to go with this solution, including the
D2 ways that this solution fulfils the purpose and user requirements I identified in Task
(Minimum 2a (P2)
500 words)

These are the constraints/difficulties I have found:

Task 3a Develop your program.:


P4
 Be careful about the user interface (how the user interacts with the
program)
 Make sure it works
 Write comments throughout to explain what is happening through the
program.

M3 Develop a fully functional program that meets the given brief.


Task 3b
P5 Test the program for functionality. Copy your test table here (from task 2b above),
then complete the results column:

Copy test plan here (from 2b) and complete:

Task 3b As well as the test data in gathering feedback from others.


M4 I have talked to (2 people):………………………………….
400 word
minimum My reviewers said that the usability of the program….

My Reviewers said that the quality of the program …

I have improved the program by and fixed these faults:

D3 Refine the software program, taking account of the quality of the code and user
feedback. Explain here and show evidence (screen prints) of the changes you
have made to make this program, including considering maintainability, usability
and portability (minimum 500 words)

Potrebbero piacerti anche